Codehelper
Codehelper is a local-first repository intelligence MCP server exposing 60+ tools for AI coding assistants to search, understand, and safely modify code — without uploading it to the cloud.
Repository & Code Intelligence
Index git repositories to build symbol and call graphs
Search and navigate symbols (
query,search_hybrid,scout)Get full source, callers, callees, imports, and blast radius for any symbol (
context,context_bundle)Trace call paths between symbols, inspect API surfaces, find dead code, and rank architectural hotspots by churn × centrality
AST structural search via tree-sitter S-expression patterns
Find Go interface implementations and similar symbols
Safe Code Editing & Refactoring
Apply patches (search/replace or unified diffs), write files, insert code at symbols, rename symbols across all reference sites, and revert any edit via revert token
change_kit: single call to get everything needed to safely change a symboledit_cycle: fused edit → verify → re-index → respond workflow
Planning & Architecture
kickoff: one-call task starter with orientation, reuse candidates, docs, and stepsplan/scope: ground tasks with blast radius, decision points, and MVP suggestions before writing codeagent_plan: create and manage persisted, editable plans with todos
Verification & Quality
Run compiler/static analysis (go build/vet, cargo check, tsc), lint/build/test gates, and line-level code review for security, contracts, and performance
preflight/finish_check: release readiness gates combining change detection, diff review, and hygiene checksDetermine test impact via reverse call graph; read CI status via gh CLI
Memory & Learning
Persist ADR-style decisions, fix patterns, and facts across sessions (
agent_memory)Store cross-project learned rules by framework/language (
hints) and maintain a project glossary
Browser & Web
Headless Chromium automation for screenshots, accessibility audits, performance metrics, and UI interaction sequences
Fast HTTP-only verification for APIs and health checks
Web search for current documentation, error messages, or library facts
Docs & External Info
Fetch version-correct official documentation for any library or framework
Register custom documentation sources for internal libraries
Environment & Operations
Detect toolchain versions, scripts, docker-compose hints, and aliases
Read local log files, query database schemas, and run read-only SQL against SQLite or MySQL databases
Execute predefined recipes on configured SSH hosts and run command aliases
View per-project tool-usage and token consumption reports
Codehelper
Local-first repo intelligence for AI coding assistants.
Codehelper indexes git repositories on your machine, builds a symbol and call graph, and exposes 60+ MCP tools so Cursor, Claude Code, Codex, and other MCP clients can search, understand, and safely change your code — without uploading the whole repo to a cloud model.
Three reasons to use Codehelper
Project-aware agents — Search symbols, callers, and blast radius locally instead of grepping whole files.
Works offline — No API keys; your code stays on your machine.
Fits your editor — MCP for Cursor, Claude Code, Codex; one
codehelper initper repo.
Related MCP server: srclight
Installation
Linux / macOS (recommended):
curl -fsSL https://raw.githubusercontent.com/VeyrForge/codehelper/main/scripts/install.sh | shWindows (PowerShell):
powershell -ExecutionPolicy Bypass -File .\scripts\install.ps1From source (requires Go 1.25+, CGO, and a C compiler):
git clone https://github.com/VeyrForge/codehelper.git && cd codehelper
npm run buildPrebuilt 3.0.2 bundles (Linux, macOS, Windows) include codehelper, MCP server, ge 1.0.0, and greencompress 1.0.0 on GitHub Releases.
Updates: codehelper upgrade downloads the latest release from VeyrForge/codehelper. codehelper update rebuilds from a local git checkout.
30-second example
cd your-git-repo
codehelper init
codehelper help tools --mainReload Cursor or Claude Code after the first init, then call project_context once per session so the agent knows which tools exist and how fresh the index is.
See it work
No bundled demo video yet — here is a typical first session:
$ codehelper init
init: ready — index + watch daemon active
$ codehelper status
symbols: 1247 edges: 3891 freshness: current
$ codehelper help tools --main
project_context bootstrap tool catalog + index stats
query search the symbol graph
context source + callers + callees
impact blast radius before you editRecorded benchmark results: docs/BENCHMARK.md.
Supported platforms
Platform | Install | Notes |
Linux |
| Full support; primary CI target |
macOS |
| Universal + per-arch release binaries |
Windows |
| x64 supported |
Client | Setup |
Cursor | Per-project |
Claude Code | Managed block in |
Codex | Reads generated |
How it works
Layer | Technology |
Indexing | tree-sitter parsers + SQLite symbol/call graph |
Search | BM25 + trigrams + call-graph ranking (optional semantic rerank via local embed server) |
MCP transport | stdio (default) or HTTP ( |
Optional LLM | Green Engine embed/chat + Green Compress weights |
init indexes the repo, starts the watch daemon, wires MCP for your editor, and writes agent rules. Optional local dashboard: ge ui serve → http://127.0.0.1:8780
Full tool reference: docs/MCP_TOOLS.md
Benchmarks
See docs/BENCHMARK.md for recorded retrieval and indexing benchmarks on real repositories.
Documentation
docs/MCP_TOOLS.md — MCP tool reference
docs/BENCHMARK.md — benchmark results
CHANGELOG.md — version history
third_party/README.md — bundled Green stack binaries
Limitations
Requires a git repository for indexing.
CGO and a C compiler are required to build from source (tree-sitter).
Semantic rerank and some enrichment features need optional local LLM services (Green Engine).
Windows arm64 prebuilt CI is temporarily disabled; x64 is fully supported.
Contributing
Bug reports, benchmark results, compatibility notes, and suggested improvements are welcome on the official VeyrForge/codehelper repository.
To prepare a code change: fork the official repository only to open a pull request back to VeyrForge. Do not publish forks as competing distributions. See License and permitted use below.
Public release history
See CHANGELOG.md and GitHub Releases.
License and permitted use
Codehelper is source-available software — not open source.
You may download, clone, install, inspect, and run Codehelper for personal use or internal use within your organization.
You may fork the official repository solely for the purpose of preparing and submitting a contribution back to the official VeyrForge repository.
You may not redistribute Codehelper, publish modified builds, sell or sublicense it, offer it as a competing hosted service, or use its source code to create a competing product without written permission from VeyrForge.
Tutorials and blog posts may include short illustrative snippets from the published source for explanation, provided they do not redistribute the software or imply an open-source license.
For commercial redistribution, OEM licensing, or other usage not covered above, contact VeyrForge.
This section is a plain-language summary. The binding terms are in LICENSE.
Maintenance
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/VeyrForge/codehelper'
If you have feedback or need assistance with the MCP directory API, please join our Discord server