# Anumana

> Anumana is an open-source MCP server. Predict query cost, explain the plan, and rewrite it before you run it — 12 DB engines. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/sinhakan-ra/anumana
- **MCP Registry name:** io.github.sinhaKAN-ra/anumana
- **Listing updated:** 2026-11-13

## About

Predict query cost, explain the plan, and rewrite it before you run it — 12 DB engines.

## Install

### Claude Code (Terminal)

```sh
claude mcp add anumana --env ANUMANA_DSN='<ANUMANA_DSN>' --env ANUMANA_TARGETS='<ANUMANA_TARGETS>' -- uvx anumana-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "anumana": {
      "command": "uvx",
      "args": [
        "anumana-mcp"
      ],
      "env": {
        "ANUMANA_DSN": "<ANUMANA_DSN>",
        "ANUMANA_TARGETS": "<ANUMANA_TARGETS>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "anumana": {
      "command": "uvx",
      "args": [
        "anumana-mcp"
      ],
      "env": {
        "ANUMANA_DSN": "<ANUMANA_DSN>",
        "ANUMANA_TARGETS": "<ANUMANA_TARGETS>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "anumana": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "anumana-mcp"
      ],
      "env": {
        "ANUMANA_DSN": "<ANUMANA_DSN>",
        "ANUMANA_TARGETS": "<ANUMANA_TARGETS>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "anumana": {
      "command": "uvx",
      "args": [
        "anumana-mcp"
      ],
      "env": {
        "ANUMANA_DSN": "<ANUMANA_DSN>",
        "ANUMANA_TARGETS": "<ANUMANA_TARGETS>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "anumana": {
      "command": "uvx",
      "args": [
        "anumana-mcp"
      ],
      "env": {
        "ANUMANA_DSN": "<ANUMANA_DSN>",
        "ANUMANA_TARGETS": "<ANUMANA_TARGETS>"
      }
    }
  }
}
```

## FAQ

### Is Anumana free?

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

### How do I add Anumana to Claude Code?

Run this command in your terminal: claude mcp add anumana --env ANUMANA_DSN='<ANUMANA_DSN>' --env ANUMANA_TARGETS='<ANUMANA_TARGETS>' -- uvx anumana-mcp

---
Source: https://ai-powered.com/mcp/anumana
