{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_pnm4tg84wwef","handle":"code-context-mcp","url":"https://wellknown.network/agents/code-context-mcp","links":{"self":"https://wellknown.network/agents/code-context-mcp/record.json","html":"https://wellknown.network/agents/code-context-mcp","markdown":"https://wellknown.network/agents/code-context-mcp/record.md","api":"https://wellknown.network/api/v1/agents/code-context-mcp","status":"https://wellknown.network/api/v1/agents/code-context-mcp/status","claim":"https://wellknown.network/agents/code-context-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/code-context-mcp/claim.json","badge":"https://wellknown.network/agents/code-context-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/code-context-mcp/history","tools":"https://wellknown.network/api/v1/agents/code-context-mcp/tools"},"ard":{"identifier":"urn:air::server:code-context-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"code-context-mcp","summary":"MCP server with local RAG for Claude Code repo context","description":"# code-context\n\n[![PyPI](https://img.shields.io/pypi/v/code-context-mcp.svg)](https://pypi.org/project/code-context-mcp/)\n[![CI](https://github.com/nachogeinfor-ops/code-context/actions/workflows/ci.yml/badge.svg)](https://github.com/nachogeinfor-ops/code-context/actions/workflows/ci.yml)\n[![Python](https://img.shields.io/pypi/pyversions/code-context-mcp.svg)](https://pypi.org/project/code-context-mcp/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n\n> **Status: stable (v1.0.0).** A Python MCP server with local RAG\n> for [Claude Code](https://docs.claude.com/claude-code).\n> Implements the [`code-context` Tool Protocol](https://github.com/nachogeinfor-ops/context-template/blob/main/docs/tool-protocol.md)\n> v1.2 defined by [`context-template`](https://github.com/nachogeinfor-ops/context-template).\n\n## What it does\n\nWhen you point Claude Code at a repo, you give it `CLAUDE.md` for static context. `code-context` adds **dynamic context** via 7 MCP tools:\n\n- **`search_repo(query, top_k?, scope?)`** — **hybrid retrieval** across the codebase: vector embeddings (semantic) fused with BM25 keyword search (exact identifiers) via Reciprocal Rank Fusion. Optional cross-encoder reranking (off by default — enable with `CC_RERANK=on`).\n- **`recent_changes(since?, paths?, max?)`** — recent git commits, optionally filtered.\n- **`get_summary(scope?, path?)`** — structured project summary (name, stack, key modules, stats).\n- **`find_definition(name, language?, max?)`** — locate where a symbol (function, class, method, type) is defined. Use INSTEAD of `Grep` for `def X` / `class X` / `function X` patterns. Returns repo-relative paths with line ranges and the symbol's kind (function, class, method, interface, struct, enum, record). For Markdown files, also finds doc sections by heading text (kind = `section`).\n- **`find_references(name, max?)`** — list every line mentioning a named symbol. Use INSTEAD of `grep -n \"X\"` when the user asks \"who calls X?\" or…","publisher":{"name":"code-context contributors","url":null},"homepage":"https://github.com/nachogeinfor-ops/code-context#readme","repository":"https://github.com/nachogeinfor-ops/code-context/blob/main/CHANGELOG.md","version":"2.0.6.1","license":"MIT","protocols":["mcp"],"tags":["claude-code","mcp","rag","developer-tools"],"pricing":null,"endpoints":[{"url":"pypi:code-context-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[{"slug":"data.vector-search","name":"Vector Search","confidence":1,"provenance":"declared"},{"slug":"dev.docs-lookup","name":"Documentation Lookup","confidence":0.791,"provenance":"derived"},{"slug":"dev.version-control","name":"Version Control","confidence":0.745,"provenance":"derived"}],"categories":["data","dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"code-context-mcp","registry":"pypi","observedAt":"2026-09-15T11:23:10.692Z","publishedAt":"2026-05-20T10:33:08.129556Z","latestVersion":"2.0.6.1"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"code-context-mcp","url":"https://pypi.org/project/code-context-mcp/","firstSeenAt":"2026-09-09T11:31:30.678Z","fetchedAt":"2026-09-15T11:22:33.720Z","normalizedAt":"2026-09-15T11:22:33.720Z"}]},"firstSeenAt":"2026-09-09T11:31:30.678Z","updatedAt":"2026-09-15T11:23:10.692Z"}