beestat-mcp

beestat-mcp

Enables interaction with beestat thermostats via MCP tools, including generic API calls and convenience methods for reading thermostat, sensor, and runtime data.

Category
Visit Server

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_id
    • ecobee_thermostat_read_id
    • sensor_read_id
    • ecobee_sensor_read_id
    • runtime_thermostat_read
    • runtime_thermostat_summary_read_id
    • runtime_sensor_read
    • thermostat_sync
    • sensor_sync
    • runtime_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 (default 0.0.0.0)
  • BEESTAT_MCP_PORT (default 8000)
  • 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

  • arguments are forwarded directly to beestat as JSON.
  • http_method supports GET (default) and POST.
  • 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:

  1. Endpoint/network:
    • If n8n and beestat-mcp are in different compose projects, 127.0.0.1 inside n8n is not your host.
    • Use http://host.docker.internal:8000/mcp (host service) or put both services on a shared Docker network and use http://beestat-mcp:8000/mcp.
  2. Tool argument shape:
    • runtime_thermostat_read is not a good tool for "how long has heat run today".
    • Use runtime_thermostat_summary_read_id and aggregate summary fields for the target date.
  3. 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

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured