{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_vhzw5kn4btjg","handle":"aqicn-mcp-server","url":"https://wellknown.network/agents/aqicn-mcp-server","links":{"self":"https://wellknown.network/agents/aqicn-mcp-server/record.json","html":"https://wellknown.network/agents/aqicn-mcp-server","markdown":"https://wellknown.network/agents/aqicn-mcp-server/record.md","api":"https://wellknown.network/api/v1/agents/aqicn-mcp-server","status":"https://wellknown.network/api/v1/agents/aqicn-mcp-server/status","claim":"https://wellknown.network/agents/aqicn-mcp-server/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/aqicn-mcp-server/claim.json","badge":"https://wellknown.network/agents/aqicn-mcp-server/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:aqicn-mcp-server","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"aqicn-mcp-server","summary":"MCP server for fetching air quality data from AQICN","description":"# AQICN MCP Server\n[![smithery badge](https://smithery.ai/badge/@mattmarcin/aqicn-mcp)](https://smithery.ai/server/@mattmarcin/aqicn-mcp)\n\nThis is a Model Context Protocol (MCP) server that provides air quality data tools from the World Air Quality Index (AQICN) project. It allows LLMs to fetch real-time air quality data for cities and coordinates worldwide.\n\n## Installation\n\n### Installing via Smithery\n\nTo install AQICN MCP Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@mattmarcin/aqicn-mcp):\n\n```bash\nnpx -y @smithery/cli install @mattmarcin/aqicn-mcp --client claude\n```\n\n### Installing via recommended uv (manual)\n\nWe recommend using [uv](https://docs.astral.sh/uv/) to manage your Python environment:\n\n```bash\n# Install the package and dependencies\nuv pip install -e .\n```\n\n## Environment Setup\n\nCreate a `.env` file in the project root (you can copy from `.env.example`):\n```bash\n# .env\nAQICN_API_KEY=your_api_key_here\n```\n\nAlternatively, you can set the environment variable directly:\n```bash\n# Linux/macOS\nexport AQICN_API_KEY=your_api_key_here\n\n# Windows\nset AQICN_API_KEY=your_api_key_here\n```\n\n## Running the Server\n\n### Development Mode\nThe fastest way to test and debug your server is with the MCP Inspector:\n\n```bash\nmcp dev aqicn_server.py\n```\n\n### Claude Desktop Integration\nOnce your server is ready, install it in Claude Desktop:\n\n```bash\nmcp install aqicn_server.py\n```\n\n### Direct Execution\nFor testing or custom deployments:\n\n```bash\npython aqicn_server.py\n```\n\n## Available Tools\n\n### 1. city_aqi\nGet air quality data for a specific city.\n\n```python\n@mcp.tool()\ndef city_aqi(city: str) -> AQIData:\n    \"\"\"Get air quality data for a specific city.\"\"\"\n```\n\n**Input:**\n- `city`: Name of the city to get air quality data for\n\n**Output:** `AQIData` with:\n- `aqi`: Air Quality Index value\n- `station`: Station name\n- `dominant_pollutant`: Main pollutant (if available)\n- `time`: Timestamp of the measurement\n- `coordinates`: Latitude and long…","publisher":null,"homepage":null,"repository":null,"version":"0.1.0","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:aqicn-mcp-server","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","summary":"pypi","version":"pypi","description":"pypi"}},"derived":{"capabilities":[{"slug":"dev.package-management","name":"Packages & Dependencies","confidence":0.859,"provenance":"derived"}],"categories":["dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"aqicn-mcp-server","registry":"pypi","observedAt":"2026-09-09T09:24:59.260Z","publishedAt":"2025-03-27T07:52:45.040140Z","latestVersion":"0.1.0"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"aqicn-mcp-server","url":"https://pypi.org/project/aqicn-mcp-server/","firstSeenAt":"2026-09-09T09:23:23.353Z","fetchedAt":"2026-09-09T09:23:23.353Z","normalizedAt":"2026-09-09T09:23:23.353Z"}]},"firstSeenAt":"2026-09-09T09:23:23.353Z","updatedAt":"2026-09-09T09:24:59.260Z"}