metabase-mcp-python
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| METABASE_URL | Yes | Your Metabase instance URL (e.g., http://localhost:3000) | |
| METABASE_API_KEY | No | Metabase API key for authentication | |
| METABASE_PASSWORD | No | Password for session-based authentication | |
| METABASE_USERNAME | No | Username for session-based authentication |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_databasesA | Retrieve all database connections in Metabase - use this to discover available data sources, check connection status, or get an overview of connected databases |
| get_databaseA | Retrieve detailed information about a specific Metabase database including connection details and schema - use this to examine database properties or troubleshoot connections |
| execute_queryA | Execute a native SQL query against a Metabase database - use this for custom data analysis, complex queries, or extracting specific data not available through existing cards |
| list_tablesA | Retrieve all Metabase tables with optional ID filtering - use this to discover available tables, explore database schema, or get metadata about specific tables. |
| get_tableA | Retrieve comprehensive table information including schema, fields, and metadata - use this to understand structure, explore fields, or get configuration details. |
| get_table_dataA | Retrieve sample data from table for preview and analysis - use this to examine content, verify quality, or understand data patterns. |
| get_field_idA | Look up a field's ID and metadata by table and column name - essential for building parameter mappings. Returns field_id, base_type, and other metadata needed for filter connections. |
| list_cardsA | Retrieve all Metabase cards with optional filtering by source type (e.g., 'models') or model relationships - use this to discover available cards, find specific cards by type, or get an overview of all analytical content |
| get_cardA | Get complete metadata and configuration for a specific Metabase card including query definition, visualization settings, collection location, and permissions - use this when you need to examine or understand how a particular card is built |
| execute_cardA | Run a Metabase card query and return the actual data results - use this to get current data from existing cards, refresh analytical insights, or programmatically access query results for further processing |
| get_card_dashboardsA | Find all dashboards that include a specific Metabase card - use this to understand where a card is being used, track dependencies before making changes, or find related analytical content |
| list_dashboardsA | Retrieve all Metabase dashboards - use this to discover available dashboards, get an overview of analytical content, or find specific dashboards |
| get_dashboardA | Retrieve detailed information about a specific Metabase dashboard including cards, layout, and settings - use this to examine dashboard structure or get configuration details |
| get_dashboard_cardsA | Retrieve all cards within a specific Metabase dashboard - use this to analyze dashboard content, understand data sources, or examine card configurations |
| create_dashboardA | Create a new Metabase dashboard - use this to build new analytical views, organize related cards, or establish monitoring interfaces |
| get_collection_itemsA | Retrieve all items (cards, dashboards) within a Metabase collection - use this to explore collection contents, organize analytical assets, or understand content structure |
| search_contentA | Search across all Metabase content including cards, dashboards, collections, and models - use this to find specific content, discover assets, or explore analytical resources |
| list_collectionsA | Retrieve all Metabase collections for organizing analytical content - use this to understand content structure, find collections, or explore organizational hierarchy |
| get_metabase_playground_linkA | Generate a Metabase playground link for interactive query exploration - allows users to see results and experiment with data in a user-friendly interface |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/im-voracity/metabase-mcp-python'
If you have feedback or need assistance with the MCP directory API, please join our Discord server