Codehelper logo

Codehelper

Indexes local Git repositories into a symbol and call graph, then exposes 60+ MCP tools for code search and impact analysis.

Install Codehelper

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

Setup steps from the project

Codehelper 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
    curl -fsSL https://raw.githubusercontent.com/VeyrForge/codehelper/main/scripts/install.sh | sh
    
  2. 2. Install
    powershell -ExecutionPolicy Bypass -File .\scripts\install.ps1
    
  3. 3. Install
    git clone https://github.com/VeyrForge/codehelper.git && cd codehelper
    
  4. 4. Install
    npm run build
    
  5. 5. Run
    codehelper init
    

Overview

The Codehelper MCP server indexes Git repositories on a local machine, builds a symbol and call graph, and exposes more than 60 MCP tools. It combines tree-sitter parsing with SQLite storage, then ranks searches using BM25, trigrams, and call-graph data. MCP communication uses stdio by default, with an optional HTTP mode, and indexing stays local without requiring API keys. Reach for it when an AI coding client needs repository-aware symbol search, caller and callee context, or pre-edit blast-radius analysis.

Use cases

  • Search symbols across a local Git repository
  • Trace callers and callees before editing code
  • Assess a change's likely blast radius
  • Give an AI coding client repository-aware context
  • Run code intelligence without uploading the repository

Key features

  • Builds a local symbol and call graph
  • Exposes more than 60 MCP tools
  • Ranks searches with BM25, trigrams, and call-graph data
  • Maintains indexes with a watch daemon
  • Supports stdio and optional HTTP MCP transport
  • Offers optional local semantic reranking

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.

21/25 checks healthy over the last 112d

Adoption & maintenance

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

GitHub stars2Stargazers on the source repository.
Last commit4mo agoMost recent push to the default branch.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Codehelper works

What Codehelper does

The Codehelper MCP server gives AI coding assistants a locally indexed view of a Git repository. It parses source files, records symbols and relationships between calls, and makes that information available through MCP tools. This lets a client search for code by symbol and inspect related callers, callees, source context, and likely impact before an edit.

The repository remains on the machine running Codehelper. That makes it suitable for projects where sending the whole repository to a cloud model is undesirable, provided the chosen MCP client and model can use the exposed tools.

A repository must be a Git repository for indexing. The supported operating systems are Linux, macOS, and Windows x64. Windows arm64 support is described as experimental, and release packages consistently provide Windows amd64 binaries.

How it works

Running codehelper init in a repository indexes the code, starts a watch daemon, connects MCP configuration for the editor, and writes agent rules. The watch process keeps the index current as files change. After initialization, the documentation recommends calling project_context once per session so an agent can learn the available tools and see index freshness information.

Tree-sitter parsers provide source analysis, while SQLite stores the symbol and call graph. Search combines BM25 text ranking, trigrams, and call-graph ranking. An optional local semantic reranking path is available, but it requires separate local embedding setup and optional Green Engine model services.

MCP uses stdio by default. An HTTP listener can be started with codehelper mcp --http :8765. The optional Green Engine and Green Compress components provide local model-related functionality; they are not required for the basic indexed repository workflow described in the README.

Setup and configuration

Installers are provided for Linux and macOS through scripts/install.sh, and Windows uses scripts/install.ps1. Prebuilt release bundles include the Codehelper executable, MCP server, and the ge and greencompress utilities. Building from source requires Go 1.25 or newer, CGO, and a C compiler.

From a repository directory, run:

bash
codehelper init

Cursor receives a per-project .mcp.json configuration. Claude Code uses a managed block in ~/.claude.json, while Codex reads the generated AGENTS.md. Reloading the client after the first initialization is recommended.

The Codehelper MCP server supports updates through codehelper upgrade, which downloads a release by default. codehelper update rebuilds from a local checkout. CODEHELPER_UPGRADE_REPO can override the upgrade repository, and CODEHELPER_SOURCE can identify the local source used for updates.

Tools and capabilities

The tool catalog includes project_context, query, context, and impact. project_context bootstraps the catalog and reports index information. query searches the symbol graph, context returns source with caller and callee relationships, and impact estimates the blast radius of a prospective change.

The full interface contains more than 60 MCP tools. The README positions these tools for repository search, code understanding, and controlled modification workflows rather than broad file grepping. The Codehelper MCP server can therefore help an agent locate relevant symbols, trace relationships, and inspect affected areas before changing code.

An optional local dashboard is available through ge ui serve at http://127.0.0.1:8780.

Limitations and notes

Indexing depends on a Git repository. Source builds require CGO and a C compiler because of the tree-sitter dependency. Semantic reranking is optional and has additional local model setup requirements.

The license is Business Source License 1.1, not OSI-approved open source before the stated change date. The README permits personal and internal business use, including developing software for customers, but restricts offering Codehelper or a substantially similar substitute as a hosted, managed, embedded, or distributed competing product. Commercial redistribution and other uses outside those terms require separate licensing.

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 Codehelper

Use the Linux or macOS install script, the Windows PowerShell installer, or build from source with Go 1.25+, CGO, and a C compiler. Then run `codehelper init` inside a Git repository.

Yes. `codehelper init` creates a per-project `.mcp.json` configuration for Cursor.

It indexes repositories on the local machine.

Yes. The repository must be a Git repository for indexing.

Start the MCP server with `codehelper mcp --http :8765`. Stdio is the default transport.

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