MCP.so
Sign In

dolphindb-mcp-server

@tradercjz

About dolphindb-mcp-server

dolphindb-mcp-server

Basic information

Category

Other

Runtime

python

Transports

stdio

Publisher

tradercjz

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "dolphindb-mcp-server": {
      "command": "uvx",
      "args": [
        "dolphindb-mcp-server"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is dolphindb-mcp-server?

dolphindb-mcp-server is an MCP (Model Context Protocol) server that exposes DolphinDB database operations as tools for AI agents and LLM-based applications. It enables users to query databases, list tables, check disk usage, and run arbitrary DolphinDB scripts through MCP-compatible interfaces.

How to use dolphindb-mcp-server?

Install via pip install dolphindb-mcp-server or uvx install dolphindb-mcp-server. Optionally set environment variables (DDB_HOST, DDB_PORT, DDB_USER, DDB_PASSWD) to configure the connection. Start the server by running dolphindb-mcp-server (or uvx dolphindb-mcp-server). Once running, the tool functions are available via the MCP protocol.

Key features of dolphindb-mcp-server

  • Installation via pip, uvx, or local build
  • Configurable DolphinDB connection through environment variables
  • Provides list_dbs(), list_tbs(dbName) queries
  • Exposes query_table_diskusage(database, tableName) tool
  • Supports arbitrary script execution via query_dolphindb(script)
  • Compatible with MCP frontends and LLM toolchains

Use cases of dolphindb-mcp-server

  • Query available databases and tables in a DolphinDB instance
  • Monitor disk usage of specific database tables
  • Execute ad‑hoc DolphinDB scripts through an AI chat interface
  • Integrate DolphinDB analytics into LLM‑driven workflows
  • Automate database inspection with MCP‑compatible agents

FAQ from dolphindb-mcp-server

How do I install dolphindb-mcp-server?

You can install it via pip install dolphindb-mcp-server, use uvx install dolphindb-mcp-server, or build it locally from the GitHub repository.

How do I configure the connection to DolphinDB?

Set the environment variables DDB_HOST, DDB_PORT, DDB_USER, and DDB_PASSWD in a .env file or system environment. If not set, defaults are used.

What functions are exposed by the server?

The server exposes list_dbs(), list_tbs(dbName), query_table_diskusage(database, tableName), and query_dolphindb(script) via FastMCP.

Do I need a running DolphinDB instance?

Yes, the server connects to an existing DolphinDB instance. You must have a DolphinDB server accessible at the configured host and port.

What transport does the server use?

The server uses the MCP protocol (likely stdio transport) to communicate with clients. No HTTP or WebSocket transport is mentioned in the README.

Comments

More Other MCP servers