SuperAPI AI Directory

synapse-mcp

Convert a codebase into a local AST knowledge graph that gives coding agents structural context for navigation and refactoring.

Open website

About this tool

Purpose

Synapse MCP is a persistent code knowledge graph server for AI coding agents. It converts a codebase into a local AST knowledge graph, giving Claude, Cursor, Copilot, and all MCP-compatible agents structured context when navigating, refactoring, and modifying code, without repeatedly exploring with grep, find, cat, and ls.

Key capabilities

  • Persistent memory graph: Runs as a resident BEAM daemon, not a CLI invoked per call; the graph is retained in memory across sessions.
  • Automatic incremental indexing: Watches file changes via inotify / FSEvents / kqueue and reindexes only changed files; when a new Git HEAD commit is detected, only the diff is reindexed.
  • Precise caller trees and semantic search: Provides agents with call-relationship trees, semantic search, and diff-aware change review.
  • Safe writes: Any edit is first simulated in memory before being written to disk, validated by the compiler and linter, with its blast radius mapped; only after all gates pass is it committed atomically, and on failure it rolls back.
  • Multi-language AST support: 50+ languages, including Elixir, Python, TypeScript, JavaScript, Go, Rust, OCaml, Haskell, F#, Clojure, Scala, Java, Kotlin, Swift, Objective-C, C, C++, C#, Ruby, PHP, Dart, Zig, Erlang, Julia, Groovy, Solidity, GraphQL, HCL/Terraform, Protobuf, SQL DDL, Gherkin, Shell, PowerShell, Lua, and more.
  • Local-first: No cloud indexing, source code is not sent in API calls, no telemetry, no vendor lock-in; the full AST graph (functions, edges, embeddings) is built and stored in local persistent storage, and queries go through MCP with sub-millisecond latency.
  • Learning and reinforcement layer: Function summaries can be permanently written into the graph and automatically attached in subsequent sessions; retrieval associations automatically strengthen their ranking with use; important results can be explicitly boosted (e.g., "queries related to payment processing should always return this chunk first").
  • Production-grade engineering standards: Every push runs dependency security audits (failure blocksthe pipeline), multi-platform smoke tests (Linux x86_64/aarch64, Darwin x86_64/aarch64, Windows x86_64), BDD end-to-end tests based on real packaged binaries, signed release manifest verification, launcher version gating, and zero-latency file watching.

How to use

Install Synapse, register a codebase, and agents can query the graph directly through MCP without changing existing agent workflows or development processes. The full guide and GUI installer are available at synapse-mcp.dev/download. In the repository, the claude-plugin/ folder is a plugin for Claude Code and Cowork that connects to a locally running Synapse server and adds skills such as status, indexing, onboarding, change review, impact analysis, and stack trace parsing. The repository also contains the agent skill file .agents/skills/synapse-mcp/SKILL.md, loaded at session start, overriding the agent's grep instinct with explicit routing rules and example tool calls.

Applicable scenarios

  • Enterprise and regulated environments: source code stays within the boundary and never leaves the local machine.
  • Open source contributors: unpublished work stays unpublished.
  • Developers focused on speed and accuracy: local in-memory graph queries, no network round trips, no stale remote indexes.
  • Teams that need to prevent AI agents from breaking production code: pre-write validation and rollback mechanisms block destructive writes.

Limitations and caveats

  • Currently in Preview stage, and the product is still actively evolving.
  • Compared with some read-only alternatives, Synapse does not provide HTTP route chain tracing (such as URL-to-handler/template chains for 17 frameworks including Django, Rails, Express, and Spring). If this is a core requirement, the official recommendation is to evaluate CodeGraph.
  • Differences between the free and Pro versions, specific pricing, and billing details: the materials state Pro is $19/month, but do not fully explain all feature boundaries of the two tiers, and no more detailed information is currently provided.
  • The Myelix Agents planned launch in Q3 2026, with early access for Pro subscribers, is a future plan, not an existing feature.
  • Officially claimed benchmark data such as "60% token reduction" comes from the test description it provides (autonomous security audit at the scale of 500,000 lines of code, the same frontier model), and no independent third-party reproduction details are provided.