# ctx — queryable code graph

> ctx — queryable code graph is an open-source MCP server. Call graphs, blast radius and API-breakage gates. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/eagle-logic/context
- **MCP Registry name:** io.github.Eagle-Logic/ctx
- **Listing updated:** 2026-11-16

## About

Call graphs, blast radius and API-breakage gates. Every answer reports its own completeness.

## Install

### Claude Code (Terminal)

```sh
claude mcp add ctx -- npx -y code-context
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "ctx": {
      "command": "npx",
      "args": [
        "-y",
        "code-context"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "ctx": {
      "command": "npx",
      "args": [
        "-y",
        "code-context"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "ctx": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "code-context"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "ctx": {
      "command": "npx",
      "args": [
        "-y",
        "code-context"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "ctx": {
      "command": "npx",
      "args": [
        "-y",
        "code-context"
      ]
    }
  }
}
```

## FAQ

### Is ctx — queryable code graph free?

Yes. ctx — queryable code graph is open source, so you can use and self-host it for free.

### How do I add ctx — queryable code graph to Claude Code?

Run this command in your terminal: claude mcp add ctx -- npx -y code-context

## Where this comes from

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

---
Source: https://ai-powered.com/mcp/ctx-queryable-code-graph
