MongoDB MCP Server

MongoDB MCP Server

mongo_mcp_server•byseeun0210

A Model Context Protocol server that analyzes MongoDB database structures and generates ERDs and queries.

License: Not specified•Runtime: Awaiting documentation review•Category: databases storage

WHAT IT DOES

  • •Generates ERD diagrams from a database's collection structure in mermaid or json format.
  • •Generates MongoDB or Mongoose queries from natural-language descriptions by analyzing the actual database structure.

BEST FOR

  • •Finding users who signed up today via a natural-language description.
  • •Visualizing a database's collection relationships as a mermaid ERD.

ABOUT MONGO_MCP_SERVER

MongoDB MCP Server is cataloged as an MCP server attributed to seeun0210. A Model Context Protocol server that analyzes MongoDB database structures and generates ERDs and queries. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MongoDB MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Can generated queries include an explanation?

Yes, query generation supports an includeExplanation option that defaults to true.

Upstream README

View this exact version on GitHub

README.md · 15050950cda4 · Fetched 2026-11-13 12:38:59 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

MongoDB MCP Server

MongoDB 데이터베이스를 위한 Model Context Protocol (MCP) 서버입니다. 이 서버는 MongoDB 데이터베이스의 구조를 분석하고, AI를 활용하여 쿼리를 생성하는 기능을 제공합니다.

기능

1. ERD 생성 (generateErd)

데이터베이스의 컬렉션 구조를 분석하여 ERD(Entity Relationship Diagram)를 생성합니다.

  • 입력 파라미터:

    {
      "database": "string",
      "collections": ["string"],  // 선택적
      "format": "mermaid" | "json"  // 기본값: "mermaid"
    }
    
  • 사용 예시:

    {
      "database": "test",
      "format": "mermaid"
    }
    

2. 쿼리 생성 (generateQuery)

자연어 설명을 기반으로 MongoDB 쿼리를 생성합니다. 데이터베이스의 실제 구조를 분석하여 정확한 쿼리를 생성합니다.

  • 입력 파라미터:

    {
      "database": "string",
      "collection": "string",
      "description": "string",
      "type": "mongodb" | "mongoose",  // 기본값: "mongodb"
      "includeExplanation": boolean  // 기본값: true
    }
    
  • 사용 예시:

    {
      "database": "test",
      "collection": "users",
      "description": "오늘 가입한 사용자 찾기",
      "type": "mongodb"
    }
    

설치 및 실행

  1. 의존성 설치:

    npm install
    
  2. 빌드:

    npm run build
    
  3. 서버 실행:

    node dist/index.js "mongodb://localhost:27017"
    

Claude Desktop 설정

macOS에서 Claude Desktop과 함께 사용하려면 다음과 같이 설정하세요:

  1. 설정 파일 위치: ~/Library/Application Support/Claude/claude_desktop_config.json

  2. MCP 서버 설정 추가:

    {
      "mcp": {
        "servers": [
          {
            "name": "mongodb",
            "command": "node /path/to/mongo-mcp-server/dist/index.js mongodb://localhost:27017/test"
          }
        ]
      }
    }
    
  3. Claude Desktop 재시작

개발

프로젝트 구조

src/
├── index.ts          # 메인 서버 코드
├── tools/
│   ├── generateErd.ts    # ERD 생성 도구
│   └── generateQuery.ts  # 쿼리 생성 도구

새로운 도구 추가

  1. src/tools 디렉토리에 새 도구 파일 생성
  2. 도구 인터페이스 구현:
    export const newTool = {
      parameters: {
        // 파라미터 정의
      },
      async execute(params: any, context: { client: MongoClient }) {
        // 도구 로직 구현
      },
    };
    
  3. src/index.ts에 도구 등록

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MongoDB MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mongo_mcp_server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related databases storage MCP Servers

Alternative and complementary servers in the same category

View all in databases storage →
AIStor MCP server
mcp-server-aistor•minio

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

Repository stats unavailable
Databases & Storage
InfluxDB v2 MCP Server
influxdb-mcp-server•idoru

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.

Repository stats unavailable
Databases & Storage