Throughline logo

Throughline

Indexes local repositories for Claude with symbol extraction, dependency analysis, ranked search, Git history, and cited code retrieval.

Install Throughline

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

Setup steps from the project

Throughline 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

Throughline MCP server indexes local software repositories and gives Claude structured access to their code, symbols, dependencies, and Git history. It parses supported files with tree-sitter, resolves imports and call relationships, and combines text and symbol search with graph-based ranking. Everything runs locally, with no network requests, while tool responses provide file paths, line numbers, and bounded excerpts. Reach for it when Claude needs repository orientation, caller analysis, dependency tracing, or architecture answers grounded in source files.

Use cases

  • Index a repository before investigating unfamiliar code
  • Find every caller of a function before renaming it
  • Trace a request from its route handler into core logic
  • Compare code complexity with Git change frequency
  • Draft an architecture or onboarding document from indexed code

Key features

  • Tree-sitter symbol extraction
  • Import and call graph resolution
  • Ranked lexical and structural search
  • Git history indexing
  • Cited file paths and line ranges
  • Local secret redaction and scoped 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

Adoption & maintenance

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

Last commit4mo agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Throughline works

What Throughline MCP server does

Throughline MCP server connects Claude Desktop to repositories stored on the local machine. It scans files, extracts symbols and documentation comments, records imports and call edges, and reads selected Git metadata. Claude can then ask where behavior is implemented, which code calls a symbol, how a request travels through the project, or which parts of the repository appear unreferenced.

The results are designed to point back to source locations. Retrieval can include file paths, line ranges, symbol names, excerpts, and explanations of why a result ranked highly. The index also supports repository orientation, including entry points, layers, hotspots, and existing documentation. A separate documentation-writing capability can draft or write documentation, but writing is gated by configuration and explicit confirmation.

How it works

Indexing uses two passes. The first parses files in parallel with tree-sitter. The second builds a global symbol table and resolves relationships into import and call graphs. Incremental refreshes compare file content hashes so unchanged files can be skipped.

Search combines BM25 text ranking with symbol-name ranking through reciprocal rank fusion, then adjusts results using graph centrality. This lets an implementation with structural importance rank above files that merely mention a concept. Call-site results can also identify heuristic matches so developers know which references need additional review.

Git data includes commit subjects, author names and email addresses, timestamps, and the files touched by each commit. Commit message bodies are not stored.

Setup and configuration

The documented release installation targets Claude Desktop on macOS or Windows. Download the throughline.mcpb package, then use Claude Desktop's Settings → Extensions → Advanced settings → Install Extension flow. Installation asks which directories the connector may read.

A source installation 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:

  • npm install
  • npm run grammars
  • npm run build
  • npm run smoke -- .

After installation, list workspaces to verify access, index a project, and use refresh after edits. The README reports roughly 20–60 seconds for an initial 5,000-file repository and about a second for later refreshes, depending on the project and changes.

Tools and capabilities

Supported workflows include:

  • Searching for concepts and implementations with ranked results.
  • Finding callers of a function or symbol.
  • Tracing request paths and rendering call sequences.
  • Inspecting dependency graphs for a directory or component.
  • Identifying entry points, architectural layers, hotspots, and dead-looking symbols.
  • Combining code structure with Git change history.
  • Drafting documentation from the index and optionally writing it after approval.

Full symbol extraction is available for TypeScript, TSX, JavaScript, JSX, Python, Go, Java, Kotlin, C#, Rust, C, C++, YAML, and JSON. SQL, Markdown, Dockerfile, and Terraform files remain searchable as text but do not receive symbol extraction. Other file types are catalogued and searchable as text.

Limitations and notes

The connector reads only directories explicitly granted during installation; symlinks that resolve outside those directories are refused.

The index is stored in .throughline/index.db inside each granted project. It contains paths, symbols, relationships, Git metadata, and source excerpts. Deleting that directory removes the index, while uninstalling the extension does not remove it automatically.

Throughline MCP server makes no network requests, telemetry calls, update checks, or remote API calls. However, content returned by its tools is sent to Claude and handled under Anthropic's privacy terms. Credential-like patterns are redacted before storage and return, but the project should still be scoped with care and sensitive paths can be excluded with security.denyGlobs.

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 Throughline

Throughline is an MCP server that indexes local software repositories for Claude Desktop, combining tree-sitter symbols, imports, call graphs, Git history, and ranked text search. Its main tools support repository indexing and refresh, code and dependency retrieval, call-path and architecture questions, and explicitly approved documentation writing.

Install it in Claude Desktop by downloading the `throughline.mcpb` release and selecting **Settings → Extensions → Advanced settings → Install Extension**. For a source install, use Node.js 20.11 or newer, install dependencies, vendor grammars, build the project, and run the smoke test.

Use the documented Claude Desktop extension installation flow when setting up the server.

Throughline runs locally and makes no network requests. Its index stays inside each granted project under `.throughline/index.db`, but code excerpts and other tool responses are returned to Claude and therefore processed under Anthropic's privacy terms.

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 PreviewThroughline AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/throughline-2?style=directory)](https://allmcps.com/mcp/throughline-2)
HTML Embed
<a href="https://allmcps.com/mcp/throughline-2"><img src="https://allmcps.com/api/badge/throughline-2?style=directory" alt="Throughline on AllMCPs" /></a>