Skip to content
MCP server

Lachesis

Compiler-precise code property graph for C, Python, and TypeScript, navigable over MCP.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.5.3
Listing updated
today

About Lachesis

Lachesis is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add lachesis -- uvx lachesis-cpg

Add to claude_desktop_config.json

{
  "mcpServers": {
    "lachesis": {
      "command": "uvx",
      "args": [
        "lachesis-cpg"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "lachesis": {
      "command": "uvx",
      "args": [
        "lachesis-cpg"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "lachesis": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "lachesis-cpg"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "lachesis": {
      "command": "uvx",
      "args": [
        "lachesis-cpg"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "lachesis": {
      "command": "uvx",
      "args": [
        "lachesis-cpg"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Pricing

Open source

Lachesis FAQ

Is Lachesis free?

Yes. Lachesis is open source, so you can use and self-host it for free.

How do I add Lachesis to Claude Code?

Run this command in your terminal: claude mcp add lachesis -- uvx lachesis-cpg

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers