Astra DB MCP

Explore, query, vector-search, and change your Astra DB from ChatGPT, Claude, or any MCP client, with interactive views. Nothing is stored here: each request carries its own credentials.

https://astra-widgets-mcp.vercel.app/mcp

Connect with OAuth

  1. ChatGPT: turn on developer mode, add a custom connector, paste the URL above, and choose OAuth.
  2. claude.ai / Claude Desktop: Settings → Connectors → Add custom connector, then paste the URL.
  3. On the Connect Astra DB page, enter an application token (Astra console → Settings → Tokens). The endpoint is optional when the token sees one database. Tick Allow writes only if the assistant should be able to change data; destructive operations still ask first.

Or send headers

Authorization: Bearer <ASTRA_DB_APPLICATION_TOKEN>
X-Astra-Endpoint: https://<db-id>-<region>.apps.astra.datastax.com
X-Astra-Allow-Writes: true      # optional; read-only without it

Run it locally instead

For coding agents, the local server reads your project's .env and needs no hosted hop:

npx -y @erichare/astra-mcp init
Add to Cursor Install in VS Code Claude Desktop bundle (.mcpb) Claude Code, Codex, Bob, and more