Openaq MCP Server
by cyanheadsio.github.cyanheads/openaq-mcp-serverv0.4.1
Find air-quality stations and read pollutant observations from government monitors via OpenAQ v3.
context tax
queued
security
queued
cold start
queued
freshness
Active13d ago
Install Openaq MCP server
Install in Claude Code
claude mcp add openaq -e OPENAQ_API_KEY='<openaq-api-key>' -- npx -y @cyanheads/openaq-mcp-server run start:stdioInstall in Cursor
{
"mcpServers": {
"openaq": {
"command": "npx",
"args": [
"-y",
"@cyanheads/openaq-mcp-server",
"run",
"start:stdio"
],
"env": {
"OPENAQ_API_KEY": "<openaq-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"openaq": {
"command": "npx",
"args": [
"-y",
"@cyanheads/openaq-mcp-server",
"run",
"start:stdio"
],
"env": {
"OPENAQ_API_KEY": "<openaq-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"openaq": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/openaq-mcp-server",
"run",
"start:stdio"
],
"env": {
"OPENAQ_API_KEY": "<openaq-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"openaq": {
"command": "npx",
"args": [
"-y",
"@cyanheads/openaq-mcp-server",
"run",
"start:stdio"
],
"env": {
"OPENAQ_API_KEY": "<openaq-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| OPENAQ_API_KEY | yes | yes | OpenAQ v3 API key, sent as the X-API-Key header. Free from openaq.org. |
| OPENAQ_API_BASE_URL | — | — | OpenAQ v3 API base URL override (testing / proxy). |
| CANVAS_PROVIDER_TYPE | — | — | Set to 'duckdb' to enable DataCanvas SQL over large measurement series. |
| OPENAQ_ENABLE_CANVAS_DROP | — | — | Enable deletion of complete staged canvases; requires CANVAS_PROVIDER_TYPE=duckdb. |
| MCP_LOG_LEVEL | — | — | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
| MCP_HTTP_HOST | — | — | The hostname for the HTTP server. |
| MCP_HTTP_PORT | — | — | The port to run the HTTP server on. |
| MCP_HTTP_ENDPOINT_PATH | — | — | The endpoint path for the MCP server. |
| MCP_AUTH_MODE | — | — | Authentication mode to use: 'none', 'jwt', or 'oauth'. |
Remote endpoints
- streamable-http
https://openaq.caseyjhand.com/mcp
Freshness
Active — last maintenance signal 13d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-26 · 13d ago · GitHub
Latest release
2026-09-26 · 13d ago · GitHub · v0.4.1
Package published
no data · npm/PyPI
Registry entry updated
2026-09-26 · 13d ago · official registry · v0.4.1
FAQ
›How do I install the Openaq MCP server in Claude Code?
Run: claude mcp add openaq -e OPENAQ_API_KEY='<openaq-api-key>' -- npx -y @cyanheads/openaq-mcp-server run start:stdio. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Openaq require an API key?
Yes. It expects OPENAQ_API_KEY, of which 1 is a secret.
›Can I use Openaq as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is Openaq in the official MCP registry?
Yes, as io.github.cyanheads/openaq-mcp-server.