Synapse Code MCP logo

Synapse Code MCP

by Eltortilla1

Local MCP server for exploring code structure, dependencies, searches, project symbols, and Git changes.

Install Synapse Code MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "eltortilla1-synapse-code-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "synapse-code-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y synapse-code-mcp

initialize succeeded but no response to tools/list.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Eltortilla1/synapse-code-mcp MCP server gives AI coding assistants structured access to a local repository through MCP. It builds project trees, symbol indexes, dependency-aware file context, text or regex search results, and Git change summaries without embeddings or a vector database. TypeScript and JavaScript receive deeper AST-based analysis, while other supported languages receive file, search, and limited symbol extraction. Use it when an agent needs deterministic, local codebase exploration rather than conceptual vector search.

Use cases

  • Explore an unfamiliar repository with a compact symbol index
  • Trace TypeScript or JavaScript dependencies around a file
  • Review files and diffs changed since a Git reference
  • Search source code with text or regular-expression patterns

Key features

  • Compressed project symbol indexes
  • Dependency-aware semantic file context
  • Git change summaries and unified diffs
  • Text and regex code search
  • Gitignore-aware project trees
  • Local operation without embeddings

Tools5

What Synapse Code MCP lets your agent do. Expand a tool for its parameters.

Verified live~955 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

28/28 checks healthy over the last 113d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · synapse-code-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars3Stargazers on the source repository.
npm downloads196Package downloads in the last 30 days.
Last commit3mo agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.
Tools exposed5Callable tools this server registers over MCP.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Synapse Code MCP works

What Eltortilla1/synapse-code-mcp MCP server does

Eltortilla1/synapse-code-mcp MCP server connects an AI assistant to a repository on the local machine. Its tools expose repository structure and source-code context through the Model Context Protocol, so an agent can inspect a project without requiring files to be copied into a prompt.

The server focuses on structural and textual code understanding. It can return a compressed map of exported functions, classes, interfaces, types, enums, and top-level constants; provide a file together with locally related dependencies; search source files; show a repository tree; and report files changed since a Git reference. It does not provide conceptual search through embeddings or a vector database.

How it works

The server reads the configured project directory and uses filesystem and Git information to answer MCP tool calls. The project tree honors .gitignore rules. Code searches support plain text and regular expressions and return matching paths and line numbers. Git changes are grouped by status and can include a unified diff.

For TypeScript and JavaScript, analysis uses the TypeScript compiler API through ts-morph. Dependency traversal follows imports and requires, including relative imports and configured TypeScript path aliases when a root tsconfig.json is available. A depth limit controls how far dependency traversal proceeds. Python, Go, and Rust receive regex-based extraction for names, while dependency traversal is not available for those languages. Other languages can still be read and searched.

The project index is intended as an initial orientation step for unfamiliar repositories. It omits implementation bodies and reports signatures or names, reducing the amount of source content returned. Large repositories can be narrowed with a file glob.

Setup and configuration

Install the published package globally with npm, or run it through npx. The package requires Node.js 18 or newer. When configuring a client, start the server with the repository root supplied through --root; use an absolute path for predictable client behavior.

Claude Desktop, Claude Code, Cursor, and Windsurf are documented client options. Each configuration starts the package with an MCP server entry and points it at the repository to inspect. Multiple instances can be configured for separate project roots.

The available command-line settings include the project root and options for controlling server behavior; the tool parameters provide the main per-request configuration. Relevant request controls include file patterns, maximum tree depth, hidden-file display, dependency depth, output format, and search result limits.

Tools and capabilities

  • get_project_tree returns a structured repository tree while respecting ignore rules.
  • get_project_index returns a compact semantic map and supports glob scoping, inclusion of non-exported symbols, and Markdown or JSON output.
  • get_semantic_context returns file content with local dependency context, with an outline-only mode for signatures and configurable import depth.
  • search_codebase searches text or regular expressions and reports file paths and line numbers. It uses ripgrep when available and otherwise falls back to a Node.js scanner.
  • get_changed_files groups added, modified, deleted, or renamed files since a Git ref and can include line counts and the full diff.

Limitations and notes

Its dependency graph features are limited to TypeScript and JavaScript. For Python, Go, and Rust, the index and outline provide names rather than full TypeScript-style signatures, and other languages do not receive the same structural extraction.

The project index grows with the number of symbols, so monorepos and large repositories should be scoped with file_pattern. The server is local and does not require an API key, embedding provider, or vector database, but it also cannot perform natural-language conceptual retrieval across code. Choose it for structure, text, dependencies, and Git changes rather than semantic similarity search.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Synapse Code MCP

Run `npm install -g synapse-code-mcp`, or use `npx -y synapse-code-mcp` without a global installation.

Yes. The README provides a Claude Desktop configuration using `npx synapse-code-mcp --root` and an absolute repository path.

No. The project states that it does not require an embedding API, vector database, or API key.

TypeScript and JavaScript receive AST-based symbol and dependency analysis. Python, Go, and Rust receive regex-based name extraction, while other languages support file reading and search.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSynapse Code MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/eltortilla1-synapse-code-mcp?style=directory)](https://allmcps.com/mcp/eltortilla1-synapse-code-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/eltortilla1-synapse-code-mcp"><img src="https://allmcps.com/api/badge/eltortilla1-synapse-code-mcp?style=directory" alt="Synapse Code MCP on AllMCPs" /></a>