Open-Meteo MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Open-Meteo MCP ServerWhat's the weather in Tokyo this weekend?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Open-Meteo MCP Server
A small MCP (Model Context Protocol) server that gives an AI assistant like Claude the ability to look up real weather data — current conditions and forecasts — by wrapping the free Open-Meteo API. No API key required.
Built as a learning project to understand how MCP servers work end to end: defining tools, running them locally, and connecting them to a real AI client.
What it does
Once connected to an MCP-compatible client (like Claude), it exposes three tools:
Tool | What it does |
| Turns a place name ("London") into coordinates |
| Current temperature, wind, precipitation, etc. for a coordinate |
| Up to a 16-day forecast (daily and/or hourly) for a coordinate |
So a person can ask an assistant "what's the weather in Lisbon tomorrow?" and the assistant will call these tools itself to find out and answer — it isn't pre-programmed with weather data, it fetches it live.
Related MCP server: Weather MCP Server
How it's built
src/server.ts— defines the three tools and how each one calls the Open-Meteo API. This is the actual "brains" of the server.src/index.ts— runs the server over stdio (standard input/output). This is the transport used by local dev tools like the MCP Inspector and by desktop apps that launch the server as a subprocess.src/http.ts— runs the same server over Streamable HTTP, so it can be reached over the network — e.g. hosted somewhere, or reached from a browser-based client. This is what makes it possible to demo without installing anything locally.
Both entry points share the same tool definitions in server.ts, so there's
only one place where the actual logic lives.
Running it
npm install
npm run buildLocal/stdio mode (for tools that spawn the server as a subprocess):
npm startHTTP mode (for connecting a remote client, e.g. over a forwarded Codespaces port or a hosting provider):
node build/http.jsThis starts a plain HTTP server on port 3000 (configurable via PORT) with
a single MCP endpoint at POST /mcp, plus a GET /health check.
Testing it without any client
The MCP Inspector's CLI mode is the fastest way to poke at it directly from a terminal, no browser needed:
# See what tools are available
npx @modelcontextprotocol/inspector --cli node build/index.js --method tools/list
# Actually call one
npx @modelcontextprotocol/inspector --cli node build/index.js \
--method tools/call --tool-name geocode_location --tool-arg name=LondonConnecting it to an AI assistant
Claude Desktop / Claude Code: point at
build/index.jsas a stdio MCP server in the client's config.Claude.ai custom connectors: point at the
/mcpURL of a running HTTP instance (requires a plan that allows custom connectors).Anthropic API directly: pass the
/mcpURL in themcp_serversparameter of a/v1/messagesrequest — this lets any custom app or page use the tools without needing a pre-built MCP client.
Notes for extending it
Open-Meteo has many more variables and endpoints than this project uses
(air quality, marine forecasts, historical/archive data, ensembles). To add
more, follow the pattern of an existing tool in src/server.ts — register
a new server.tool(...) block with its own input schema and Open-Meteo
request.
Data © Open-Meteo.com, CC BY 4.0.
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to fetch current weather conditions and forecasts for any city using the Open-Meteo API. Provides temperature, precipitation, and hourly forecast data through natural language queries.
- AlicenseNot gradedqualityFmaintenanceEnables AI assistants to retrieve current weather, forecasts, and summaries for any global location using the Open-Meteo API, with no API key required.21Creative Commons Zero v1.0 Universal
- FlicenseNot gradedqualityDmaintenanceEnables AI agents like GitHub Copilot to retrieve real-time weather data for any city using the Open-Meteo API, no API key required.9
- AlicenseNot gradedqualityCmaintenanceProvides live weather data (current conditions, forecasts) and city geocoding through Open-Meteo API, enabling AI assistants to answer weather queries without an API key.MIT
Related MCP Connectors
Real-time weather conditions and multi-day forecasts via Open-Meteo — free, no API key required
Global weather via Open-Meteo: forecast, ERA5 archive, marine, air quality, geocoding, elevation.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
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/clarehancock/open-meteo-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server