{"id":22670771,"url":"https://github.com/kiliczsh/mcp-mongo-server","last_synced_at":"2026-02-06T17:06:43.335Z","repository":{"id":267675480,"uuid":"898654014","full_name":"kiliczsh/mcp-mongo-server","owner":"kiliczsh","description":"A Model Context Protocol Server for MongoDB","archived":false,"fork":false,"pushed_at":"2025-05-27T05:53:29.000Z","size":98,"stargazers_count":271,"open_issues_count":2,"forks_count":50,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-01-02T19:42:28.714Z","etag":null,"topics":["antrophic","claude","claude-desktop","cline","cursor","mcp","model-context-protocol","mongo","mongodb","windsurf"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/mcp-mongo-server","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kiliczsh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-04T19:30:40.000Z","updated_at":"2025-12-30T09:34:30.000Z","dependencies_parsed_at":"2024-12-11T19:35:20.760Z","dependency_job_id":"8ceb1fe3-03f2-4cae-b53a-5a06d7d0913b","html_url":"https://github.com/kiliczsh/mcp-mongo-server","commit_stats":null,"previous_names":["kiliczsh/mcp-mongo-server"],"tags_count":29,"template":false,"template_full_name":null,"purl":"pkg:github/kiliczsh/mcp-mongo-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiliczsh%2Fmcp-mongo-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiliczsh%2Fmcp-mongo-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiliczsh%2Fmcp-mongo-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiliczsh%2Fmcp-mongo-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kiliczsh","download_url":"https://codeload.github.com/kiliczsh/mcp-mongo-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiliczsh%2Fmcp-mongo-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29169384,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T16:33:35.550Z","status":"ssl_error","status_checked_at":"2026-02-06T16:33:30.716Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["antrophic","claude","claude-desktop","cline","cursor","mcp","model-context-protocol","mongo","mongodb","windsurf"],"created_at":"2024-12-09T16:01:15.060Z","updated_at":"2026-02-06T17:06:43.330Z","avatar_url":"https://github.com/kiliczsh.png","language":"TypeScript","funding_links":[],"categories":["Databases","Database \u0026 Messaging MCP Servers","サーバー実装","🗄️ \u003ca name=\"databases\"\u003e\u003c/a\u003eDatabases","📚 Projects (1974 total)","Community Servers","MCP 服务器精选列表","🗄️ Database","Legend","MCP Servers","Cloud Services","Data \u0026 Databases","🗄️ Databases","Uncategorized","Table of Contents","📂 카테고리","🗂️ Extensions by Category","MCP Servers \u0026 Protocol","Server Implementations"],"sub_categories":["NoSQL \u0026 Document","🗄️ \u003ca name=\"databases\"\u003e\u003c/a\u003eデータベース","MCP Servers","🗄️ 数据库交互","🗄️ \u003ca name=\"databases\"\u003e\u003c/a\u003eDatabases","🗄️ Databases","How to Submit","💾 Databases","NoSQL Databases","Uncategorized","Databases"],"readme":"# MCP MongoDB Server\n---\n\n![NPM Version](https://img.shields.io/npm/v/mcp-mongo-server)\n![NPM Downloads](https://img.shields.io/npm/dm/mcp-mongo-server)\n![NPM License](https://img.shields.io/npm/l/mcp-mongo-server)\n[![smithery badge](https://smithery.ai/badge/mcp-mongo-server)](https://smithery.ai/server/mcp-mongo-server)\n[![Verified on MseeP](https://mseep.ai/badge.svg)](https://mseep.ai/app/e274a3dd-7fe6-4440-8c43-043bae668251)\n\nA Model Context Protocol server that enables LLMs to interact with MongoDB databases. This server provides capabilities for inspecting collection schemas and executing MongoDB operations through a standardized interface.\n\n## Demo\n\n[![MCP MongoDB Server Demo | Claude Desktop](https://img.youtube.com/vi/FI-oE_voCpA/0.jpg)](https://www.youtube.com/watch?v=FI-oE_voCpA)\n\n## Key Features\n\n- **Smart ObjectId Handling** - Configurable auto/none/force modes for string-to-ObjectId conversion\n- **Read-Only Mode** - Protection against write operations, uses secondary read preference\n- **Schema Inference** - Automatic collection schema detection from document samples\n- **Query \u0026 Aggregation** - Full MongoDB query and aggregation pipeline support with optional explain plans\n- **Write Operations** - Insert, update, and index creation (when not in read-only mode)\n- **Collection Completions** - Auto-complete collection names for LLM integration\n\n## Installation\n\n```bash\nnpx -y mcp-mongo-server mongodb://localhost:27017/database\n```\n\n## Usage\n\n```bash\n# Start server with MongoDB URI\nnpx -y mcp-mongo-server mongodb://muhammed:kilic@localhost:27017/database\n\n# Connect in read-only mode\nnpx -y mcp-mongo-server mongodb://muhammed:kilic@localhost:27017/database --read-only\n```\n\n### Environment Variables\n\n| Variable | Description |\n|----------|-------------|\n| `MCP_MONGODB_URI` | MongoDB connection URI |\n| `MCP_MONGODB_READONLY` | Enable read-only mode (`\"true\"`) |\n\n## Documentation\n\n- [Integration Guide](docs/integration.md) - Claude Desktop, Windsurf, Cursor, Docker\n- [Available Tools](docs/tools.md) - Query, aggregate, update, insert, and more\n- [Development](docs/development.md) - Setup, scripts, and debugging\n- [Contributing](CONTRIBUTING.md)\n\n## License\n\nMIT - see [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiliczsh%2Fmcp-mongo-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkiliczsh%2Fmcp-mongo-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiliczsh%2Fmcp-mongo-server/lists"}