{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_w2rfdts4zxwe","handle":"code-graph-rag-mcp","url":"https://wellknown.network/agents/code-graph-rag-mcp","links":{"self":"https://wellknown.network/agents/code-graph-rag-mcp/record.json","html":"https://wellknown.network/agents/code-graph-rag-mcp","markdown":"https://wellknown.network/agents/code-graph-rag-mcp/record.md","api":"https://wellknown.network/api/v1/agents/code-graph-rag-mcp","status":"https://wellknown.network/api/v1/agents/code-graph-rag-mcp/status","claim":"https://wellknown.network/agents/code-graph-rag-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/code-graph-rag-mcp/claim.json","badge":"https://wellknown.network/agents/code-graph-rag-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/code-graph-rag-mcp/history","tools":"https://wellknown.network/api/v1/agents/code-graph-rag-mcp/tools"},"ard":{"identifier":"urn:air::server:code-graph-rag-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"code-graph-rag-mcp","summary":"Local-first code knowledge graph MCP server","description":"# Code GraphRAG MCP Server\n\nA Model Context Protocol server for source-code introspection. It keeps a local-first knowledge graph for your repositories: Tree-sitter derived symbols and relations, AST-aligned chunks, EmbeddingGemma vectors stored in sqlite-vec, and graph traversal through bfsvtab. Wheels ship the native extensions, so the server starts instantly with `uvx`.\n\n## Features\n\n- Hybrid retrieval combining vector search and breadth-first graph expansion over code relations\n- Live repository sync via filesystem watcher and job queue\n- Deterministic provenance for every symbol, relation, and chunk\n- Bundled sqlite-vec and bfsvtab binaries—no manual compilation required\n\n## Installation\n\n```bash\nuvx code-graph-rag-mcp serve --config /workspace/config.yaml\n```\n\n### MCP manifest example\n\n```json\n{\n  \"mcpServers\": {\n    \"code-graph\": {\n      \"command\": \"uvx\",\n      \"args\": [\"code-graph-rag-mcp\", \"serve\", \"--config\", \"/workspace/config.yaml\"],\n      \"env\": {\n        \"CODE_GRAPH_RAG_WATCH_DIR\": \"/workspace/repo\",\n        \"CODE_GRAPH_RAG_DB_PATH\": \"/workspace/data/code.sqlite\"\n      }\n    }\n  }\n}\n```\n\nThis manifest block works for Claude Desktop (`claude_desktop_config.json`), Cursor (`~/.cursor/mcp.json`), or any other MCP host.\n\n## Configuration\n\n### Minimal `config.yaml`\n\n```yaml\nwatch:\n  dir: \"/workspace/repo\"\ndatabase:\n  sqlite_path: \"/workspace/data/code.sqlite\"\n```\n\n### Environment overrides\n\n| Variable | Description |\n| --- | --- |\n| `CODE_GRAPH_RAG_CONFIG` | Alternate path to the YAML config. |\n| `CODE_GRAPH_RAG_WATCH_DIR` | Override repository directory to watch. |\n| `CODE_GRAPH_RAG_WATCH_DEBOUNCE_MS` | Debounce delay (ms) for watcher events. |\n| `CODE_GRAPH_RAG_DB_PATH` | Override SQLite database location. |\n| `CODE_GRAPH_RAG_EXTENSIONS_DIR` | Directory containing custom sqlite-vec/bfsvtab binaries. |\n| `CODE_GRAPH_RAG_SQLITE_VEC` / `CODE_GRAPH_RAG_BFSVTAB` | Explicit extension paths. |\n| `CODE_GRAPH_RAG_RETRIEVAL_K` | Default semantic top-k. |\n| `CODE_G…","publisher":{"name":"Andrew","url":null},"homepage":null,"repository":null,"version":"0.1.2","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:code-graph-rag-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","summary":"pypi","version":"pypi","description":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[{"slug":"data.vector-search","name":"Vector Search","confidence":1,"provenance":"derived"},{"slug":"dev.filesystem","name":"Filesystem","confidence":1,"provenance":"derived"},{"slug":"knowledge.knowledge-graph","name":"Knowledge Graphs","confidence":1,"provenance":"derived"},{"slug":"data.database","name":"Databases","confidence":0.802,"provenance":"derived"}],"categories":["data","dev","knowledge"],"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-graph-rag-mcp","registry":"pypi","observedAt":"2026-09-15T11:23:11.304Z","publishedAt":"2025-10-14T22:45:17.480409Z","latestVersion":"0.1.2"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"code-graph-rag-mcp","url":"https://pypi.org/project/code-graph-rag-mcp/","firstSeenAt":"2026-09-09T11:31:33.561Z","fetchedAt":"2026-09-15T11:22:36.392Z","normalizedAt":"2026-09-15T11:22:36.392Z"}]},"firstSeenAt":"2026-09-09T11:31:33.561Z","updatedAt":"2026-09-15T11:23:11.304Z"}