ryands17/weather-mcp
3.2
If you are the rightful owner of weather-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This server provides current weather data using the Open Weather API through the Model Context Protocol (MCP).
weather-mcp
To install dependencies:
bun install
To run:
bun run index.ts
This is an MCP server for fetching the current weather using an Open Weather API. This is a simple example to learn how to configure and use MCP servers.
To configure this for Claude Code or Gemini CLI, add the following to their configuration:
{
"mcpServers": {
"weather": {
"command": "bun",
"args": ["run", "<path-before-this>/weather-mcp/index.ts"],
"env": {
"WEATHER_API_KEY": "<your-api-key>"
}
}
}
}
Then listing the mcp servers should show the tools available