MCP Servers / database / MongoDB

MongoDB

JSON →
stdionone9database

Provides read-only access to MongoDB databases through standardized MCP tools and resources.

Install
How to run this server

No install command recorded.

server path: mongodb-2
Tools
What this server exposes
list_databases
List all databases available on the MongoDB server
list_collections
List all collections in a specified database
infer_schema
Infer collection schema from sample documents
find_documents
Execute MongoDB queries with filtering, projection, sorting, and limiting
aggregate
Run read-only aggregation pipelines with safety validation
text_search
Perform full-text search on collections with text indexes
geospatial_query
Find locations near points, within polygons, or intersecting geometries
count_documents
Count documents in a collection
sample_documents
Sample random documents from a collection
find_by_ids
Find documents by their IDs
get_collection_stats
Get collection statistics
get_indexes
Get index information for a collection
explain_query
Examine query execution plans to optimize performance
get_distinct_values
Get distinct values for a field
get_field_distributions
Get field value distributions
export_json
Export query results as JSON format
export_csv
Export query results as CSV format
Configuration
Environment & auth
authnone
Resources
MongoDB — MCP Server · libregistry