Metabase MCP Server
Databasehttp-streaming
Metabase's built-in MCP server that lets AI clients connect directly to a Metabase instance, scoped to the connecting user's permissions. Enables agents to discover databases and models, run queries, and retrieve results and dashboards so teams can ask questions of their business intelligence data in natural language.
连接
将此配置添加到 .claude/mcp.json
{
"mcpServers": {
"metabase": {
"url": "https://github.com/metabase/metabase",
"env": {
"METABASE_URL": "<YOUR_METABASE_URL>",
"METABASE_API_KEY": "<YOUR_METABASE_API_KEY>"
}
}
}
}工具 (2)
list_databases
List the databases connected to the Metabase instance that the user can access.
{
"type": "object",
"properties": {}
}execute_query
Run a query against a connected database and return the results.
{
"type": "object",
"required": [
"database_id",
"query"
],
"properties": {
"query": {
"type": "string",
"description": "SQL query to execute"
},
"database_id": {
"type": "integer",
"description": "ID of the database to query"
}
}
}资源
此服务器未提供任何资源。
提示词
此服务器未提供任何提示词。
服务器信息
- 星标
- 0
- 最后更新
- 2026年7月12日