Astra DB MCP Server
by erichareio.github.erichare/astra-mcpv2.0.0
Astra DB tools for agents: schema, find, vector search, guarded writes, and interactive views.
context tax
queued
security
queued
cold start
queued
freshness
Active2d ago
Install Astra DB MCP server
Install in Claude Code
claude mcp add erichare -e ASTRA_DB_APPLICATION_TOKEN='<astra-db-application-token>' -- npx -y @erichare/astra-mcpInstall in Cursor
{
"mcpServers": {
"erichare": {
"command": "npx",
"args": [
"-y",
"@erichare/astra-mcp"
],
"env": {
"ASTRA_DB_APPLICATION_TOKEN": "<astra-db-application-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"erichare": {
"command": "npx",
"args": [
"-y",
"@erichare/astra-mcp"
],
"env": {
"ASTRA_DB_APPLICATION_TOKEN": "<astra-db-application-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"erichare": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@erichare/astra-mcp"
],
"env": {
"ASTRA_DB_APPLICATION_TOKEN": "<astra-db-application-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"erichare": {
"command": "npx",
"args": [
"-y",
"@erichare/astra-mcp"
],
"env": {
"ASTRA_DB_APPLICATION_TOKEN": "<astra-db-application-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| ASTRA_DB_APPLICATION_TOKEN | — | yes | Astra application token (AstraCS:…). Optional when the project .env or ~/.astrarc provides one. |
| ASTRA_DB_API_ENDPOINT | — | — | Data API endpoint of the default database. Optional when the token sees one database. |
| ASTRA_DB_KEYSPACE | — | — | Default keyspace (default_keyspace when unset). |
| ASTRA_MCP_READ_ONLY | — | — | Set to 1 to hide write and schema tools. |
Remote endpoints
- streamable-http
https://astra-widgets-mcp.vercel.app/mcp
Freshness
Active — last maintenance signal 2d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-07 · 2d ago · GitHub
Latest release
2026-09-30 · 10d ago · GitHub · v2.1.0
Package published
no data · npm/PyPI
Registry entry updated
2026-09-24 · 16d ago · official registry · v2.0.0
FAQ
›How do I install the Astra DB MCP server in Claude Code?
Run: claude mcp add erichare -e ASTRA_DB_APPLICATION_TOKEN='<astra-db-application-token>' -- npx -y @erichare/astra-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Astra DB require an API key?
Yes. It expects ASTRA_DB_APPLICATION_TOKEN, of which 1 is a secret.
›Can I use Astra DB as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is Astra DB in the official MCP registry?
Yes, as io.github.erichare/astra-mcp.