================== /// MCP /// /// MIN /// ================== [server:online] [protocol:ready]
mindsdb
by mindsdb
AI’s query-engine & MCP server for building agents that answer questions over large-scale, federated data sources.
34.9k
5.6k
Open Source01
VIEWS
Simplify data access by creating unified views across different sources (no-ETL).
02
KNOWLEDGE BASES
Index and organize unstructured data for efficient retrieval.
03
ML MODELS
Apply AI/ML transformations to gain insights from your data.
04
JOBS
Schedule synchronization and transformation tasks for real-time processing.
05
AGENTS
Configure built-in agents specialized in answering questions over your connected and unified data.
06
MCP
Connect to MindsDB through the MCP (Model Context Protocol) for seamless interaction.
Installation
1. Prerequisites
• Python ≥3.9 (or Docker if you prefer containers)
• GCC/Clang tool-chain for building some ML dependencies
• Optional: MySQL/PostgreSQL/MongoDB/etc. credentials if you plan to connect external data sources
2. Install with pip (recommended)
# create & activate a virtual environment
python -m venv venv && source venv/bin/activate
# install latest MindsDB
pip install --upgrade pip
pip install mindsdb[all]
(The "[all]" extra pulls common DB/LLM connectors. Use `pip install mindsdb` for a minimal build.)
3. Start the MCP server locally
mindsdb --api 8888 # REST & Web UI on http://localhost:8888
# or explicitly
python -m mindsdb --api-port 8888
4. Docker alternative
docker pull mindsdb/mindsdb:latest
docker run -p 47334:47334 -p 8888:8888 mindsdb/mindsdb:latest
Ports:
• 47334 – MySQL-wire protocol (connect with any MySQL client)
• 8888 – REST API & web dashboard
5. Basic configuration (optional)
• ENV `MINDSDB_STORAGE_DIR=/path` – where models & metadata are persisted.
• ENV `MINDSDB_UI_ENABLED=true|false` – toggle the built-in web UI.
• `~/.mindsdb/config.json` allows fine-grained connector keys (OpenAI, Anthropic, etc.).
6. Verify
mysql -h 127.0.0.1 -P47334 -u mindsdb -p
# password is empty by default
SHOW DATABASES; -- you should see mindsdb, files, etc.
Documentation
License: Other
Updated 7/30/2025