beestat-mcp
Enables interaction with beestat thermostats via MCP tools, including generic API calls and convenience methods for reading thermostat, sensor, and runtime data.
README
beestat-mcp
Python MCP server that wraps the beestat API.
What this provides
- A generic tool:
beestat_call(resource, method, arguments?, http_method?) - Convenience tools for documented resources:
thermostat_read_idecobee_thermostat_read_idsensor_read_idecobee_sensor_read_idruntime_thermostat_readruntime_thermostat_summary_read_idruntime_sensor_readthermostat_syncsensor_syncruntime_sync
Setup
python -m venv .venv
source .venv/bin/activate
pip install -e .
Set your beestat key:
export BEESTAT_API_KEY="your_api_key"
Run server (default transport: streamable-http):
beestat-mcp
Or force stdio:
beestat-mcp --transport stdio
Docker
Build and run:
docker build -t beestat-mcp .
docker run --rm -p 8000:8000 \
-e BEESTAT_API_KEY="your_api_key" \
beestat-mcp
Or with compose:
cat > .env << 'EOF'
BEESTAT_API_KEY=your_api_key
BEESTAT_MCP_PORT=8000
BEESTAT_MCP_STREAMABLE_HTTP_PATH=/mcp
EOF
docker compose up -d --build
n8n usage
Use n8n's MCP Client node with HTTP transport and point it at:
http://127.0.0.1:8000/mcp
If both n8n and this service run in Docker Compose, use:
http://beestat-mcp:8000/mcp
If n8n is in Docker and this server is on host, use host.docker.internal instead of 127.0.0.1.
Server config env vars:
BEESTAT_MCP_TRANSPORT(streamable-http,sse,stdio)BEESTAT_MCP_HOST(default0.0.0.0)BEESTAT_MCP_PORT(default8000)BEESTAT_MCP_STREAMABLE_HTTP_PATH(default/mcp)BEESTAT_MCP_MOUNT_PATH(default/)BEESTAT_MCP_SSE_PATH(default/sse)BEESTAT_MCP_MESSAGE_PATH(default/messages/)
Example MCP client config (Claude Desktop)
{
"mcpServers": {
"beestat": {
"command": "/home/lrw5016/projects/beestat-mcp/.venv/bin/beestat-mcp",
"env": {
"BEESTAT_API_KEY": "your_api_key"
}
}
}
}
Notes
argumentsare forwarded directly to beestat as JSON.http_methodsupportsGET(default) andPOST.- If beestat returns
success: false, the MCP tool now raises a clear error message.
Troubleshooting
If your agent hangs after lines like:
Calling MCP_Client with input: {"tool":"runtime_thermostat_read","arguments":{"thermostat_id":71384}}
check these first:
- Endpoint/network:
- If n8n and beestat-mcp are in different compose projects,
127.0.0.1inside n8n is not your host. - Use
http://host.docker.internal:8000/mcp(host service) or put both services on a shared Docker network and usehttp://beestat-mcp:8000/mcp.
- If n8n and beestat-mcp are in different compose projects,
- Tool argument shape:
runtime_thermostat_readis not a good tool for "how long has heat run today".- Use
runtime_thermostat_summary_read_idand aggregate summary fields for the target date.
- Server logs:
docker compose logs -f beestat-mcp- If you see
beestat API error ..., that message now surfaces directly to the agent.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.