Logo van Pitlane MCP

Pitlane MCP

Community
eresende

Token-efficient navigation substrate for AI coding agents. Index code once and retrieve only the symbols you need.

Uitgevereresende
Repositorypitlane-mcp
TaalRust
Forks
9
Sterren
77
Beschikbare tools
0
Transporttypestdio
LicentieApache-2.0
Links
  • Koppel tools aan AI-workflows

    Pitlane MCP biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • 0 beschikbare tools

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Indicatoren van opensource-interesse

    77 sterren en 9 forks in de gekoppelde repository.

pitlane-mcp

CI

Token-efficient code intelligence MCP server for AI coding agents.

pitlane-mcp indexes a codebase once with tree-sitter and lets agents retrieve the symbols they actually need instead of dumping whole files into context.

Project Status

pitlane-mcp is feature-complete and currently in maintenance mode. New major features are not actively planned. Bug fixes, compatibility updates, documentation improvements, and focused contributions are still welcome.

Why

AI coding agents tend to over-read. pitlane-mcp gives them a smaller navigation surface and symbol-level reads so they can:

  • index code once
  • discover the right symbol or file
  • read the smallest useful unit
  • trace execution paths and change impact

On the benchmark corpora in this repo, that translates into large reductions in prompt footprint, often by one or two orders of magnitude, while keeping navigation grounded in the codebase.

What It Does

  • AST-based indexing for Rust, Python, JavaScript, TypeScript, Svelte, C, C++, Go, Java, C#, Ruby, Swift, Objective-C, PHP, Zig, Kotlin, Lua, Solidity, and Bash
  • BM25 symbol search plus optional semantic search
  • Markdown heading and JSON/YAML/TOML key discovery alongside source, with focused line reads
  • Small default MCP surface for agents
  • Composite navigation tools for discovery, reading, path tracing, and impact analysis
  • Incremental re-indexing and disk-persisted indexes
  • Fully local operation with no required external service

Installation

Download a pre-built binary from GitHub Releases for Linux, macOS, and Windows.

Or install via Homebrew:

bash
brew tap eresende/pitlane-mcp
brew install pitlane-mcp

Or install via cargo-binstall:

bash
cargo binstall pitlane-mcp

Or install from crates.io:

bash
cargo install pitlane-mcp

Or build from source:

bash
cargo build --release
cp target/release/pitlane-mcp ~/.local/bin/
cp target/release/pitlane ~/.local/bin/

Quickstart

Claude Code

bash
claude mcp add pitlane-mcp -- pitlane-mcp

OpenCode

Add to opencode.json or opencode.jsonc:

json
{
  "mcp": {
    "pitlane-mcp": {
      "type": "local",
      "command": ["pitlane-mcp"]
    }
  }
}

VS Code

Add to .vscode/mcp.json:

Optional semantic-search variables go under env.

json
{
  "mcp": {
    "servers": {
      "pitlane-mcp": {
        "type": "stdio",
        "command": "pitlane-mcp",
        "args": [],
        "env": {}
      }
    }
  }
}

Cursor / Kiro IDE

Add to .cursor/mcp.json or .kiro/settings/mcp.json:

Optional semantic-search variables go under env.

json
{
  "mcpServers": {
    "pitlane-mcp": {
      "type": "stdio",
      "command": "pitlane-mcp",
      "args": [],
      "env": {}
    }
  }
}

Default Workflow

Most users should stay on the default tool tier:

  1. Call ensure_project_ready once at startup. It ensures the index exists and reports whether embeddings are still running, but it does not block on embeddings.
  2. Use investigate first for broad code questions such as subsystem, behavior, and execution-path questions.
  3. Use locate_code when you need discovery without full source.
  4. Use read_code_unit once you know the target.
  5. Use trace_path for explicit source-to-sink or config-to-effect questions.
  6. Use analyze_impact before edits or refactors, and analyze_changes to review a Git diff.
  7. Use search_content only when you know a text fragment but not the owning symbol.
  8. Use search_knowledge for documentation questions — it searches indexed Markdown (docs, READMEs, runbooks) by heading and content. It understands OKF v0.2 documents natively (okf_type/status/min_trust filters; results carry trust tier, staleness, and related-document links).
  9. Use read_knowledge_document to open a document found by search_knowledge — the full source Markdown by default, or one section via section. Results include OKF metadata, the section outline with line ranges, and related_docs/referenced_by links.

Default public tier:

  • ensure_project_ready
  • investigate
  • locate_code
  • read_code_unit
  • trace_path
  • analyze_impact
  • analyze_changes
  • get_index_stats
  • search_content
  • search_knowledge
  • read_knowledge_document

Advanced primitives are hidden from tools/list by default. Set PITLANE_MCP_TOOL_TIER=all to expose the full surface.

Documentation

CLI

The pitlane binary exposes the same code intelligence outside MCP.

Examples:

bash
pitlane index /your/project
pitlane investigate /your/project "How does ignore handling work?"
pitlane analyze-changes /your/project --base-ref main --include-working-tree
pitlane search /your/project authenticate --kind method
pitlane symbol /your/project src/auth.rs::Auth::login[method]
pitlane usages /your/project src/auth.rs::Auth::login[method]

All commands output JSON to stdout. Logs go to stderr and are controlled with RUST_LOG.

Supported Languages

pitlane-mcp supports Rust, Python, JavaScript, TypeScript, Svelte, C, C++, Go, Java, C#, Bash, Ruby, Swift, Objective-C, PHP, Zig, Lua, Kotlin, and Solidity.

For the full extension matrix and symbol-kind coverage, see Languages and Symbol Kinds.

Notes

  • pitlane-mcp is feature-complete and maintained as an OSS navigation tool.
  • Benchmark numbers in this repo are release-specific snapshots, not guarantees for every agent harness or model.

License

Licensed under either of MIT License or Apache License, Version 2.0, at your option.

Gebruik Pitlane MCP MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra Pitlane MCP is verbonden, kun je deze dus met verschillende AI-modellen in TypingMind gebruiken, zonder de verbinding voor elk model apart in te stellen. Deze MCP-integratie draait lokaal via de TypingMind MCP-connector op je apparaat.

Installatiehandleiding voor de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg Pitlane MCP toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus Gereed aangeeft.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van Pitlane MCP.
  4. Sla de serverlijst op.
  5. Vernieuw om te controleren of de connector nog steeds klaar is voor gebruik.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "pitlane-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van Pitlane MCP in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van Pitlane MCP in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je Pitlane MCP gebruiken om me hiermee te helpen?
Pitlane MCP
Zeker. Ik heb het gelezen.
Dit vond ik met Pitlane MCP.

Veelgestelde vragen

Waarvoor wordt de MCP-server Pitlane MCP gebruikt?

Pitlane MCP is een MCP-server waarmee compatibele AI-clients verbinding kunnen maken met externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik Pitlane MCP MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je Pitlane MCP gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom Pitlane MCP MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als Pitlane MCP verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik Pitlane MCP MCP met TypingMind?

Pitlane MCP werkt via de lokale MCP-connector van TypingMind. Dit is de beste optie als de MCP-server toegang nodig heeft tot lokale bestanden, desktopapps, opdrachtregeltools of privébronnen op je computer.

Welke tools biedt Pitlane MCP MCP in TypingMind?

Pitlane MCP biedt MCP-functies die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om Pitlane MCP MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als Pitlane MCP authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇