Astra DB MCP Server

Databasestdio
Repository

DataStax's official MCP server for Astra DB, a serverless database built on Apache Cassandra with native vector search. Lets AI agents create and manage collections, insert and update records, and run similarity and metadata queries, making it a convenient backend for retrieval-augmented generation and agent memory workloads.

Connect

Add this configuration to .claude/mcp.json

{
  "mcpServers": {
    "astra-db": {
      "command": "npx",
      "args": [
        "-y",
        "@datastax/astra-db-mcp"
      ],
      "env": {
        "ASTRA_DB_APPLICATION_TOKEN": "<YOUR_ASTRA_DB_APPLICATION_TOKEN>",
        "ASTRA_DB_API_ENDPOINT": "<YOUR_ASTRA_DB_API_ENDPOINT>"
      }
    }
  }
}

Tools (3)

ListCollections

List the collections available in the Astra DB database.

{
  "type": "object",
  "properties": {}
}

CreateCollection

Create a new collection, optionally configured for vector search.

{
  "type": "object",
  "required": [
    "collectionName"
  ],
  "properties": {
    "dimension": {
      "type": "integer",
      "description": "Vector dimension, if the collection stores embeddings"
    },
    "collectionName": {
      "type": "string",
      "description": "Name of the collection to create"
    }
  }
}

FindRecords

Query records in a collection by filter or vector similarity.

{
  "type": "object",
  "required": [
    "collectionName"
  ],
  "properties": {
    "filter": {
      "type": "object",
      "description": "Optional metadata filter"
    },
    "collectionName": {
      "type": "string",
      "description": "Collection to query"
    }
  }
}

Resources

This server does not expose any resources.

Prompts

This server does not expose any prompts.

Server Information

Author
DataStax (@datastax)
Repository
https://github.com/datastax/astra-db-mcp
Stars
0
Last Updated
July 12, 2026