Apache Doris MCP
by Apache
MPP-based real-time data warehouse with analytical SQL via MCP
database Python Intermediate Self-hostable
β 200 stars π
Updated: 1mo ago
Description
MCP server for Apache Doris, an MPP-based (Massively Parallel Processing) real-time data warehouse. Doris is designed for large-scale analytical workloads with sub-second query latency on petabyte-scale datasets. This server enables AI assistants to run analytical SQL queries, explore data warehouse schemas, and perform data exploration tasks directly on Doris. Built for scenarios where you need interactive analytics on massive datasets β from user behavior analysis and real-time dashboards to ad-hoc business intelligence queries. Apache Foundation project with strong community backing.
β Best for
Data engineering teams running large-scale analytical workloads who want AI-assisted query building and data exploration
βοΈ Skip if
You need a simple relational database for small transactional workloads
π‘ Use cases
- Running analytical queries on petabyte-scale data from AI assistants
- Exploring data warehouse schemas and understanding table relationships
- Building real-time dashboards and reports through natural language
- Ad-hoc business intelligence analysis on large datasets
π Pros
- β Apache Foundation project with active community and enterprise adoption
- β Sub-second query performance on massive datasets via MPP architecture
- β MySQL-compatible protocol makes it easy for LLMs to write valid queries
- β Built for real-time analytics with streaming data ingestion
π Cons
- β Requires an Apache Doris cluster deployment (not a simple local install)
- β MPP architecture needs proper resource planning for optimal performance
- β Focused on analytical workloads β not suited for heavy transactional OLTP use
π§ Exposed tools (4 tools)
| Tool | Category | Description |
|---|---|---|
| analyze_data | analysis | Run data profiling and statistical analysis on tables |
| list_databases | discovery | List all available databases in the Doris cluster |
| describe_table | discovery | Get schema details and column information for a table |
| execute_query | query | Execute an analytical SQL query on Apache Doris |
β‘ Installation
Prerequisites:
- β’ python v3.10+
- β’ Apache Doris database credentials (host, port, user, password)
- β’ API key required
Check Claude Code documentation to configure this MCP server.
π‘ Tips & tricks
Doris uses MySQL-compatible protocol, so standard SQL syntax works for most queries. Use list_databases and describe_table first to understand the schema before running complex analytical queries. Large result sets may be truncated β add LIMIT clauses to your queries for faster responses.
π Alternatives
Quick info
- Author
- Apache
- License
- Apache-2.0
- Runtime
- Python 3.10+
- Transport
- stdio
- Category
- database
- Difficulty
- Intermediate
- Self-hostable
- β
- Auth
- β
- Docker
- β
- Version
- latest
- Updated
- Feb 28, 2026
Client compatibility
- β Claude Code
- β Cursor
- β VS Code Copilot
- β Gemini CLI
- β Windsurf
- β Cline
- β JetBrains AI
- β Warp
Platforms
π macOS π§ Linux πͺ Windows