Skip to content
MCP server

synapse-mcp

Local AST code graph that gives AI coding agents precise callers, safe edits and crash

Actively maintained

The repository was last updated 64 days ago and is published under MIT.

synapse-mcp is a freemium MCP server for developer tools. It is available on CLI, macOS, Linux, Windows, VS Code, Self-hosted and API.

Pricing
Freemium
Platforms
CLI, macOS, Linux
What it can do
Can change data (1 tool)
GitHub stars
7
Last commit
License
MIT

Similar MCP servers

About synapse-mcp

Synapse keeps an in-memory graph of a repository's functions, callers and dependencies, built on the user's machine and kept current as files change or new Git commits arrive. Agents query it over MCP instead of grepping and opening whole files, so they receive a compact outline of a module or the exact callers of a function rather than raw file dumps.

Beyond read-only queries, the server can simulate a proposed edit in memory, check it against the compiler and linter, and only write to disk if every check passes. Stack traces can be mapped onto indexed code chunks to point at likely root causes, and diffs can be reviewed for blast radius and broken contracts.

It suits developers and teams working in large or multi-service codebases who use Claude, Cursor or another MCP-capable client and want to cut token spend and reduce broken refactors. Some features, such as persistent agent memory and safe writes, sit behind a paid Pro tier.

Tools this server provides (11)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 11 tools changes data; 8 names don't say.

From the server's own tool labels and tool names; not verified by us.

ask_synapse
Natural-language entry point that routes requests to the right tool.
synapse_get_contextName suggests: reads
Returns structural slices such as callers, callees, contracts and summaries.
synapse_search_codebaseName suggests: reads
Semantic, symbol and regex search returning structured chunk IDs.
synapse_explore_graph
Transitive caller and callee traversal and cycle detection.
synapse_modify_filesName suggests: changes
Simulates, validates and atomically writes file edits with rollback.
synapse_change_review
Diff analysis with blast-radius ranking and broken-contract detection.
synapse_debug_trace
Maps stack traces to AST chunks and suggests reproducing tests.
synapse_test_quality
Coverage bands, test mapping and ranked test gap targets.
synapse_codebase_insights
Dead-code safety, public API surface, dependency graph and refactor opportunities.
synapse_knowledge_cache
Persistent summaries and retrieval reinforcement across sessions.
synapse_manage_repos
Registers, archives and restores repositories; supports Git worktrees.

What it does

Local code graph
Indexes source into a persistent AST graph that stays on the user's machine and updates as files change.
Caller and callee traversal
Lists direct and transitive callers of a function with configurable depth and confidence scores.
Compressed context
Returns outlines and public signatures instead of full files, trimming payloads before they reach the model.
Three search modes
Supports semantic, symbol and regex searches that return structured chunk results.
Simulated safe writes
Validates proposed edits against the compiler and linter in memory and rolls back on failure (Pro).
Stack trace resolution
Maps runtime stack frames to indexed code to suggest a root cause (Pro).

Good for

  • Refactoring a module without breaking callers in other services
  • Tracing a production stack trace back to the responsible code path
  • Reviewing a large pull request for downstream effects on other modules
  • Finding untested branches and generating targeted tests
  • Reducing token usage for an agent exploring an unfamiliar repository

Pricing

Freemium, from $19 a month

Free tier; Pro at $19/month

Prices change. Check synapse-mcp.dev before you buy.

synapse-mcp FAQ

What is Synapse MCP and how does synapse-mcp work?

It is a local MCP server that builds an AST graph of a codebase and exposes it to AI agents through tool calls, so agents can fetch precise structural context instead of reading raw files.

What is the difference between the Free and Pro editions?

Free includes AST indexing, the three search modes, caller traversal, codebase insights and compression. Pro adds simulated safe writes, deeper caller analysis, stack trace resolution, test quality analysis and persistent encrypted knowledge caching, at $19 per month.

Does Synapse MCP send my codebase to the cloud?

The product is described as running entirely on the local machine with no source code uploaded to a cloud service. A free account is required for licensing and device activation.

Why do I need an account to use synapse-mcp?

The account powers the web dashboard, licensing and device activation so the local MCP client can be authorised. Sign-in is available with email and password, Google or GitHub.

What are the best alternatives to synapse-mcp?

The closest alternatives to synapse-mcp are codebase-synapse, mcp-code-indexer, Codegraph, mcp-injector and Sense.

Where this comes from

  • Description: written from the project's README and the project's website.

How AIPoweredBot checks servers