Looker Enterprise MCP Server
Gives MCP agents governed access to a company's own Looker instance through the Looker API 4.0, using the API user's existing permissions, model sets and row-level access filters. Tools cover discovery (models, explores, field search, real dimension values), running ad-hoc queries, saved Looks and whole dashboards with filter overrides, turning pasted Looker URLs into query definitions, exporting results as CSV, XLSX, JSON, Markdown, HTML or text and rendering charts/dashboards as PNG/JPG/PDF, browsing folders and searching content, creating Looks and dashboards with filters and tiles (opt-in), scheduling recurring or one-off email/webhook deliveries (opt-in), and governance such as System Activity usage analytics, LookML/content validators and model allowlists.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Quick start · Tools · Configuration · Team deployment · Security
Point it at your own Looker URL, give it API keys, and your agent can explore LookML models, run governed queries, summarize dashboards, download CSV, Excel, PDF and PNG files, build Looks and dashboards, schedule deliveries, and report on how Looker is used. Every call runs as the Looker user behind the keys, so the permissions, model sets and row-level access filters you already have in Looker still apply.
✨ Highlights
🔎 Explore
Browse models and explores, search for a business term like revenue across every explore, and get real dimension values so filters are exact.
📊 Analyze
Run ad-hoc queries, saved Looks or whole dashboards with filter overrides. Results come back compact, with optional per-column stats and a link to open them in Looker.
📥 Export
Save results as CSV, XLSX, JSON or Markdown, render charts as PNG, and capture full dashboards as PDF. Images are shown inline in the chat.
🛠️ Build
Save queries as Looks and create dashboards with filters, chart tiles and markdown notes in a single call. Opt-in.
⏰ Schedule
Set up recurring email or webhook deliveries, or send a Look or dashboard once, right now. Opt-in.
📈 Govern
See Looker usage from System Activity, run the LookML and Content Validators, and limit the agent to an allowlist of models.
Related MCP server: Looker MCP Server
🧭 How it works
flowchart LR
A["🤖 AI agent<br/>Claude · Cursor · VS Code"] -- "MCP<br/>stdio or HTTP" --> B["⚙️ looker-enterprise-mcp-server"]
B -- "Looker API 4.0<br/>(your API keys)" --> C["🏢 Your Looker instance"]
C -- "governed SQL" --> D[("🗄️ Warehouse<br/>BigQuery · Snowflake · Redshift · …")]
B -. "exports" .-> E["📁 CSV · XLSX · PDF · PNG"]The server never connects to your warehouse directly. Looker generates and runs the SQL, so the LookML definitions, caching and access rules stay in charge.
🚀 Quick start
1. Get Looker API keys
In Looker, go to Admin → Users → (user) → Edit Keys → New API Key and copy the client ID and secret.
Personal use: use your own keys. The agent sees exactly what you see in Looker.
Shared service user: give it a role with only the models and permissions the agent should have. The minimum is
access_dataandsee_looks/see_user_dashboards. Addexplorefor ad-hoc queries,download_without_limitfor large exports,see_system_activityfor usage reports,use_sql_runnerfor SQL, andsave_content/schedule_look_emailsfor the write tools.
2. Check the connection
No clone needed. npx downloads and builds the server straight from GitHub (needs Node 20+ and git):
LOOKER_BASE_URL=https://yourcompany.cloud.looker.com LOOKER_CLIENT_ID=xxx LOOKER_CLIENT_SECRET=yyy npx -y github:AlameerAshraf/looker-enterprise-mcp-server --checkYou should see OK: connected to … as <your user>. Run this once before step 3: the first run builds the package, which can take longer than some clients wait for a server to start. If something is wrong, the error names the problem, for example an unknown hostname, a refused port or an untrusted certificate.
3. Connect your agent
claude mcp add looker -e LOOKER_BASE_URL=https://yourcompany.cloud.looker.com -e LOOKER_CLIENT_ID=xxx -e LOOKER_CLIENT_SECRET=yyy -- npx -y github:AlameerAshraf/looker-enterprise-mcp-serverClaude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json. Cursor: ~/.cursor/mcp.json. Windsurf uses the same shape.
{
"mcpServers": {
"looker": {
"command": "npx",
"args": ["-y", "github:AlameerAshraf/looker-enterprise-mcp-server"],
"env": {
"LOOKER_BASE_URL": "https://yourcompany.cloud.looker.com",
"LOOKER_CLIENT_ID": "xxx",
"LOOKER_CLIENT_SECRET": "yyy",
"LOOKER_ALLOW_WRITE": "false"
}
}
}
}.vscode/mcp.json:
{
"inputs": [{ "id": "looker-secret", "type": "promptString", "description": "Looker client secret", "password": true }],
"servers": {
"looker": {
"command": "npx",
"args": ["-y", "github:AlameerAshraf/looker-enterprise-mcp-server"],
"env": {
"LOOKER_BASE_URL": "https://yourcompany.cloud.looker.com",
"LOOKER_CLIENT_ID": "xxx",
"LOOKER_CLIENT_SECRET": "${input:looker-secret}"
}
}
}
}git clone https://github.com/AlameerAshraf/looker-enterprise-mcp-server.gitcd looker-enterprise-mcp-server && npm installnpm install builds the server. In the configs above, replace the npx command with node /absolute/path/to/looker-enterprise-mcp-server/dist/index.js. You can also keep settings in a file and pass --env-file /path/to/.env (see .env.example).
💬 Try asking
"What were our top 10 product categories by revenue last quarter, and how did each change from the quarter before?"
"Summarize the Exec Overview dashboard for EMEA for the last 7 days."
"Here's a Looker link: … Break the same numbers down by region."
"Export the Weekly Pipeline Look to Excel, and download the Sales dashboard as a PDF with Region set to APAC."
"Build a dashboard with daily orders, revenue by channel and a notes tile with your findings." (write tools)
"Which dashboards get used the most, and which explores are slow?"
Built-in prompts: analyze_question, summarize_dashboard, usage_review.
🧰 Tools
Tool | What it does |
| Test the connection; show the API user, Looker version and enabled capabilities |
| LookML models and explores, with text search |
| Dimensions, measures, parameters and required filters, grouped by view |
| Find which explores contain a business term (for example "revenue") |
| Real values of a dimension, so filters are exact |
| Ad-hoc query: columnar rows, optional stats and SQL, and an Explore link |
| Turn a pasted Looker URL (Explore, |
Tool | What it does |
| Search Looks and dashboards by title or description |
| Read a saved Look; run it, optionally with different filters |
| A dashboard's filters and tiles, and which filters each tile listens to |
| Run every tile with default or overridden dashboard filters |
| Browse folders |
| Save as csv, xlsx, json, md, html or txt, or render a chart as png/jpg |
| Save a whole dashboard as PDF, PNG or JPG, with filters |
| Existing email and webhook deliveries |
Tool | What it does |
| Top dashboards, Looks and explores, active users, daily activity, slow queries, errors, query sources |
| Run the LookML validator |
| Content Validator: find broken Looks, tiles, filters and schedules |
| Find users, for example to pick schedule recipients |
Tool | What it does |
| Database connections configured in Looker |
| Browse schemas, tables and columns |
| Run a single read-only statement through SQL Runner |
Tool | What it does |
| Save a query as a Look |
| Create a dashboard with filters and tiles (query, Look or markdown) in one call |
| Add to an existing dashboard |
| Rename, move, trash or restore a Look or dashboard |
| Recurring or one-off email/webhook deliveries |
🔧 Configuration
Variable | Default | Description |
| required | Your instance, for example |
| required (stdio) | API3 keys. |
|
| Turn on the create, update, schedule, send and delete tools |
|
| Turn on the SQL Runner tools (read-only statements only) |
| all | Comma-separated allowlist of LookML models. Add |
|
| Rows returned to the agent |
|
| Rows allowed in a file export |
|
| Response size budget. Whole rows are dropped, never cut mid-row |
|
| Timeout for each API call |
|
| Where exports and renders are saved |
| derived | Web UI address for links, if it differs from the API host |
|
| Last resort only. Prefer |
|
| HTTP mode bind address |
| none | Bearer token required on |
|
| Accept per-user |
Behind a corporate proxy on Node 24 or later, set NODE_USE_ENV_PROXY=1 together with HTTPS_PROXY.
🏢 Team deployment (HTTP)
Run one server for the whole team. With LOOKER_ALLOW_HEADER_CREDENTIALS=true, each person sends their own Looker keys, so Looker permissions still apply per user. The Looker URL is fixed on the server; clients can't change it.
git clone https://github.com/AlameerAshraf/looker-enterprise-mcp-server.git && cd looker-enterprise-mcp-server && docker build -t looker-mcp .docker run -p 3000:3000 -e LOOKER_BASE_URL=https://yourcompany.cloud.looker.com -e MCP_HTTP_AUTH_TOKEN=change-me -e LOOKER_ALLOW_HEADER_CREDENTIALS=true looker-mcpClient config for Streamable HTTP (Claude Code .mcp.json, Cursor, and other clients that accept a URL and headers):
{
"mcpServers": {
"looker": {
"type": "http",
"url": "https://mcp.yourcorp.com/mcp",
"headers": {
"Authorization": "Bearer change-me",
"X-Looker-Client-Id": "xxx",
"X-Looker-Client-Secret": "yyy"
}
}
}
}The health check is at GET /healthz. Put the server behind TLS (a load balancer or reverse proxy). If you put service-user keys in the server's environment instead, everyone shares that one user's access.
🔒 Security model
Looker decides access | The server never bypasses Looker. Every request uses the API user's token, so permissions, model sets and access filters apply. |
Least capability | Write and SQL tools aren't registered unless you turn them on, so the agent never sees them. |
SQL guard |
|
Risky actions are marked |
|
Files stay in one folder | Export file names are reduced to a safe base name inside |
Secrets | Keep keys in your MCP client config or a |
🧪 Development
npm installnpm testnpm run inspectnpm test builds the project and runs end-to-end tests: a real MCP client, over both stdio and HTTP, talks to this server, which talks to a mock Looker API in test/mock-looker.mjs. CI runs them on Node 20, 22 and 24 and also builds and smoke-tests the Docker image. npm run inspect opens the MCP Inspector.
src/
├── index.ts CLI entry (stdio, --http, --check)
├── http.ts Stateless Streamable HTTP transport, bearer auth, per-user keys
├── server.ts Tool registration, capability gating, instructions, prompts
├── config.ts Environment configuration
├── looker/client.ts Looker API 4.0 client: login, token refresh, clear network errors
└── tools/ metadata · query (+SQL) · content · export · write (+schedules) · admin🚧 Limitations and roadmap
Sign-in uses API3 keys. Looker OAuth sign-in is not supported yet.
run_dashboardskips merged-results and SQL Runner tiles. Userender_dashboardto capture them.The Looker API doesn't expose LookML file contents, so
validate_lookmlreports errors without source.usage_analyticsuses the standardsystem__activityfield names. If your instance differs, the error names the field, and the agent can fall back toget_explore("system__activity", "history")withrun_query.
📄 License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Lets AI agents analyze API metrics, request logs, and traces, and manage apps and alerts.
Amazon Ads, Seller Central, Vendor Central and AMC data for AI agents. Read-only by default.
Live data for AI agents. Search the catalog, read the price, call the tool; keys stay server-side.
Connect AI agents to 1000+ apps with managed authentication and tool-calling.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides over 60 administrative tools for managing users, groups, roles, schedules, alerts, and content access within Looker through the Model Context Protocol. It enables full administration of Looker environments, including permission management and system configuration.1-
- AlicenseAqualityCmaintenanceProvides AI assistants direct access to Looker through a standard MCP interface, enabling querying the semantic model, managing content, editing LookML, and administering users.33148 PyPI1Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI applications to interact with Tableau through tools for querying data, exploring content, and retrieving views.Apache 2.0
- AlicenseAqualityBmaintenanceEnables an AI assistant to explore BigQuery datasets, run read-only queries and create views, then build and refine dashboards in the Looker Studio editor — charts, text, shapes, themes and exact layouts — verifying the result with screenshots. Write actions are gated behind explicit configuration, dry-run and audit logging.114MIT