How to Use the MongoDB Atlas Vector Search MCP in Claude Code
Claude Code brings vector search to the terminal, letting you run headless database operations via this MCP Server.
Works with every AI agent you already use
…and any MCP-compatible client
Connect MongoDB Atlas Vector Search MCP to Claude Code
Create your Vinkius account to connect MongoDB Atlas Vector Search 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.
Headless search for Claude Code
Claude Code executes `search` operations directly from your terminal session. It parses your vector query and outputs the results as JSON for your scripts to process. This is ideal for CI/CD pipelines where you need to verify embedding performance. You pipe the output into your validation scripts to ensure your model output matches your database records.
CLI-based indexing with Claude Code
Claude Code triggers `create_index` during your deployment or setup scripts. It ensures your vector fields are indexed correctly before your application starts its workload. This MCP Server provides the raw control needed for terminal-based infrastructure management. You automate the index lifecycle without needing a GUI or browser.
Manage records in Claude Code
Claude Code uses `find` and `insert` to manage data records directly from the shell. It treats your database as another local resource to be queried or updated. This workflow is built for DevOps engineers who need to patch data or check states in production. You get direct access to your collections through standard terminal commands.
Set up MongoDB Atlas Vector Search 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 seemongodb-atlas-vector-search-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest MongoDB Atlas Vector Search transactions." It will automatically discover and invoke the available MongoDB Atlas Vector Search tools.
claude mcp add --transport http mongodb-atlas-vector-search-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 MongoDB Atlas Vector Search MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the MongoDB Atlas Vector Search MCP today
We host it, we monitor it, we maintain it. You just paste one token.