You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A Model Context Protocol server that provides access to hundreds of data sources through MindsDB's SQL interface. This server enables LLMs to query and analyze data across various databases, data warehouses, and applications using standard SQL.
## Features
- **Universal SQL Interface**: Query any supported data source using standard SQL syntax
- **Cross-Database Joins**: Join data across different databases and platforms
- **Automatic Dialect Translation**: MindsDB handles the translation between SQL dialects
- **Wide Data Source Support**:
- Databases: MySQL, PostgreSQL, MongoDB, MariaDB, etc.
- Data Warehouses: Snowflake, BigQuery, Redshift, etc.
- Applications: Salesforce, HubSpot, SAP, etc.
- FileSystems: S3, GCS, Azure, GoogleDrive, etc.
- Files: CSV, JSON, Parquet, etc.
## Components
### Tools
- **query**
- Execute SQL queries against any connected data source
- Input: `sql` (string): Standard MySQL or MindsDB SQL query (MindsDB handles dialect translation to other data sources)
- MindsDB automatically handles:
- SQL dialect translation
- Query federation
- Connection management
- Data type conversions
- Cross-database operations
### Resources
The server provides schema information for tables across all connected data sources:
- **Table Schemas** (`mindsdb:///
/`)
- JSON schema information for each table
- Includes column names and data types
- Automatically discovered from data source metadata
## Usage Examples
### Basic Queries
```sql
-- Query MySQL database
SELECT * FROM mysql_integration.customers;
-- Query Postgres database
SELECT * FROM postgres_integration.orders;
-- Cross-database join
SELECT c.name, o.order_date, o.amount
FROM mysql_integration.customers c
JOIN postgres_integration.orders o
ON c.id = o.customer_id;
-- Query application data
SELECT * FROM salesforce_integration.leads;
```
## Usage with Claude Desktop
To use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your `claude_desktop_config.json`:
1. Set up MindsDB instance (cloud or self-hosted) [https://docs.mindsdb.com]
2. Create integrations to your data sources in MindsDB
3. Connect the MCP server to MindsDB using the MySQL wire protocol
## Limitations
- Query performance depends on the underlying data sources
- Write operations require appropriate permissions on the target data sources
## License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MCP Access to federated data. via MindsDB #1180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
MCP Access to federated data. via MindsDB #1180
Changes from all commits
a695ca7
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing