astra-db-mcp

Astra Db MCP Server

Astra DB users can manage collections and records from MCP clients such as Claude Desktop and Cursor. Tools cover bulk changes, field-based lookups, vector similarity search, and searches combining vectors with text.

Server facts

astra-db-mcp

Project

Author
datastax
License
Apache-2.0
Category
Databases

Tech

Runtime / language
node
Transports
stdio
Remote available
No
Authentication
Not specified

Activity

GitHub stars
42
Last commit
Data as of

Tags

  • astra
  • database
  • db
  • mcp
  • server

Overview

Collection maintenance in astra-db-mcp ranges from listing existing Astra DB collections to creating, updating, or deleting them. CreateCollection accepts vector dimensions and similarity metrics, while EstimateDocumentCount provides an approximate document total. Record tools support retrieval by ID, field-value matching, and individual record creation, updates, and deletion. FindDistinctValues returns unique values from a selected field, with optional filtering. Bulk creation, update, and deletion tools use native batch processing when a change involves multiple records.

VectorSearch works with embeddings and accepts result limits, minimum similarity scores, and additional filters. HybridSearch pairs vector matching with a text query, allowing weights for each search method and selection of the fields used for text matching. These tools serve Astra DB data maintenance and AI application workflows through MCP. Connecting requires a running Astra DB database, an application token, and the database API endpoint. The documented client setups cover Claude Desktop and Cursor. An optional keyspace setting overrides the default supplied by the underlying Astra DB library.

astra-db-mcp setup notes

  • astra-db-mcp records stdio only; confirm a network transport upstream before planning remote access.

Related MCP servers