~/CLIRank
MCP ServerVerified~110ms avg

MongoDB MCP Server

Query MongoDB databases, manage collections, and inspect documents.

Install
claude mcp add mongodb -- npx -y mongodb-mcp-server
Direct API Alternative

You can also call this service directly via its API: MongoDB API

Use the MCP when:

You want plug-and-play integration with Claude Code and don't need custom logic around the calls.

Use the API when:

You need fine-grained control, custom error handling, or want to chain multiple API calls in a script.

About

Connect Claude Code to your MongoDB databases. Run queries with the full aggregation pipeline, manage collections, create indexes, and inspect document schemas. Supports both MongoDB Atlas and self-hosted instances. Useful for debugging data issues, writing complex queries, and managing database operations from the terminal.

Tags

databasemongodbnosqldocuments

Score Breakdown

CLI Score Breakdown8/11
Official SDK on npm/pip+2
Env var authentication (no browser OAuth)+2
Works in headless/CI environments+2
CLI tool available0
JSON response for piping/parsing+1
Docs have curl/CLI examples+1
Reasonable rate limits for scripted use0
Machine-readable pricing (md/JSON/static)0
Quality Score Breakdown
npm weekly downloads8.0k
GitHub stars1.5k
Days since last release13d
Issue close ratio79%
TypeScript typesYes
Docs qualitygood
Breaking changesrare

Performance

Latencyus-east-1 - 2026-03-26
p50
85ms
avg
110ms
p95
280ms

Scores

CLI
8
Quality
8
AuthorMongoDB
Weekly installs8,000
Last updated3/18/2026

Related

MCP ServerVerified~140ms - Moderate
15k/wk

Supabase MCP Server

Manage Supabase projects, databases, auth, and storage from Claude Code.

CLI
8
Quality
8
claude mcp add supabase -- npx -y @supabase/mcp-server-supabase
MCP ServerVerified
17k/wk

PostgreSQL MCP Server

Query PostgreSQL databases, inspect schemas, and run migrations.

CLI
9
Quality
8
claude mcp add postgres -- npx -y @modelcontextprotocol/server-postgres postgresql://localhost:5432/mydb
MCP ServerVerified
12k/wk

SQLite MCP Server

Read and write SQLite databases with full SQL support.

CLI
8
Quality
8
claude mcp add sqlite -- npx -y @modelcontextprotocol/server-sqlite /path/to/database.db