Skip to content
MCP server

CodeMap

Roslyn-powered MCP server for C#/VB.NET. Query symbols, call graphs, and facts. 90%+…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.4.0
Listing updated
5 days ago

About CodeMap

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

Roslyn-powered MCP server for C#/VB.NET. Query symbols, call graphs, and facts. 90%+ token savings.

Install

Run in a terminal

claude mcp add codemap-mcp -- dnx codemap-mcp --yes

Add to claude_desktop_config.json

{
  "mcpServers": {
    "codemap-mcp": {
      "command": "dnx",
      "args": [
        "codemap-mcp",
        "--yes"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "codemap-mcp": {
      "command": "dnx",
      "args": [
        "codemap-mcp",
        "--yes"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "codemap-mcp": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "codemap-mcp",
        "--yes"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "codemap-mcp": {
      "command": "dnx",
      "args": [
        "codemap-mcp",
        "--yes"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "codemap-mcp": {
      "command": "dnx",
      "args": [
        "codemap-mcp",
        "--yes"
      ]
    }
  }
}

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

Configuration

  • CODEMAP_CACHE_DIRPath to a shared baseline cache directory. When set, index.ensure_baseline checks the cache before running a full Roslyn build — useful on CI or shared machines.

Pricing

Open source

CodeMap FAQ

Is CodeMap free?

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

How do I add CodeMap to Claude Code?

Run this command in your terminal: claude mcp add codemap-mcp -- dnx codemap-mcp --yes

Where this comes from

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

How AIPoweredBot checks servers