weather-mcp
Weather API + UI + MCP Server
This project includes:
UI: enter a city name and get current weather
HTTP API:
GET /api/weather?city=...Summary API:
GET /api/summary?city=...(optional Claude; falls back to local summary)MCP server: tool
get_weatherover stdio
Weather data uses Open‑Meteo (free, no API key).
Run the UI + API
npm install
npm run devOpen http://localhost:5175.
Optional: “Claude API” summary
Claude is not truly free; you’ll need an API key. This project supports either:
ANTHROPIC_API_KEY(direct Anthropic API), orOPENROUTER_API_KEY(OpenRouter, using an Anthropic Claude model viaOPENROUTER_MODEL)
If no key is set, /api/summary and the UI “Summarize” button will fall back to a local summary.
Run the MCP server (stdio)
npm install
npm run mcpThen configure your MCP client to launch:
command:
npmargs:
["run","mcp"]cwd: this folder
Tool name:
get_weatherwith input{ "city": "Pune" }
"# MCP_example"
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vijaypss/MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server