Project Context Connector logo

Project Context Connector

Indexes local repositories for Claude with symbol-aware search, dependency tracing, Git context, and cited code results.

Install Project Context Connector

Run the project’s own setup commands, in order.

Setup steps from the project

Project Context Connector installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    npm install
    
  2. 2. Run
    npm run grammars     # vendor tree-sitter WASM grammars
    
  3. 3. Run
    npm run build
    

Overview

Project Context Connector MCP server indexes local software repositories and gives Claude tools for code search, symbol lookup, dependency tracing, and project orientation. It parses supported languages with tree-sitter, resolves imports and call relationships, and incorporates local Git history into a project index. Results include file paths, line ranges, citations, and ranking explanations rather than only text matches. Reach for it when Claude needs repository-wide context without sending the indexed files to a remote service.

Use cases

  • Index a repository and explain its architecture with cited files
  • Find every caller of a function before renaming it
  • Trace a request route through the application
  • Identify complex files with frequent Git changes
  • Draft project documentation without writing it immediately

Key features

  • Local repository indexing
  • Tree-sitter symbol extraction
  • Import and call graph resolution
  • Structure-aware code search
  • Git history ingestion
  • Secret redaction before storage

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.

14/14 checks healthy over the last 74d

How Project Context Connector works

What Project Context Connector MCP server does

Project Context Connector MCP server connects Claude Desktop to repositories on the local machine. It builds a searchable representation of source files, symbols, imports, call edges, documentation comments, and selected Git metadata. Claude can use that representation to locate implementations, identify callers, trace request paths, inspect entry points, compare structural importance, and answer architecture questions with cited file paths and line numbers.

Search combines lexical matching with symbol-name matching, then adjusts results using graph centrality. This helps an implementation rank above files that only mention the same concept. Queries can also expand from a concept to related mechanisms, such as terms used by payment or authentication code.

How it works

The indexing pipeline has two passes. First, files are parsed independently with tree-sitter. The second pass builds shared project structures, including a symbol table, import graph, and call graph. Refreshes use file hashes to skip unchanged files; the README reports that a 5,000-file repository commonly takes 20–60 seconds to index initially, while later refreshes can take about a second.

Supported languages with symbol extraction include TypeScript, TSX, JavaScript, JSX, Python, Go, Java, Kotlin, C#, Rust, C, C++, YAML, and JSON. SQL, Markdown, Dockerfile, and Terraform remain searchable as text without symbol extraction. Other files are catalogued and searchable as text.

Setup and configuration

Project Context Connector MCP server is distributed as a Claude Desktop extension for macOS and Windows. A release can be installed by downloading the .mcpb package and using Claude Desktop’s extension settings. Installation asks which directories the connector may read. The first useful checks are to list available workspaces, index a project, and then ask questions about it.

Building from source requires Node.js 20.11 or newer. The documented build sequence installs dependencies, vendors tree-sitter WASM grammars, builds the project, and runs a smoke test against a directory. The index is stored at .throughline/index.db inside each granted project directory.

Tools and capabilities

Its documented capabilities include:

  • Searching code using text, symbols, and structural ranking.
  • Finding callers and references for symbols, including heuristic matches labelled for review.
  • Tracing calls from routes or handlers into core logic and rendering a sequence diagram.
  • Summarizing repository stack, entry points, layers, hotspots, and existing documentation.
  • Finding unreferenced non-exported symbols while warning about static-analysis blind spots.
  • Examining dependency relationships and Git file-change history.
  • Drafting documentation from the index, with a separate write_documentation tool for approved writes.

Limitations and notes

The connector reads only directories explicitly granted during installation; symlinks resolving outside those directories are refused. It makes no network requests and reads Git metadata from the local object database. Index data remains in the project directory and can be removed by deleting .throughline.

Secret-pattern redaction runs before content is stored or returned, but it is not guaranteed to detect every credential. Returned tool results are still sent to Claude for processing, so directories should not be granted if their contents must not enter a conversation. The default mode is read-only. Writing requires enabling writes and confirming the exact preview, and the write is limited to a named path inside a granted directory.

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 Project Context Connector

Project Context Connector is an MCP server that connects Claude Desktop to locally granted software repositories. Its main tools index projects, search symbols and text, trace callers and dependency paths, summarize repository structure, inspect Git history, and draft or—with confirmation—write documentation. Processing and indexing remain on the local machine.

Install the `.mcpb` release through Claude Desktop’s Settings, Extensions, and Advanced settings screens. Choose the directories it may read during installation, then list workspaces and index a project. Source builds require Node.js 20.11 or newer and the documented npm build steps.

No client-specific Cursor support is documented.

Project Context Connector extracts symbols from TypeScript, TSX, JavaScript, JSX, Python, Go, Java, Kotlin, C#, Rust, C, C++, YAML, and JSON. SQL, Markdown, Dockerfile, and Terraform are searchable as text only, while other files are catalogued and text-searchable.

No. The connector makes no network requests and stores its index inside each granted project directory. Tool responses are returned to Claude for processing, so code excerpts and paths selected by Claude can still enter the Claude conversation.

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 PreviewProject Context Connector AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/project-context-connector?style=directory)](https://allmcps.com/mcp/project-context-connector)
HTML Embed
<a href="https://allmcps.com/mcp/project-context-connector"><img src="https://allmcps.com/api/badge/project-context-connector?style=directory" alt="Project Context Connector on AllMCPs" /></a>