How do I install Codemesh?
Run `npm install -g @pyalwin/codemesh` or run directly with `npx -y @pyalwin/codemesh`.
@pyalwin
Basic information
Intelligent code knowledge graph for AI coding agents. Gives agents a persistent, queryable knowledge graph with search, call tracing, and agent write-back. 71% cheaper, 72%
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"codemesh": {
"command": "npx",
"args": [
"-y",
"@pyalwin/codemesh"
],
"env": {
"CODEMESH_PROJECT_ROOT": "/path/to/your/project"
}
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Codemesh is an MCP server that gives AI coding agents a persistent, queryable knowledge graph. It indexes codebases into a graph of symbols, edges, and embeddings, enabling agents to explore, trace, and ask questions without wasting tokens on discovery. It is for developers using AI coding agents on real-world codebases.
Install the npm package globally (npm install -g @pyalwin/codemesh), then index your project (codemesh index --with-embeddings). Configure your MCP client (e.g., Claude Code, Claude Desktop, Cursor) with the codemesh MCP server pointing to your project root. The agent gets six codemesh_* tools: codemesh_answer, codemesh_explore, codemesh_trace, codemesh_enrich, codemesh_workflow, codemesh_status. Alternatively, use CLI mode by exporting CODEMESH_PROJECT_ROOT and calling codemesh explore ... directly via Bash.
Run `npm install -g @pyalwin/codemesh` or run directly with `npx -y @pyalwin/codemesh`.
MCP Server works via structured tool calls and is best for Opus and complex workflows. CLI mode has zero MCP overhead, calls codemesh directly via Bash, and is recommended for Sonnet/Haiku and speed-sensitive workflows.
It requires Node.js and npm. It has no other external dependencies. The codebase must be a local project directory.
The agent can call `codemesh_enrich` and `codemesh_workflow` tools to persist summaries, concepts, and multi-file flows into the graph. These enrichments survive re-indexing and are available across sessions.
Run `codemesh index --with-embeddings` from the project root. This creates symbols, edges, and embeddings for all files. The index step takes seconds to minutes depending on codebase size.

Catch intent conflicts before code conflicts. The open-source coordination protocol for coding agents, built above Git.

Automated codebase documentation for GitHub: searchable docs, MCP context for AI agents, doc drift detection, and Friday Cleanup PRs.

ArtiBot Cloud MCP (Zhijiangyun 智匠云) — cloud MCP server for robot manipulation data & GPU workloads. 15 tools: robot fleet management, data collection & video recording, post-processing pipelines, and benchmark evaluation


Form backend for static sites. Create form endpoints, get paste-ready markup for HTML, React, Vue, Svelte and Astro, and read submission stats — straight from your agent. Submissions are spam-filtered, stored, and routed
Comments