
codebase-synapse
io.github.iwielsPublished by GitHub account iwielsv0.1.13Updated Oct 25, 2026
Indexes codebase into a local knowledge graph with 40+ AI tools and codebase-guard.
The publisher's own server: Codebase
Overview
A local MCP server that serves a pre-built SQLite knowledge graph of your codebase, letting an assistant search code, trace call graphs, and analyze impact.
- What you can do
- Search and discover code with semantic, full-text, symbol and hybrid search, plus structural similarity and cross-project symbol lookup. Navigate the knowledge graph: callers and callees, imports and dependents, shortest paths, dead code, PageRank and Cypher-like graph queries. Review architecture: project overview, file structure, route maps, module boundaries and clusters. Analyze git history: file archaeology, hotspots, change coupling and recent semantic changes. Keep memory and context: persistent and session notes, budgeted context for edits, working set and architecture decision records.
- When to use it
- Useful when an assistant needs structural answers about a large repository rather than guesses: call chains, dependency impact before editing, architectural hotspots, or history of a file. Best for developers already using an MCP-capable coding client on a local checkout.
- Requirements
- Runs locally over stdio via npx (npm package with prebuilt binaries for Windows, macOS and Linux). The codebase must first be indexed with the separate CLI command, which writes to a local SQLite database under the user's home directory. No Docker, cloud service, API key or account is needed; embeddings run locally.
Installation
In SourceWeft
- Open codebase-synapse in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
🧠 Codebase Synapse
Give your AI agent a deep understanding of your entire codebase.
An MCP server that indexes your codebase into a local knowledge graph with 52 AI tools — semantic search, call-graph traversal, git archaeology, blast-radius analysis, and more.
[Codebase Synapse — Knowledge graph visualization]
Works with Claude Code · Cursor · Windsurf · Zed · Any MCP client
The Problem
AI coding agents (Claude, Cursor, etc.) are powerful — but they work with limited context. They can only see the files you open or feed them. Ask about call chains, architectural patterns, or blast-radius impact, and they guess.
Codebase Synapse fixes this. It indexes your entire repo into a local knowledge graph stored in SQLite, giving your AI agent real answers backed by structural analysis — not hallucinations.
How it works
⚡ Quick Start
1. Index your project (CLI, Zoekt-style)
Indexing runs as a separate CLI command and writes into ~/.codebase-synapse/codebase.db. The first index is the slow one; re-running it only re-indexes changed files. The MCP server never indexes — it only reads the pre-built index.
2. Start the MCP server
That's it. No Docker. No database setup. No cloud. The server starts via stdio and serves the pre-built index to your MCP client.
Configure your client
Claude Code / Claude Desktop
Add to your claude_desktop_config.json or mcp_servers.json:
Cursor
Add to your .cursor/mcp.json:
Other MCP clients
Any MCP client that supports stdio transport works. Just point it at:
✨ What It Does
🔍 Search & Discovery
🕸️ Knowledge Graph
🏗️ Architecture
🔬 Git Archaeology
🧠 Memory & Context
🛡️ Codebase Guard
Included as a bonus: codebase-guard is a PreToolUse hook for Claude Code that blocks writes to high-impact files until the agent runs impact_analysis first.
It uses PageRank scores and blast-radius data from the knowledge graph to identify architectural hubs. No more accidental edits to core files.
🔧 Technical Details
Supported Languages
Rust · Python · TypeScript · JavaScript · Go · Java · C# · PHP · C · C++
Architecture
🤝 Contributing
Contributions are welcome! The project uses standard Rust tooling:
📄 License
Source: README.md at commit 41a965b
Tools
0Version history
1- v0.1.13LatestSep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.
Other Codebase integrations
Codebase
design.codebaseOfficial publisher
Lets an AI agent build, preview and update web apps, download their source, and publish them when the user permits.
Reactable Codebase Readiness Assessments
Published by GitHub account reactable-io
Remote MCP server that scores a codebase across 12 readiness areas, returning findings, fix prompts and re-assessment from inside an AI agent.

Codebase Doctor
Published by GitHub account subhajitlucky
Read-only codebase auditor that lets a coding assistant scan a repository for secrets, dependency drift, RLS and auth issues, and get review verdicts with…

Dsh Codebase Chat
Published by GitHub account shinzarou-eng
A local-first MCP server that answers questions about a codebase with cited evidence, plus audits and reports.

Codebase Chat
Published by GitHub account shinzarou-eng
Local-first codebase intelligence MCP server that lets an assistant chat about, search, audit and safely patch a repository with file-and-line citations.