MCP Server Studio

BanditDB MCP server

Persistent decision memory for agents — learns which action works in which context

Registry name: com.banditdb/mcp

Publisher
banditdb.com
Runs
Runs locally
Package
PyPI
Version
0.3.1
Category
AI & agents
Updated
2026-10-11

Source code on GitHub

Set up BanditDB (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "banditdb-python==0.3.1"
      ],
      "env": {
        "BANDITDB_URL": "<BANDITDB_URL>",
        "BANDITDB_API_KEY": "<BANDITDB_API_KEY>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add mcp -e BANDITDB_URL='<BANDITDB_URL>' -e BANDITDB_API_KEY='<BANDITDB_API_KEY>' -- uvx banditdb-python==0.3.1

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "banditdb-python==0.3.1"
      ],
      "env": {
        "BANDITDB_URL": "<BANDITDB_URL>",
        "BANDITDB_API_KEY": "<BANDITDB_API_KEY>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "banditdb-python==0.3.1"
      ],
      "env": {
        "BANDITDB_URL": "<BANDITDB_URL>",
        "BANDITDB_API_KEY": "<BANDITDB_API_KEY>"
      }
    }
  }
}

Windsurf

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

{
  "mcpServers": {
    "mcp": {
      "command": "uvx",
      "args": [
        "banditdb-python==0.3.1"
      ],
      "env": {
        "BANDITDB_URL": "<BANDITDB_URL>",
        "BANDITDB_API_KEY": "<BANDITDB_API_KEY>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
BANDITDB_URLYesBase URL of the BanditDB server, e.g. http://localhost:8080 or https://your-instance.api.banditdb.com. Try it against the public sandbox at https://sandbox.banditdb.com before running your own.
BANDITDB_API_KEYYesAPI key. A writer-role key is enough for get_intuition and record_outcome; admin is needed to create or delete campaigns.

More ai & agents MCP servers