Get the FREE Ultimate OpenClaw Setup Guide →

monkdb

An MCP server 🚀 for MonkDB, licensed under Apache 2.0 📜

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio monkdbofficial-monkdb-mcp python -m mcp_monkdb \
  --env MONKDB_URI="your-monkdb-uri" \
  --env MONKDB_USER="your-username" \
  --env MONKDB_PASSWORD="your-password"

How to use

MonkDB MCP Server exposes MonkDB functionality as standardized MCP commands that can be consumed by MCP clients and LLMs. The Python and TypeScript implementations both provide a consistent surface for querying the MonkDB instance, inspecting table schemas, and performing health checks. Through MCP, you can translate natural language requests into structured operations such as searching documents, filtering results, retrieving specific records, and exploring database schemas. The two server variants allow you to choose the stack you prefer or that best fits your deployment constraints, while preserving a unified set of capabilities and response formats for LLM integration.

How to install

Prerequisites:

  • Node.js and npm (for the TypeScript MCP server)
  • Python 3.8+ (for the Python MCP server)
  • Access credentials to your MonkDB instance (URI, user, password)
  • Optional: pipx for Python package management

Python MCP server installation:

  1. Ensure Python is installed and accessible via python3.
  2. Install the MCP MonkDB package (from PyPI): pip install mcp-monkdb
  3. Verify installation by running the module (adjust if needed to your environment): python -m mcp_monkdb --help

TypeScript MCP server installation:

  1. Ensure Node.js and npm are installed.
  2. Install the TS MCP package (from npm): npm install @monkdb/monkdb-mcp
  3. Build or run the TypeScript server as per your project structure. Example (adjust paths as needed): node typescript/server.js --help

Configuration tips:

  • Replace MONKDB_URI, MONKDB_USER, and MONKDB_PASSWORD with your actual MonkDB credentials.
  • For production, consider using environment-based secret management and TLS where supported.
  • If you prefer to run with Docker, adapt the mcp_config accordingly (not shown in this config).

Additional notes

Tips and common issues:

  • Ensure the MonkDB instance is reachable from your MCP server host; network ACLs and firewalls can block access.
  • If you update the MonkDB connection details, restart the MCP server to apply changes.
  • Check logs for authentication errors, malformed requests, or missing required fields in MCP payloads.
  • The two implementations (Python and TypeScript) expose the same MCP commands; use the one that matches your stack preference.
  • Common MCP commands include: connect, query, explain_schema, health, and list_tables. Use a client to exercise these commands and verify responses.
  • Environment variables: MONKDB_URI, MONKDB_USER, MONKDB_PASSWORD are the primary required values; add any extra security-related variables as needed by your deployment.

Related MCP Servers

Sponsor this space

Reach thousands of developers ↗