Pitlane MCP logo

Pitlane MCP

Community
eresende

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

Publishereresende
Repositorypitlane-mcp
LanguageRust
Forks
9
Stars
77
Available tools
0
Transport typestdio
LicenseApache-2.0
Links
  • Connect tools to AI workflows

    Pitlane MCP exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    77 stars and 9 forks from the linked 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.

Use Pitlane MCP MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Pitlane MCP is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Pitlane MCP as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Pitlane MCP MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "pitlane-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Pitlane MCP MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Pitlane MCP MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Pitlane MCP to help me with this task?
Pitlane MCP
Sure. I read it.
Here is what I found using Pitlane MCP.

Frequently asked questions

What is the Pitlane MCP MCP server used for?

Pitlane MCP is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Pitlane MCP MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Pitlane MCP with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Pitlane MCP MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Pitlane MCP connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Pitlane MCP MCP to TypingMind?

Pitlane MCP runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Pitlane MCP MCP provide in TypingMind?

Pitlane MCP exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Pitlane MCP MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Pitlane MCP requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇