Skip to content
MCP server

Repo Cartographer

Maps any repo into an architecture diagram (Mermaid/Graphviz) and enforces architecture…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.1
Listing updated
4 days ago

About Repo Cartographer

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

Maps any repo into an architecture diagram (Mermaid/Graphviz) and enforces architecture rules in CI

Install

Run in a terminal

claude mcp add repo-cartographer -- npx -y repo-cartographer

Add to claude_desktop_config.json

{
  "mcpServers": {
    "repo-cartographer": {
      "command": "npx",
      "args": [
        "-y",
        "repo-cartographer"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "repo-cartographer": {
      "command": "npx",
      "args": [
        "-y",
        "repo-cartographer"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "repo-cartographer": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "repo-cartographer"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "repo-cartographer": {
      "command": "npx",
      "args": [
        "-y",
        "repo-cartographer"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "repo-cartographer": {
      "command": "npx",
      "args": [
        "-y",
        "repo-cartographer"
      ]
    }
  }
}

Pricing

Open source

Prices change. Check huggingface.co before you buy.

Repo Cartographer FAQ

Is Repo Cartographer free?

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

How do I add Repo Cartographer to Claude Code?

Run this command in your terminal: claude mcp add repo-cartographer -- npx -y repo-cartographer