Hearthline
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.
Hearthline
Hearthline is an Alexa+ coach for the air around one household. You tell it the city and who lives there. It remembers children and asthma across sessions, checks the live air, and speaks a plan for the school morning or the evening.
The plan is specific: outdoor PE or a short one, windows open or shut, a mask for pickup, or an hour of night air and then close up. The answer changes with the US AQI band and with who is in the home.
This is a submission for the Build, Ship, Shape: Amazon Developer Hackathon on the Alexa+ track. The open-source mini challenge uses this same repository: https://github.com/LENGND123/hearthline
How it fits the track
The coach is a self-hosted MCP server on Streamable HTTP. A fresh client negotiates protocol 2025-11-25. The web page is the simulated Alexa+ experience: a voice-style turn, a spoken reply, and a card.
The page never reads the household file and never calls the air API. Each turn opens an MCP session and calls tools.
Tool | What it does |
| Saves the city or one person. Call it once per person. |
| Reads the saved home, including the last plan. |
| Live air for a city, or for the saved home if you leave the city blank. |
| Builds the school, evening, outdoor, or right-now plan and saves it. |
| Stores a named routine on the household. |
| Returns the plans saved earlier. |
| Forgets the home, the plans, and the cached reading. |
There is also a household://profile resource.
Air readings come from Open-Meteo. If us_aqi is missing, the server estimates it from the current PM2.5 with EPA breakpoints. If the network fails, it uses the last saved reading and says so.
Related MCP server: seoul-air-quality-mcp
Run it
Python 3.12. From this folder:
py -3.12 -m venv .venv
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
.\.venv\Scripts\python.exe -m hearthlineThen open http://127.0.0.1:8080
MCP server: http://127.0.0.1:8765/mcp
Simulator: http://127.0.0.1:8080
The status pill should read MCP 2025-11-25 and list 7 tools. Use the chips, the mic (Edge or Chrome), or Play the demo.
Demo lines, in order:
Remember our home in Ajmer. Riya is 8 and has asthma. I am Aditya.
Give me the school morning brief.
Should we open the windows tonight?
What do you remember about our home?
Refresh the page and ask the fourth line again. The home is still there. That file is data/household.json.
To point the simulator at an MCP server you started yourself:
$env:HEARTHLINE_MCP_URL = "http://127.0.0.1:8765/mcp"
.\.venv\Scripts\python.exe -m hearthline.serverHEARTHLINE_DATA overrides the folder used for the household and the air cache. HEARTHLINE_WEB_PORT and HEARTHLINE_MCP_PORT change the ports.
Tests
$env:PYTHONPATH = (Get-Location).Path
.\.venv\Scripts\python.exe -m unittest discover -s tests -vThe unit tests cover the AQI scale, the plan wording, and which tools a sentence should call. They do not need the network. The live check is the demo above.
Layout
hearthline/server.py— MCP server, Streamable HTTPhearthline/agent.py— turns a sentence into tool callshearthline/bridge.py— MCP client used by the simulatorhearthline/policy.py— the household planhearthline/aqi.py— Open-Meteo geocoding and airweb/— the Alexa+ simulatorSUBMISSION.md— text you can paste into the Devpost form
License
MIT. Copyright 2026 Aditya Raj Singh.
This server cannot be deployed
Maintenance
Related MCP Connectors
Air Quality MCP — wraps air-quality-api.open-meteo.com (free, no auth)
The official Model Context Protocol server for Ambee. It gives any MCP-compatible AI assistant — Claude, ChatGPT, Cursor, VS Code, Ollama, and more direct access to live air quality, pollen, and weather data. To get started, including information on signing up and obtaining your Ambee key, check out the Ambee documentation on https://docs.ambeedata.com
Hosted MCP server for live public-data APIs and Skills for AI agents.
EPA AirNow MCP — official US current + forecast AQI, keyless, from AirNow's public file products…
Related MCP Servers
- AlicenseAqualityAmaintenanceLocal-first air-quality MCP for AI agents: AirGradient, AirThings, PurpleAir, IQAir and Awair.1952 npmMIT
- FlicenseNot gradedqualityBmaintenanceMCP server for querying Seoul's official air quality data, including real-time and hourly measurements by district. Enables AI assistants to answer questions about fine dust and air pollution using public data from Seoul Open Data Plaza.-
- AlicenseNot gradedqualityBmaintenanceA self-hosted MCP server that lets Alexa+ help care for an older family member — medicines, health readings, family messages, errands and scam calls — with every tool call screened by a deterministic safety gate and a Cedar policy. It applies zones, tripwire lockdowns, scam watches and approval-fatigue limits so money actions require explicit family approval.MIT
- FlicenseNot gradedqualityAmaintenanceA remote MCP server that lets people use their household from an AI assistant, so they can check today’s agenda and to-dos, add groceries or appointments, log pet care and medicine doses, review bills, and manage health records under the household’s rules.-