MCP server
Anumana
Predict query cost, explain the plan, and rewrite it before you run it — 12 DB engines.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.2.1
- Listing updated
- 5 days ago
About Anumana
Anumana 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 anumana --env ANUMANA_DSN='<ANUMANA_DSN>' --env ANUMANA_TARGETS='<ANUMANA_TARGETS>' -- uvx anumana-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"anumana": {
"command": "uvx",
"args": [
"anumana-mcp"
],
"env": {
"ANUMANA_DSN": "<ANUMANA_DSN>",
"ANUMANA_TARGETS": "<ANUMANA_TARGETS>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"anumana": {
"command": "uvx",
"args": [
"anumana-mcp"
],
"env": {
"ANUMANA_DSN": "<ANUMANA_DSN>",
"ANUMANA_TARGETS": "<ANUMANA_TARGETS>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"anumana": {
"type": "stdio",
"command": "uvx",
"args": [
"anumana-mcp"
],
"env": {
"ANUMANA_DSN": "<ANUMANA_DSN>",
"ANUMANA_TARGETS": "<ANUMANA_TARGETS>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"anumana": {
"command": "uvx",
"args": [
"anumana-mcp"
],
"env": {
"ANUMANA_DSN": "<ANUMANA_DSN>",
"ANUMANA_TARGETS": "<ANUMANA_TARGETS>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"anumana": {
"command": "uvx",
"args": [
"anumana-mcp"
],
"env": {
"ANUMANA_DSN": "<ANUMANA_DSN>",
"ANUMANA_TARGETS": "<ANUMANA_TARGETS>"
}
}
}
}Configuration
ANUMANA_DSNRead-only connection string for the primary target database (e.g. postgresql://readonly@host:5432/db). Optional if ANUMANA_TARGETS is used.ANUMANA_TARGETSJSON array of named targets for a multi-database setup, each with name, engine, and connection string.ANUMANA_POLICIESJSON array of operator enforcement policies (block/warn/allow rules by risk tier or flag). Optional; open by default.
Pricing
Open source
Anumana 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