Global law
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
Find air-quality stations and read pollutant observations from government monitors via OpenAQ v3.
列表按使用分(满分 100)排序,由以下部分组成
| 热度 | 7/80 | GitHub 星标或每周下载量:较大的计 60,较小的计 20 |
|---|---|---|
| 新鲜度 | 7/12 | 30 天内有发布或代码更新得满分 |
| 仍在响应 | 0/8 | 上次检查时云端端点有响应 |
| 使用分 | 14/100 |
质量: 基础检查通过 3/4 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)
选择你使用的 AI 应用,然后复制设置。
用一句话让 AI 帮你安装
请帮我安装 Openaq MCP Server。按照 https://mcp.popnx.com/i/cyanheads-openaq-mcp-server.md 操作,先把命令给我看,等我同意后再运行。粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文
通过 3/4 项检查 · 在你的电脑上运行
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude 安装 MCP server Openaq MCP Server,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "openaq": { "command": "npx", "args": [ "-y", "@cyanheads/openaq-mcp-server", "run", "start:stdio" ], "env": { "OPENAQ_API_KEY": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) OPENAQ_API_KEY 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Openaq MCP Server 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
SettingsDeveloperEdit Config
{
"mcpServers": {
"openaq": {
"command": "npx",
"args": [
"-y",
"@cyanheads/openaq-mcp-server",
"run",
"start:stdio"
],
"env": {
"OPENAQ_API_KEY": "your-value"
}
}
}
}只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 Openaq MCP Server 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Openaq MCP Server,或回答中出现 Openaq MCP Server 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
OPENAQ_API_BASE_URL OpenAQ v3 API 基础 URL 覆盖设置(用于测试 / 代理) CANVAS_PROVIDER_TYPE 设置为 'duckdb' 以启用 DataCanvas SQL,用于处理大型测量序列。 OPENAQ_ENABLE_CANVAS_DROP 启用删除已暂存的完整 canvas;需要 CANVAS_PROVIDER_TYPE=duckdb MCP_LOG_LEVEL 设置输出的最低日志级别(例如 'debug'、'info'、'warn') 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Openaq MCP Server
Openaq MCP Server 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 Openaq MCP Server 的应用
B · 法律与政府数据 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
可连接 Claude Code,但需要先准备
需要 Openaq MCP Server 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude Code 安装 MCP server Openaq MCP Server,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user openaq --env OPENAQ_API_KEY=your-value -- npx -y @cyanheads/openaq-mcp-server run start:stdio 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) OPENAQ_API_KEY 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Openaq MCP Server 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
获取密钥的方法见下方开发者的 README
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --scope user openaq --env OPENAQ_API_KEY=your-value -- npx -y @cyanheads/openaq-mcp-server run start:stdio按 Enter 前,把“your-value”改成你的密钥
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
应能看到 Openaq MCP Server 在列表中并显示已连接
用 Openaq MCP Server 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Openaq MCP Server,或回答中出现 Openaq MCP Server 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
OPENAQ_API_BASE_URL OpenAQ v3 API 基础 URL 覆盖设置(用于测试 / 代理) CANVAS_PROVIDER_TYPE 设置为 'duckdb' 以启用 DataCanvas SQL,用于处理大型测量序列。 OPENAQ_ENABLE_CANVAS_DROP 启用删除已暂存的完整 canvas;需要 CANVAS_PROVIDER_TYPE=duckdb MCP_LOG_LEVEL 设置输出的最低日志级别(例如 'debug'、'info'、'warn') 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要 Openaq MCP Server 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Cursor 安装 MCP server Openaq MCP Server,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "openaq": { "command": "npx", "args": [ "-y", "@cyanheads/openaq-mcp-server", "run", "start:stdio" ], "env": { "OPENAQ_API_KEY": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) OPENAQ_API_KEY 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Openaq MCP Server 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
获取密钥的方法见下方开发者的 README
在 Openaq MCP Server 的设置中,OPENAQ_API_KEY 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 Openaq MCP Server 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Openaq MCP Server,或回答中出现 Openaq MCP Server 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
OPENAQ_API_BASE_URL OpenAQ v3 API 基础 URL 覆盖设置(用于测试 / 代理) CANVAS_PROVIDER_TYPE 设置为 'duckdb' 以启用 DataCanvas SQL,用于处理大型测量序列。 OPENAQ_ENABLE_CANVAS_DROP 启用删除已暂存的完整 canvas;需要 CANVAS_PROVIDER_TYPE=duckdb MCP_LOG_LEVEL 设置输出的最低日志级别(例如 'debug'、'info'、'warn') 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要 Openaq MCP Server 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 VS Code 安装 MCP server Openaq MCP Server,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "openaq": { "type": "stdio", "command": "npx", "args": [ "-y", "@cyanheads/openaq-mcp-server", "run", "start:stdio" ], "env": { "OPENAQ_API_KEY": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) OPENAQ_API_KEY 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Openaq MCP Server 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
获取密钥的方法见下方开发者的 README
在 Openaq MCP Server 的设置中,OPENAQ_API_KEY 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 Openaq MCP Server 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Openaq MCP Server,或回答中出现 Openaq MCP Server 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
OPENAQ_API_BASE_URL OpenAQ v3 API 基础 URL 覆盖设置(用于测试 / 代理) CANVAS_PROVIDER_TYPE 设置为 'duckdb' 以启用 DataCanvas SQL,用于处理大型测量序列。 OPENAQ_ENABLE_CANVAS_DROP 启用删除已暂存的完整 canvas;需要 CANVAS_PROVIDER_TYPE=duckdb MCP_LOG_LEVEL 设置输出的最低日志级别(例如 'debug'、'info'、'warn') 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add --scope user openaq --env OPENAQ_API_KEY=your-value -- npx -y @cyanheads/openaq-mcp-server run start:stdioClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"openaq": {
"command": "npx",
"args": [
"-y",
"@cyanheads/openaq-mcp-server",
"run",
"start:stdio"
],
"env": {
"OPENAQ_API_KEY": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"openaq": {
"command": "npx",
"args": [
"-y",
"@cyanheads/openaq-mcp-server",
"run",
"start:stdio"
],
"env": {
"OPENAQ_API_KEY": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"openaq": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/openaq-mcp-server",
"run",
"start:stdio"
],
"env": {
"OPENAQ_API_KEY": "your-value"
}
}
}
}OPENAQ_API_KEY 机密 必填 envOPENAQ_API_BASE_URL envCANVAS_PROVIDER_TYPE envOPENAQ_ENABLE_CANVAS_DROP envMCP_LOG_LEVEL env说明为自动翻译,变量名保持原样;不确定时请查看原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
通过互联网连接,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
我们上次检查时服务器没有响应,所以无法读取它的工具。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月19日
注册名称已通过 GitHub 账户 cyanheads 验证,该账户拥有此仓库
代码最后更新于2个月前
使用 Apache-2.0
我们检查时,6 秒内没有响应
我们检查时,6 秒内没有响应
尚未检查;我们会在检查端点时读取工具列表
云端地址最近 4 次检查中有 0 次响应 · 最近一次没有响应 · 检查于 2026年11月18日
OSV.dev 中没有 @cyanheads/openaq-mcp-server@0.4.1 的记录
只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月15日
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/servers/cyanheads-openaq-mcp-server)提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 4 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:OPENAQ_API_KEY
两种方式都可以:安装在你的电脑上,或者连接云端版本。
GitHub 仓库最后更新于2个月前,最新版本(0.4.1)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于接受远程 MCP 的应用,例如网页版 ChatGPT(Business 及以上为完整 MCP;Pro 为只读)。
同一分类中有:Global law, Open Legal Data (Germany), LibreJustice, InfraNode, Fedlex Connector
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
German court decisions (Rechtsprechung) and laws (Gesetze) with citation graph and citation checks.
Search French-language and European case law and French legal texts (codes, statutes, treaties).
Keyless open data for 84 German cities: 12 lean read-only MCP tools covering 67 data types.
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
| 本项 Openaq MCP Server | Global law | Open Legal Data (Germany) | LibreJustice | InfraNode | Fedlex Connector | |
|---|---|---|---|---|---|---|
| 运行位置 | 云端或安装在电脑上都可以 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 |
| 需要密钥 | 是 | 否 | 否 | 否 | 否 | 否 |
| 可在 Claude 中按 + 添加 | 否 | 否 | 否 | 否 | 否 | 否 |
| 基础检查 | 3/4 | 4/4 | 4/4 | 4/4 | 4/4 | 4/4 |
| 许可证 | Apache-2.0 | NOASSERTION | MIT | Apache-2.0 | Apache-2.0 | MIT |
| 价格 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 |
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
@cyanheads/openaq-mcp-server Find air-quality monitoring stations, read latest sensor values, and pull historical pollutant series via MCP. STDIO or Streamable HTTP. 8 Tools (7 enabled by default) • 2 Resources
Public Hosted Server: https://openaq.caseyjhand.com/mcp
Measured air quality from the OpenAQ v3 API: physical-sensor observations from government reference monitors and research-grade sensors worldwide. Find monitoring stations, read current values, and pull historical pollutant series from any MCP client. Runs as a stdio process, a local Streamable HTTP server, or the public hosted endpoint above.
| Tool | Description |
|---|---|
openaq_find_locations | Find monitoring stations near a point, in a bounding box, or by country; the location ids the other tools take |
openaq_get_readings | Latest value for every sensor at a station, labeled with its pollutant and unit |
openaq_get_measurements | Historical series for one pollutant at one station, raw or rolled up hourly/daily |
openaq_list_parameters | Pollutant catalog with canonical units; maps a pollutant and unit to its parameter id |
openaq_list_countries | Country coverage: data span and the parameters measured in each |
openaq_dataframe_describe | List the tables and columns staged on a DataCanvas |
openaq_dataframe_query | Run a read-only SQL SELECT over staged measurement series |
openaq_dataframe_drop | Delete a complete staged canvas; opt-in with OPENAQ_ENABLE_CANVAS_DROP=true |
| Resource | Description |
|---|---|
openaq://location/{locationId} | Metadata for one station: coordinates, provider, sensors with units, data span |
openaq://parameters | Full pollutant and unit catalog |
Both resources mirror tool output, so tool-only clients lose nothing.
openaq_find_locations toolcoordinates with radius (metres, 1–25000, default 12000), bbox, and/or iso (a code from openaq_list_countries); at least one is required, and coordinates and bbox exclude each other. parametersId, monitor, mobile, and providersId narrow further; up to 100 stations per page (limit, default 20), 1-based pageid, distanceMeters (coordinate search only), provider/providerId, isMonitor/isMobile, its parameters with units, and the datetimeFirst/datetimeLast span; coordinates, country, and provider are null when OpenAQ lists nonetotalCount counts stations through the current page and is a floor when totalCountIsLowerBound is set; no match fails as no_locations_found, a page past the end as page_exhaustedopenaq_get_readings toollocationId, or coordinates plus parametersId to resolve the nearest station within 25 km that measures it (compared across up to 1,000 matching stations; a full 1,000 adds a notice); with locationId, parametersId optionally filters to one parametervalue, unit, sensorId, and datetimeUtc/datetimeLocal, plus the station's provider, providerId, timezone, and datetimeLastlocation_not_found, parameter_not_at_location (with the station's available ids), no_station_near_coordinates, no_recent_valuesopenaq_get_measurements toollocationId and parametersId; datetimeFrom/datetimeTo accept UTC timestamps or station-local YYYY-MM-DD dates (UTC days when the station has no timezone). aggregation is raw (default), hourly, or daily; up to 5,000 rows per callseries, sensorId, pulledCount, pullComplete, effectiveRange, and station provider, providerId, and timezone. totalCount is a floor when totalCountIsLowerBound is set; rollups add summary statistics, gapCount, the first 20 missing intervals as gaps, and a notice when edge buckets are clippedseries is a preview (truncated) and the pulled rows stage on a DataCanvas as measurements_ (canvasId, tableName) when CANVAS_PROVIDER_TYPE=duckdb; a supplied canvas_id stages onto that canvas at any size. One table per sensor: a second sensor adds a table to join against, and re-staging the same sensor overwrites its earlier seriesopenaq_list_parameters toolquery over code, display name, and description; pollutantsOnly drops meteorological and particle-count channelsid, name, displayName, unit, and description; one pollutant can appear under several ids by unit (CO is 4 in µg/m³, 8 in ppm, 102 in ppb)openaq_list_countries toolquery (a two-letter value matches an ISO 3166-1 alpha-2 code first; otherwise code or name substrings match) and parametersId; up to 100 per page (limit, default 20), 1-based pagecode (the iso value for openaq_find_locations), name, the datetimeFirst/datetimeLast span, and the parameters measured anywhere in the country; totalCount is the full filtered countopenaq_dataframe_describe toolcanvas_id from openaq_get_measurements and returns each staged table's name, rowCount, and columns. Call it before openaq_dataframe_query: the staged table is flat (min, sd) while the inline series nests those under summarycanvas_unavailable unless CANVAS_PROVIDER_TYPE=duckdb, or canvas_not_found for an unknown or expired idopenaq_dataframe_query toolcanvas_id and one read-only SELECT; writes, DDL, and file/network table functions are rejectedtruncated set when the cap cut the result; page with ORDER BY plus LIMIT/OFFSETcanvas_unavailable, canvas_not_found, or missing_tableopenaq_dataframe_drop toolOPENAQ_ENABLE_CANVAS_DROP=true; calls fail as canvas_unavailable unless CANVAS_PROVIDER_TYPE=duckdb. When disabled, the HTTP landing page shows the enable hint and tools/list omits the toolcanvas_id and deletes that whole canvas, including all staged tables. Other agents sharing the id lose access; OpenAQ's source data is unaffectedcanvasId and dropped: true when deleted, false when no reachable canvas exists. With authentication off, callers share a tenant: anyone holding an id can delete its canvas when enabledopenaq://location/{locationId} resourceapplication/json: name, locality, timezone, country, provider, isMonitor/isMobile, coordinates, sensors (each with parameterId and unit), and the datetimeFirst/datetimeLast spanlocationId comes from openaq_find_locations; cached 5 minutesopenaq://parameters resourceapplication/json catalog, the same rows as an unfiltered openaq_list_parametersBuilt on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.
OpenAQ-specific:
X-API-Key auth, retry with backoff, and typed upstream failures (invalid_api_key, rate_limited, upstream_timeout, upstream_error) on every OpenAQ callcanvas_id can be joinedAgent-friendly output:
no_locations_found or no_station_near_coordinates, stated as no coverage rather than clean airparametersId selects pollutant and unit togetherdatetimeLast, and totalCount / truncated / notice on capped resultsA public instance is available at https://openaq.caseyjhand.com/mcp — no installation required. Point any MCP client at it via Streamable HTTP:
{
"mcpServers": { "openaq-mcp-server": { "type": "streamable-http", "url": "https://openaq.caseyjhand.com/mcp" } } }
Add the following to your MCP client configuration file.
{
"mcpServers": { "openaq-mcp-server": { "type": "stdio", "command": "bunx", "args": ["@cyanheads/openaq-mcp-server@latest"], "env": { "MCP_TRANSPORT_TYPE": "stdio", "OPENAQ_API_KEY": "your-api-key" } } } }
Or with npx (no Bun required):
{
"mcpServers": { "openaq-mcp-server": { "type": "stdio", "command": "npx", "args": ["-y", "@cyanheads/openaq-mcp-server@latest"], "env": { "MCP_TRANSPORT_TYPE": "stdio", "OPENAQ_API_KEY": "your-api-key" } } } }
Or with Docker:
{
"mcpServers": { "openaq-mcp-server": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MCP_TRANSPORT_TYPE=stdio", "-e", "OPENAQ_API_KEY=your-api-key", "ghcr.io/cyanheads/openaq-mcp-server:latest" ] } } }
Add `"CANVAS_PROVIDER_TYPE": "du