Databases & warehouses
Postgres, MySQL, MongoDB, Snowflake, BigQuery, ClickHouse, Redshift, Databricks
MindsDB Query Engine · Open-source
Query databases, SaaS apps, documents, and vector stores through SQL or MCP. Add Knowledge Bases for search, and Jobs or Triggers for updates.
Register sources, query structured and unstructured data, and keep it current with scheduled or event-driven SQL.
Register databases, SaaS accounts, file stores, and vector databases as sources in MindsDB. Query across them with joins, aggregates, and subqueries. Each connector is an open-source handler.
CREATE DATABASE postgres_prod
WITH ENGINE = 'postgres',
PARAMETERS = {
"host": "db.internal",
"user": "readonly",
"password": "${POSTGRES_PWD}",
"database": "analytics"
};
SELECT customer_id, total_arr
FROM postgres_prod.accounts
WHERE region = 'EU'; A Knowledge Base chunks and embeds PDFs, Confluence pages, support tickets, and other text. Query it with semantic search, metadata filters, or joins against structured tables.
CREATE KNOWLEDGE_BASE customer_docs
USING
embedding_model = 'openai.text-embedding-3-small',
content_columns = ['body'],
metadata_columns = ['author', 'source_url', 'updated_at'];
INSERT INTO customer_docs
SELECT body, author, source_url, updated_at
FROM s3_bucket.support_pdfs;
SELECT chunk_content, source_url
FROM customer_docs
WHERE content LIKE 'invoice dispute resolution'
AND author = 'support-team'
LIMIT 5; Run SQL on a schedule with Jobs, or react to data changes with Triggers. Use them to refresh a Knowledge Base, sync a derived table, or process a new record.
CREATE JOB refresh_docs (
INSERT INTO customer_docs
SELECT body, author, source_url, updated_at
FROM s3_bucket.support_pdfs
WHERE updated_at > (
SELECT MAX(updated_at) FROM customer_docs
)
)
EVERY 1 hour; MindsDB sits between agents and the systems where data actually lives. Agents speak SQL or MCP to MindsDB; MindsDB speaks each source's native protocol to fetch, join, and return rows.
Each integration is a handler in the MindsDB repository and uses the same SQL interface.
Postgres, MySQL, MongoDB, Snowflake, BigQuery, ClickHouse, Redshift, Databricks
Salesforce, HubSpot, Stripe, Shopify, Slack, Notion, Jira, GitHub
S3, GCS, Azure Blob, local files, PDF, HTML, Markdown
SAP, Oracle, NetSuite, ServiceNow, custom REST endpoints
Pinecone, Weaviate, Chroma, pgvector, OpenAI, Anthropic, Hugging Face
Declare an embedding model and metadata columns in a
CREATE KNOWLEDGE_BASE statement. MindsDB handles
chunking, embedding, storage, updates, and hybrid retrieval.
LIKE, structured filters via WHERE.| content | author | source |
|---|---|---|
| invoice dispute… | support | s3://docs |
| refund policy… | legal | confluence |
| onboarding step… | cs-team | s3://docs |
SELECT … WHERE content LIKE '…' Use the same query surface for structured records, documents, and application data.
Give an agent one SQL or MCP interface instead of a separate tool for every source.
Use Jobs and Triggers to refresh Knowledge Bases and derived tables.
Combine warehouse rows with relevant document passages in one query.
Keep permissions and source-of-truth rules in the systems that own the data.
MindsHub Agents combines an agent harness, model routing, credentials, and connected tools in one workspace.
Choose which categories of cookies and similar technologies you allow us to use on this site. You can change these choices at any time via the Cookie preferences link in the footer.
Required for the site to work — the anonymous session cookie that lets us measure aggregate traffic. Always on.
Anonymous usage measurement (PostHog server-side). Helps us understand which pages are useful.
Click-ID attribution to ad platforms (Google, X, LinkedIn) and identified events so we can measure ad performance.
California, Virginia, Colorado, Connecticut, Utah, and other US state privacy laws give you the right to opt out of the “sale” or “sharing” of your personal information for cross-context behavioral advertising. We don’t sell your information for money, but we do share identifiers with our advertising partners to measure ad performance. You can opt out here.
See our Privacy Notice and Cookie Policy for full detail.