Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Summary

Connect databases, create AI Minds, and query your data using natural language — powered by the Minds REST API

Install to Claude Code

/plugin install minds@minds-marketplace

Run in Claude Code. Add the marketplace first with /plugin marketplace add mindsdb/claude-plugin if you haven't already.

README.md

Minds Plugin for Claude Code

Connect any database. Create an AI Mind. Ask questions in plain English.

This is a Claude Code plugin marketplace that gives Claude direct access to your data through Minds — no context-switching, no copy-pasting query results, no leaving your terminal.

/plugin marketplace add mindsdb/claude-plugin
/plugin install minds@minds-marketplace

That's it. Claude can now connect your databases, build Minds, and query your data.

---

What You Can Do

"Connect my Postgres database and tell me which customers churned last month."

Claude will create the datasource, build a Mind, and answer the question — all in one conversation.

Connect Data

Claude connects directly to your databases:

| Engine | | Engine | | Engine | |--------|-|--------|-|--------| | PostgreSQL | | MySQL | | MongoDB | | Snowflake | | BigQuery | | Redshift | | Databricks | | ClickHouse | | SQL Server | | MariaDB | | Elasticsearch | | DynamoDB | | Amazon S3 | | OneDrive | | Teradata |

Create Minds

A Mind is an AI that understands your data. Claude creates them with the right system prompt, connects the right tables, and configures direct SQL access when needed.

Ask Questions

You:    "What were our top 10 products by revenue last quarter?"
Claude: [calls ask_mind] → returns the answer with data
You:    "Export that as CSV"
Claude: [calls export_query_csv] → gives you the file

---

Quick Start

1. Get your API key

Sign up at mdb.ai and grab your API key from the API Keys tab.

2. Set your environment variable

export MINDS_API_KEY=your_key_here

3. Install the plugin

/plugin marketplace add mindsdb/claude-plugin
/plugin install minds@minds-marketplace

4. Start talking to your data

You: Connect to my postgres database at db.example.com, database "analytics", user "readonly"
You: Create a Mind called "sales-analyst" that can answer questions about our sales data
You: What's the average order value by region for the last 6 months?

---

19 Tools

Everything is pure REST — no SDK, no dependencies beyond the MCP server itself.

Datasources

| Tool | What it does | |------|-------------| | list_datasources | List all connected datasources | | get_datasource | Get details + optionally verify connection is alive | | create_datasource | Connect a new database (any of the 15 supported engines) | | update_datasource | Update connection params, description, or table access | | delete_datasource | Remove a datasource |

Minds

| Tool | What it does | |------|-------------| | list_minds | List all Minds | | get_mind | Get a Mind's config, datasources, and parameters | | create_mind | Create a new Mind with datasources and system prompt | | update_mind | Update a Mind's name, datasources, or prompt | | delete_mind | Delete a Mind |

Query

| Tool | What it does | |------|-------------| | ask_mind | Ask a natural language question (Chat Completions API) | | query_mind | Query with conversation context + optional direct SQL (Responses API) |

Results

| Tool | What it does | |------|-------------| | get_query_result | Paginated results from a previous query | | export_query_csv | Export full results as CSV |

Data Catalog

| Tool | What it does | |------|-------------| | get_catalog | Browse tables, columns, types, and statistics | | refresh_catalog | Re-index the schema (missing_only, all, or force) | | load_catalog_tables | Pull specific tables into the catalog | | update_table_description | Annotate a table so the Mind understands it better | | update_column_description | Annotate a column for better query accuracy |

---

Slash Commands

The plugin includes three commands for common workflows:

| Command | Description | |---------|-------------| | /minds:connect | Guided flow to connect a new database | | /minds:ask | Pick a Mind and ask it a question | | /minds:explore | Browse your data catalog — tables, columns, stats |

---

How It Works

┌─────────────┐     stdio      ┌─────────────┐    REST     ┌─────────────┐
│             │ ◄────────────► │             │ ──────────► │             │
│ Claude Code │                │  MCP Server │             │  Minds API  │
│             │   19 tools     │  (Node.js)  │  Bearer     │  mdb.ai     │
└─────────────┘                └─────────────┘  token      └──────┬──────┘
                                                                  │
                                                           ┌──────▼──────┐
                                                           │ Your Data   │
                                                           │ ┌─────────┐ │
                                                           │ │Postgres │ │
                                                           │ │Snowflake│ │
                                                           │ │BigQuery │ │
                                                           │ │ ...     │ │
                                                           │ └─────────┘ │
                                                           └─────────────┘

The MCP server is a thin REST wrapper. Every tool maps to a Minds API endpoint. No data is cached, no state is stored — queries go straight to your databases through Minds.

---

Project Structure

├── .claude-plugin/
│   └── marketplace.json          # Marketplace catalog
└── plugins/
    └── minds/
        ├── .claude-plugin/
        │   └── plugin.json       # Plugin manifest
        ├── .mcp.json             # MCP server config
        ├── package.json
        ├── src/
        │   └── index.mjs         # MCP server — 19 tools, pure fetch
        ├── skills/
        │   └── minds-data/
        │       └── SKILL.md      # Auto-invoked skill for data workflows
        └── commands/
            ├── connect.md        # /minds:connect
            ├── ask.md            # /minds:ask
            └── explore.md        # /minds:explore

---

Configuration

| Environment Variable | Default | Description | |---------------------|---------|-------------| | MINDS_API_KEY | (required) | Your Minds API key from mdb.ai/apiKeys | | MINDS_BASE_URL | https://mdb.ai | Custom API base URL (for self-hosted deployments) |

---

For Teams

Add this marketplace to your project's .claude/settings.json so every team member gets it automatically:

{
  "extraKnownMarketplaces": {
    "minds-marketplace": {
      "source": {
        "source": "github",
        "repo": "mindsdb/claude-plugin"
      }
    }
  },
  "enabledPlugins": {
    "minds@minds-marketplace": true
  }
}

---

Contributing

Add a new plugin to the marketplace:

1. Create your plugin in plugins/<your-plugin>/ 2. Add a .claude-plugin/plugin.json manifest 3. Register it in .claude-plugin/marketplace.json 4. Open a PR

---

License

MIT

Related plugins

Browse all →