{"_id":"@arvoretech/metabase-mcp","_rev":"7-f7a53e7657d31366c22e19f0cafcb738","name":"@arvoretech/metabase-mcp","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@arvoretech/metabase-mcp","version":"1.0.0","keywords":["mcp","metabase","analytics","dashboards","llm","ai","arvore"],"author":{"name":"Arvore"},"license":"MIT","_id":"@arvoretech/metabase-mcp@1.0.0","maintainers":[{"name":"joao.barros.arvore","email":"joao.barros@arvore.com.br"}],"homepage":"https://github.com/arvoreeducacao/arvore-mcp-servers#readme","bugs":{"url":"https://github.com/arvoreeducacao/arvore-mcp-servers/issues"},"bin":{"metabase-mcp":"dist/index.js"},"dist":{"shasum":"7aaebb293e1c4ca7335c86c3dffbb826cdcf1395","tarball":"https://registry.npmjs.org/@arvoretech/metabase-mcp/-/metabase-mcp-1.0.0.tgz","fileCount":40,"integrity":"sha512-4hNt/bde9ZgHR2KKcTQjhSUcCGKQCUug3vgX2MY9aCwVudMKYCG7hoN1/9vg+kfwwSGQB6n4CEPcGq2AnVJp9Q==","signatures":[{"sig":"MEUCIQDcQWJVAsZqUXsPU7c6s5bcniv9fSpclx/b4XnswQw+qAIgULhbYvoS0uNQxoqmR2cwlzlHsCumxDVxO0J0nwt61K8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":184029},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"5fc7229edbb330eb42a7448d20820e6ef3640be6","scripts":{"dev":"tsx src/index.ts","lint":"eslint src/**/*.ts","test":"vitest","build":"tsc","start":"node dist/index.js","lint:fix":"eslint src/**/*.ts --fix","test:cov":"vitest --coverage"},"_npmUser":{"name":"joao.barros.arvore","email":"joao.barros@arvore.com.br"},"repository":{"url":"git+https://github.com/arvoreeducacao/arvore-mcp-servers.git","type":"git","directory":"packages/metabase"},"_npmVersion":"10.8.2","description":"Metabase MCP Server for querying data, managing cards, dashboards and collections","directories":{},"_nodeVersion":"20.20.1","dependencies":{"zod":"^3.22.4","@modelcontextprotocol/sdk":"~1.22.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/metabase-mcp_1.0.0_1773937645993_0.9376271346076561","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@arvoretech/metabase-mcp","version":"1.0.1","keywords":["mcp","metabase","analytics","dashboards","llm","ai","arvore"],"author":{"name":"Arvore"},"license":"MIT","_id":"@arvoretech/metabase-mcp@1.0.1","maintainers":[{"name":"joao.barros.arvore","email":"joao.barros@arvore.com.br"}],"homepage":"https://github.com/arvoreeducacao/arvore-mcp-servers#readme","bugs":{"url":"https://github.com/arvoreeducacao/arvore-mcp-servers/issues"},"bin":{"metabase-mcp":"dist/index.js"},"dist":{"shasum":"a16e23adfe0a70ace6beec221874510e5e6f5a70","tarball":"https://registry.npmjs.org/@arvoretech/metabase-mcp/-/metabase-mcp-1.0.1.tgz","fileCount":40,"integrity":"sha512-t4XHrNdCWwA/y//xwfWfLXG+20Lc3dVOTRBO0zO79Y/e7RiZfcb0HoX5KHmjKxCijemKkml6Evrq+JS0J/M/Jg==","signatures":[{"sig":"MEUCIGWwsI4ifbHUscKn2lxg42nMeRMuNNPiiYfGKOlcc92vAiEA6Nio4u9o0reSXuuaSyXekzp1eN/u5s8G58ebKAuOO2I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@arvoretech%2fmetabase-mcp@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":184029},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"8c7c1861ef5b9f71b8e5baf930b8b40e74f6fa13","scripts":{"dev":"tsx src/index.ts","lint":"eslint src/**/*.ts","test":"vitest","build":"tsc","start":"node dist/index.js","lint:fix":"eslint src/**/*.ts --fix","test:cov":"vitest --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e2ddd4c1-fca1-4233-b161-18edf538970d"}},"repository":{"url":"git+https://github.com/arvoreeducacao/arvore-mcp-servers.git","type":"git","directory":"packages/metabase"},"_npmVersion":"11.12.1","description":"Metabase MCP Server for querying data, managing cards, dashboards and collections","directories":{},"_nodeVersion":"20.20.2","dependencies":{"zod":"^3.22.4","@modelcontextprotocol/sdk":"~1.22.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/metabase-mcp_1.0.1_1775479624254_0.5072214170596683","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-03-19T16:27:25.866Z","modified":"2026-06-16T21:13:14.452Z","1.0.0":"2026-03-19T16:27:26.167Z","1.0.1":"2026-04-06T12:47:04.415Z"},"bugs":{"url":"https://github.com/arvoreeducacao/arvore-mcp-servers/issues"},"author":{"name":"Arvore"},"license":"MIT","homepage":"https://github.com/arvoreeducacao/arvore-mcp-servers#readme","keywords":["mcp","metabase","analytics","dashboards","llm","ai","arvore"],"repository":{"url":"git+https://github.com/arvoreeducacao/arvore-mcp-servers.git","type":"git","directory":"packages/metabase"},"description":"Metabase MCP Server for querying data, managing cards, dashboards and collections","maintainers":[{"email":"joao.barros@arvore.com.br","name":"joao.barros.arvore"},{"email":"rafasouza@protonmail.com","name":"rafsouza"},{"email":"pedro.adas@gmail.com","name":"pedro.adas"},{"email":"guilhermebscontact@gmail.com","name":"guilhermebs"},{"email":"ricardorbxx1@gmail.com","name":"ricardoraposorfox"},{"email":"jvgcunha2002@gmail.com","name":"jott4"},{"email":"vitor.piovezan@arvore.com.br","name":"vitor.piovezan"}],"readme":"# Metabase MCP Server\n\nA Model Context Protocol (MCP) server that provides AI assistants with access to Metabase analytics — query data, manage cards (reports), dashboards, and collections.\n\n## Features\n\n- **Cards (Questions/Reports)**: List, create, update, delete, and run card queries\n- **Dashboards**: List, create, delete dashboards and add cards to them\n- **Collections**: List and create collections to organize content\n- **Databases**: List connected databases and their tables\n- **SQL Queries**: Execute native SQL queries against any connected database\n\n## Installation\n\n```bash\nnpm install -g @arvoretech/metabase-mcp\n```\n\n## Configuration\n\nSet the required environment variables:\n\n```bash\nexport METABASE_URL=\"https://your-metabase-instance.com\"\nexport METABASE_API_KEY=\"your-metabase-api-key\"\n```\n\n### Getting an API Key\n\n1. Go to your Metabase instance\n2. Navigate to **Admin** > **Settings** > **Authentication** > **API Keys**\n3. Create a new API key with the appropriate permissions\n\n## Usage\n\n### Direct Execution\n\n```bash\nnode dist/index.js\n```\n\n### MCP Client Configuration\n\n```json\n{\n  \"mcpServers\": {\n    \"metabase\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@arvoretech/metabase-mcp\"],\n      \"env\": {\n        \"METABASE_URL\": \"https://your-metabase-instance.com\",\n        \"METABASE_API_KEY\": \"your-api-key\"\n      }\n    }\n  }\n}\n```\n\n## Available Tools\n\n### list_cards\nList all cards (questions/reports). Filter by: all, mine, bookmarked, archived, recent, popular.\n\n### get_card\nGet full details of a specific card by ID.\n\n### create_card\nCreate a new card with a query definition and visualization type (table, bar, line, pie, etc).\n\n### update_card\nUpdate a card's name, description, display type, or visualization settings.\n\n### delete_card\nDelete a card by ID.\n\n### run_card_query\nExecute a saved card's query and return the results (limited to 100 rows).\n\n### list_dashboards\nList all dashboards.\n\n### get_dashboard\nGet dashboard details including its cards and layout.\n\n### create_dashboard\nCreate a new empty dashboard.\n\n### add_card_to_dashboard\nAdd an existing card to a dashboard at a specific grid position (row, col, size).\n\n### delete_dashboard\nDelete a dashboard by ID.\n\n### list_collections\nList all collections (folders).\n\n### create_collection\nCreate a new collection to organize cards and dashboards.\n\n### list_databases\nList all databases connected to Metabase.\n\n### run_query\nExecute a native SQL query against a specific database (limited to 200 rows).\n\n### list_tables\nList all tables in a specific database.\n\n## Development\n\n```bash\npnpm install\npnpm build\npnpm dev\npnpm lint\npnpm test:cov\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}