Database · Developer Tools

Astra Db MCP logo

Astra Db MCP

datastax/astra-db-mcp

A Model Context Protocol (MCP) server for interacting with Astra DB. MCP extends the capabilities of Large Language Models (LLMs) by allowing them to interact with external systems as agents.

Install

npx -y @datastax/astra-db-mcp

Client configuration

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

Environment variables

ASTRA_DB_APPLICATION_TOKENASTRA_DB_API_ENDPOINTOPENAI_API_KEY
GitHub stars
18
Author
@datastax
Category
Database, Developer Tools
Updated
Oct 6, 2026

Tools (39)

  • GetCollections

    Get all collections in the active keyspace

  • GetCollectionInfo

    Inspect collection options, vector settings, and default ID configuration

  • CreateCollection

    Create a collection with vector options, distance metrics (cosine, euclidean, dot_product), and auto-vectorize configurations

  • UpdateCollection

    Update or rename a collection

  • DeleteCollection

    Delete a collection

  • EstimateDocumentCount

    Get an approximate count of documents in a collection

  • GetRecord

    Get a specific record by ID

  • CreateRecord

    Insert a single document

  • UpdateRecord

    Update a record

  • DeleteRecord

    Delete a record by ID

  • FindRecord

    Find records by exact field value match

  • FindWithFilter

    Rich querying with MongoDB-style filter operators ($and, $or, $gt, $in, $exists, etc.)

  • FindDistinctValues

    Find distinct values for a specific field in a collection

  • BulkCreateRecords

    Insert multiple documents in batch

  • BulkUpdateRecords

    Update multiple documents in batch

  • BulkDeleteRecords

    Delete multiple documents in batch

  • FindWithVector

    Dense vector similarity search with optional metadata filters, similarity scores, and projection

  • FindWithVectorize

    Natural language search query using Astra DB Vectorize serverless embeddings

  • FindAndRerank

    Hybrid search (lexical + dense vector / auto-vectorize) with server-side reranking scores

  • VectorSearch

    Vector similarity search with minScore threshold and projection

  • HybridSearch

    Combine dense vector similarity and text search with weighted scoring

  • CreateTable

    Create a typed table with column definitions and primary keys

  • AlterTable

    Add or drop columns (including vector columns)

  • DropTable

    Drop a table

  • QueryTable

    Query table rows with filters, sorting, projection, and pagination

  • InsertTableRow

    Insert a single row or batch of rows into a table

  • UpdateTableRow

    Update matching rows in a table

  • DeleteTableRow

    Delete matching rows from a table

  • CreateTableIndex

    Create a secondary index on a table column

  • CreateTableVectorIndex

    Create a vector index on a table column with similarity metrics

  • CreateKeyspace

    Create a new keyspace with optional automatic switching

  • DropKeyspace

    Drop a keyspace

  • UseKeyspace

    Switch the active working keyspace for subsequent operations

  • GetCurrentKeyspace

    Inspect the active keyspace name

  • ListEmbeddingProviders

    Discover supported embedding models and providers

  • ListRerankingProviders

    Discover supported reranking models

  • GetDatabaseInfo

    Retrieve environment metadata (ID, region, status, keyspaces)

  • OpenBrowser

    Open a browser for authentication/setup

  • HelpAddToClient

    Assistance with MCP client installation

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS
Cursor logo

Cursor

Desktop · Freemium · Proprietary

The first agentic IDE. The Cursor editor truly merges how developers and AI work together, delivering a magical coding experience.

WindowsMacOSLinux

Related MCP servers

More servers
Supabase MCP logo

Supabase MCP

supabase-community/supabase-mcp

1.3k

The Model Context Protocol (MCP) standardizes how Large Language Models (LLMs) talk to external services like Supabase. It connects AI assistants directly with your Supabase project and allows them to perform tasks like managing tables, fetching config, and querying data. See the full list of tools.

Database
Genai Toolbox logo

Genai Toolbox

googleapis/genai-toolbox

769

MCP Toolbox for Databases is an open source Model Context Protocol (MCP) server that connects your AI agents, IDEs, and applications directly to your enterprise databases.

Database
Supabase MCP Server logo

Supabase MCP Server

alexander-zuev/supabase-mcp-server

677

Query MCP is an open-source MCP server that lets your IDE safely run SQL, manage schema changes, call the Supabase Management API, and use Auth Admin SDK — all with built-in safety controls.

Database
Awesome MCP List logo

Awesome MCP List

MobinX/awesome-mcp-list

645

This is a continuously updated curated list of MCP servers, covering categories such as browser control, arts and culture, cloud platforms, command line, communication, customer data platforms, databases, developer tools, data science tools, file systems, finance and fintech, gaming, knowledge and memory, location services, marketing, monitoring, search and utilities. Each project includes a GitHub link and star count for quick reference and use.

Database
PostgreSQL Model Context Protocol (PG MCP) Server logo

PostgreSQL Model Context Protocol (PG MCP) Server

stuzero/pg-mcp-server

440

PG-MCP is a server implementation of the Model Context Protocol for PostgreSQL databases. It provides a comprehensive API for AI agents to discover, connect to, query, and understand PostgreSQL databases through MCP's resource-oriented architecture.

Database
dbhub logo

dbhub

bytebase/dbhub

332

[!NOTE] If you need an enterprise-level database MCP server with built-in guardrails like approval flow, access control, data masking, and audit logging beyond what DBHub offers, check out Bytebase.

Database