mindsdb.com
mindsdb.com logo

MindsDB

MindsDB allows applications to answer questions over large-scale federated data—spanning databases, data warehouses, and...

Created byApr 22, 2025
<a name="readme-top"></a>

MindsDB is an AI data solution that enables humans, AI, agents, and applications to query data in natural language and SQL, and get highly accurate answers across disparate data sources and types.
image
A federated query engine that tidies up your data-sprawl chaos while meticulously answering every single question you throw at it.
MindsDB has an MCP server built in that enables your MCP applications to connect, unify and respond to questions over large-scale federated data spanning databases, data warehouses, and SaaS applications.

Minds [Demo](https://mdb.ai/register)

Play with Minds demo, and see the power of MindsDB at answering questions from structured to unstructured data, whether it's scattered across SaaS applications, databases, or... hibernating in data warehouses like that $100 bill in your tuxedo pocket from prom night, lost, waiting to be discovered.

Install MindsDB Server

MindsDB is an open-source server that can be deployed anywhere - from your laptop to the cloud, and everywhere in between. And yes, you can customize it to your heart's content.
  • Using Docker Desktop. This is the fastest and recommended way to get started and have it all running.
  • Using Docker. This is also simple, but gives you more flexibility on how to further customize your server.
  • Using PyPI. This option enables you to contribute to MindsDB.

Connect Your Data

You can connect to hundreds of data sources (learn more). This is just an example of a Postgres database.
Once you've connected your data sources, you can combine, slice it, dice it, and transform it however your heart desires using good ol' standard SQL (learn more).
After you've whipped your data into shape, it's time to build AI that actually learns!

Build AI Knowledge

Our Knowledge Bases are state-of-the-art autonomous RAG systems that can digest data from any source MindsDB supports. Whether your data is structured and neater than a Swiss watch factory or unstructured and messy as a teenager's bedroom, our Knowledge Base engine will figure out how to find the relevant information.
In this example we will create a knowledge base that knows everything about amazon reviews.
For the tinkerers and optimization enthusiasts out there, you can dive as deep as you want. (Learn more about knowledge Bases)
But if you'd rather spend your time on other things (like finally building that billion-dollar AI App), that's perfectly fine too. By default, it's all handled automatically - you don't need to worry about the nitty-gritty details like data embedding, chunking, vector optimization, etc.

Search

Now that your knowledge base is loaded and ready. Let's hunt for some juicy info!

Via SQL

Via Python SDK

Install MindsDB SDK
You can call this AI knowledge base from your app with the following code:

Contribute

Interested in contributing to MindsDB? Follow our installation guide for development.
You can find our contribution guide here.
We welcome suggestions! Feel free to open new issues with your ideas, and we ll guide you.
This project adheres to a Contributor Code of Conduct. By participating, you agree to follow its terms.
Also, check out our community rewards and programs.

Support

If you find a bug, please submit an issue on GitHub.
Here s how you can get community support:
For commercial support, please contact the MindsDB team.

Current Contributors

Generated with contributors-img.

Subscribe for Updates

<a name="readme-top"></a>

MindsDB is an AI data solution that enables humans, AI, agents, and applications to query data in natural language and SQL, and get highly accurate answers across disparate data sources and types.
image
A federated query engine that tidies up your data-sprawl chaos while meticulously answering every single question you throw at it.
MindsDB has an MCP server built in that enables your MCP applications to connect, unify and respond to questions over large-scale federated data spanning databases, data warehouses, and SaaS applications.

Minds [Demo](https://mdb.ai/register)

Play with Minds demo, and see the power of MindsDB at answering questions from structured to unstructured data, whether it's scattered across SaaS applications, databases, or... hibernating in data warehouses like that $100 bill in your tuxedo pocket from prom night, lost, waiting to be discovered.

Install MindsDB Server

MindsDB is an open-source server that can be deployed anywhere - from your laptop to the cloud, and everywhere in between. And yes, you can customize it to your heart's content.
  • Using Docker Desktop. This is the fastest and recommended way to get started and have it all running.
  • Using Docker. This is also simple, but gives you more flexibility on how to further customize your server.
  • Using PyPI. This option enables you to contribute to MindsDB.

Connect Your Data

You can connect to hundreds of data sources (learn more). This is just an example of a Postgres database.
Once you've connected your data sources, you can combine, slice it, dice it, and transform it however your heart desires using good ol' standard SQL (learn more).
After you've whipped your data into shape, it's time to build AI that actually learns!

Build AI Knowledge

Our Knowledge Bases are state-of-the-art autonomous RAG systems that can digest data from any source MindsDB supports. Whether your data is structured and neater than a Swiss watch factory or unstructured and messy as a teenager's bedroom, our Knowledge Base engine will figure out how to find the relevant information.
In this example we will create a knowledge base that knows everything about amazon reviews.
For the tinkerers and optimization enthusiasts out there, you can dive as deep as you want. (Learn more about knowledge Bases)
But if you'd rather spend your time on other things (like finally building that billion-dollar AI App), that's perfectly fine too. By default, it's all handled automatically - you don't need to worry about the nitty-gritty details like data embedding, chunking, vector optimization, etc.

Search

Now that your knowledge base is loaded and ready. Let's hunt for some juicy info!

Via SQL

Via Python SDK

Install MindsDB SDK
You can call this AI knowledge base from your app with the following code:

Contribute

Interested in contributing to MindsDB? Follow our installation guide for development.
You can find our contribution guide here.
We welcome suggestions! Feel free to open new issues with your ideas, and we ll guide you.
This project adheres to a Contributor Code of Conduct. By participating, you agree to follow its terms.
Also, check out our community rewards and programs.

Support

If you find a bug, please submit an issue on GitHub.
Here s how you can get community support:
For commercial support, please contact the MindsDB team.

Current Contributors

Generated with contributors-img.

Subscribe for Updates