This is a weather app from example how connect to Claude Desktop
Dockerfile
docker build -t weather .
docker run -p 8000:8000 weatherDocker Compose
docker-compose up --build -d
docker-compose logs -fConfiguration of Claude Desktop
CLAUDE Desktop via npx
{
"mcpServers": {
"weather": {
"command": "C:\Program Files\nodejs\npx",
"args": [
"-y",
"mcp-remote",
"http://127.0.0.1:8000/mcp"
]
}
}
}
CLAUDE Desktop via cli
{
"mcpServers": {
"weather": {
"command": "uv",
"args": [
"--directory",
"C:\ABSOLUTE\PATH\TO\PARENT\FOLDER\weather\src",
"run",
"weather.py",
]
}
}
}
OpenAPI
/openapi.json
{
"mcp-weather": {
"type": "openapi",
"url": "http://localhost:8000/openapi.json"
}
}MCP (sse)
/mcp
{
"mcp-weather": {
"type": "sse",
"url": "http://localhost:8000/mcp"
}
}On this page
Contributors
Created November 16, 2025
Updated November 18, 2025