How to Use the DataStax Astra DB Vector MCP in Claude Code
Manage your vector database collections straight from the terminal with Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect DataStax Astra DB Vector MCP to Claude Code
Create your Vinkius account to connect DataStax Astra DB Vector to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Automate database maintenance scripts
Running database cleanup tasks usually requires writing custom Python scripts. Now you just pipe a natural language command into your terminal. The CLI agent uses `delete_document` or `count_documents` to prune old records automatically. You can schedule these operations in a cron job or a GitHub Action. The headless execution means you get full NoSQL document management without ever opening a browser or writing a custom API wrapper.
Test ANN queries via DataStax MCP Server
Debugging vector search accuracy from the command line is finally practical. You ask the CLI to find similar records, and it formats the `vector_search` call, returning the nearest neighbors directly to your standard output. This makes it incredibly easy to validate embedding models during your CI/CD pipeline. The agent pulls the results, compares the distances, and can even fail a build if the similarity scores drop below your threshold.
Audit your database namespaces instantly
DevOps engineers need fast ways to check environment status. Firing off a quick command lets the agent run `list_collections` to verify your production namespaces are configured correctly. If a deployment fails, you can ask the CLI to investigate. It will use `find_documents` to check if the migration actually inserted the expected records, giving you immediate terminal feedback on the database state.
Set up DataStax Astra DB Vector MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seedatastax-astra-db-vector-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest DataStax Astra DB Vector transactions." It will automatically discover and invoke the available DataStax Astra DB Vector tools.
claude mcp add --transport http datastax-astra-db-vector-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about DataStax Astra DB Vector MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the DataStax Astra DB Vector MCP today
We host it, we monitor it, we maintain it. You just paste one token.