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

A lightweight MCP server that lets LLMs and MCP clients explore database schemas, run read-only SQL queries, and use pre-built analytical prompts against Apache Doris or other MySQL-compatible databases.
Doris-MCP-Lite: MCP server for Apache Doris and MySQL-compatible databases is cataloged as an MCP server attributed to nomotok. A lightweight MCP server that lets LLMs and MCP clients explore database schemas, run read-only SQL queries, and use pre-built analytical prompts against Apache Doris or other MySQL-compatible databases. 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.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Doris-MCP-Lite: MCP server for Apache Doris and MySQL-compatible databases 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.
It is designed for Apache Doris as well as other MySQL-compatible database schemas.
The documented SQL tools execute read-only queries against the Doris database.
README.md · 1355c7290692 · 采集于 2026-11-13 12:34:05 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A lightweight MCP server designed for connecting to Apache Doris or other MySQL compatible database schemas, providing tools and prompts for LLM applications.
This server enables LLMs and MCP clients to explore database schemas, run read-only SQL queries, and leverage pre-built analytical prompts — all through a standardized, secure MCP interface.
[!WARNING] This is an early developer version of doris-mcp-lite. Some functions may not operate properly and minor bugs may exist. If you have any quesions, please open an issue. The official Apache Doris MCP server is available at apache/doris-mcp-server
We recommend using uv to manage your Python environment.
Recommended for personal and server deployment
This is the easiest way to install. Please copy the setup.sh file in project and run it locally. For more information please refer: Doris MCP install guide
setup.sh to local.chmod +x setup.sh
./setup.sh
The script will automatically install the server and help you walk through database configuration.
pipRecommended for production usage
pip install doris-mcp-lite
✅ After installation, the command-line tool server will be available to launch the MCP server.
Recommended if you want to modify the server
git clone https://github.com/YOUR_USERNAME/doris-mcp-lite.git
cd doris-mcp-lite
uv venv # Create a virtual environment
uv sync # Install dependencies
# Activate the virtual environment
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv pip install
uv run server doris://user:pass@localhost:9030/mydb
For local editable installations
uv pip install 'git+https://github.com/NomotoK/doris-mcp-lite.git'
uv sync
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv pip install -e .
uv run server doris://user:pass@localhost:9030/mydb
.env file (optional)Use the .env file to permanently save your database connection information in the MCP server, so you do not need to enter the database connection every time you run the MCP server with CLI. Of course, this step is not necessary, if you are using a MCP-capatible LLM client, you can also set up a database connection in the configuration file of the MCP client later (See step2). Please follow these steps to finish configuration:
This is the most recommended and easiest way to setup. Please refer to Doris MCP install guide.
.envAfter installing, navigate to the doris_mcp_lite/config/ directory inside your project directory. If you are using pip, your package will be installed in Python site-packages:
Mac/Linux: /Users/YOUR_USERNAME/.local/lib/python3.x/site-packages/doris_mcp_lite/config/
Windows: C:\Users\YOUR_USERNAME\AppData\Local\Programs\Python\Python3x\Lib\site-packages\doris_mcp_lite\config\
You can run the following command to locate pip install location:
pip show doris-mcp-lite
You will find a .env.example file:
.env.example to .env:cp .env.example .env
DB_HOST=your-doris-host
DB_PORT=9030
DB_USER=your-username
DB_PASSWORD=your-password
DB_NAME=your-database
MCP_SERVER_NAME=DorisAnalytics
DEBUG=false
[!NOTE] If
.envis missing, the server will attempt to auto-create it from.env.examplebut you must manually fill in correct credentials.
To connect this server to an MCP-compatible client (e.g., Claude Desktop, CherryStudio, Cline), you need to modify your MCP client configuration JSON.
Example if you are using CherryStudio:
--directory
/Users/hailin/dev/Doris-MCP-Lite
run
server
doris://user:pass@localhost:9030/mydb
Example if you are installing with pip (mcp_setting.json):
{
"mcpServers": {
"DorisAnalytics": {
"command": "server",
"args": ["doris://user:pass@localhost:9030/mydb"],
"transportType": "stdio"
}
}
}
If you are installing with source code/uv or using setup.sh:
{
"mcpServers": {
"DorisAnalytics": {
"disabled": false,
"timeout": 60,
"command": "absolute/path/to/uv",
"args": [
"--directory",
"absolute/path/to/mcp/server",
"run",
"server"
"doris://user:pass@localhost:9030/mydb"
],
"transportType": "stdio"
}
}
}
Note that you can use uv and server instead of passing absolute path in config file, but you need to make sure that uv is in your PATH.
Connection URL
Remember to replace doris://user:pass@localhost:9030/mydb with your actual database connection string.
For more information on how to configure your client, please refer to :
For Server Developers - Model Context Protocol - Claude
Config and Using MCP | CherryStudio
✅ Now your LLM client will discover Doris Analytics tools, prompts, and resources through the MCP server.
Before you start, you can run the test.py in the project src/doris-mcp-lite directory to directly call the MCP Server functional interface to test database connection, resources, tools, etc. without using LLM (such as Claude, GPT, etc. models). You can control what functions to test by passing arguments through the command line.
Test all resources exposed by the server:
python test.py --server server.py --test resources
or test all the tools provided by the server:
python test.py --server server.py --test tools
or test database connection:
python test.py --server "doris://user:pass@localhost:9030/mydb" --test dbconfig
or test all functions of resources, tools, and prompt words at one time:
python test.py --server server.py --test all
Launch the MCP server by running the command:
server doris://user:pass@localhost:9030/mydb
Or manually:
python -m doris_mcp_lite.server doris://user:pass@localhost:9030/mydb
The server immediately attempts to connect to the database. If the connection is successful, after startup, you should see:
🚀 Doris MCP Server is starting...
[DorisConnector] Connected to 127.0.0.1:9030
✅ Database connection successful.
[DorisConnector] Connection closed.
You can now use the tools and prompts inside your MCP client.
src/
└── doris_mcp_lite/
├── config/ # Configuration files
│ ├── __init__.py
│ ├── config.py # Loads environment variables
│ ├── .env.example # Environment variables template
│ └── .env # Stores your database credentials
│
├── db/ # Database interaction logic
│ ├── __init__.py
│ ├── db.py # Doris database connection class
│ └── tools.py # SQL query execution tools
│
├── res/ # Resource definitions (e.g., schemas)
│ ├── __init__.py
│ └── resources.py
│
├── prompts/ # Prebuilt prompt templates
│ ├── __init__.py
│ ├── general_prompts.py
│ └── customize_prompts.py
│
├── __init__.py # Main entry point to start the MCP server
├── server.py # Server launcher
├── mcp_app.py # MCP server instance
└── test.py # Unit test script
README.md # Documentation
INSTALL.md # Installation guide
LISENCE # Lisence
setup.sh # Auto setup wizard
pyproject.toml # Project build configuration
.gitignore # Git ignore settings
This project is licensed under the MIT License.
Contributions are welcome! Feel free to open issues or submit pull requests.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Doris-MCP-Lite: MCP server for Apache Doris and MySQL-compatible databases from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/doris-mcp-server-nomotok)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

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

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

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