weather-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., "@weather-mcp-serverWhat's the current weather in Tokyo?"
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.
๐ค Weather MCP Server
ไธไธชๆๅฐๅไฝๅฎๆด็ MCP (Model Context Protocol) ๆๅก็ซฏๅฎ็ฐ๏ผไธบ AI Agent ๆไพๅฎๆถๅคฉๆฐๆฅ่ฏข่ฝๅใ
ไธบไปไนๅ่ฟไธช้กน็ฎ
่ฟๆฏ ไป้ถๅญฆ AI Agent ๆถๆ ็ๅฎๆ้กน็ฎ #1ใMCP ๅ่ฎฎๆฏ AI Agent ไธๅค้จไธ็ไบคไบ็ๆ ๅๆฅๅฃโโ็่งฃ MCP ๆฏ็่งฃๆดไธช Agent ๆถๆ็็ฌฌไธๆญฅใๆฌ้กน็ฎ็จๆๅฐ็ไปฃ็ ้๏ผ~200 ่ก๏ผๅฑ็คบ MCP Server ็ๅฎๆด็ๅฝๅจๆใ
Related MCP server: Weather MCP Server
ๅฟซ้ๅผๅง
# 1. ๅฎ่ฃ
cd weather-mcp-server
pip install -e .
# 2. ๆต่ฏ
pytest tests/ -v
# 3. ่ฟ่ก๏ผstdio transport๏ผ
weather-mcpๆฅๅ ฅ Claude Code
ๅจ claude_desktop_config.json ๆ .claude/settings.json ไธญๆทปๅ ๏ผ
{
"mcpServers": {
"weather": {
"command": "uv",
"args": [
"run",
"--directory", "D:\\AI_Space\\ClaudeCode-DeepSeek\\weather-mcp-server",
"weather-mcp"
]
}
}
}้ๅฏ Claude Code ๅ๏ผไฝ ๅฐฑ่ฝ็ๅฐ mcp__weather__get_current_weather ๅ mcp__weather__get_forecast ไธคไธชๅทฅๅ
ทใ
ๆไพ็ๅทฅๅ ท
ๅทฅๅ ทๅ | ็จ้ | ๅๆฐ |
| ๅฎๆถๅคฉๆฐ๏ผๆธฉๅบฆ/ไฝๆ/้ฃ้/ๆนฟๅบฆ/็ดซๅค็บฟ๏ผ |
|
| ๆชๆฅ N ๅคฉ้ขๆฅ |
|
ๆถๆ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Claude Code (Host) โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ MCP Client (weather) โ โ
โ โ JSON-RPC over stdio โ โ
โ โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโ
โ stdin/stdout
โโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Weather MCP Server โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ handle_list_tools() โ โ
โ โ handle_call_tool() โ โ
โ โโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โ
โ โโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ fetch_weather() (wttr.in) โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ้กน็ฎ็ปๆ
weather-mcp-server/
โโโ pyproject.toml # ้กน็ฎ้
็ฝฎๅไพ่ต
โโโ README.md # ๆฌๆไปถ
โโโ src/
โ โโโ weather_mcp/
โ โโโ __init__.py
โ โโโ server.py # MCP Server ๆ ธๅฟ๏ผ~200่ก๏ผ
โโโ tests/
โโโ test_server.py # ๅๅ
ๆต่ฏ + ้ๆๆต่ฏๅญฆไผไบไปไน
้่ฟ่ฟไธช้กน็ฎไฝ ๅฏไปฅ็่งฃ๏ผ
MCP ๅ่ฎฎไธๅฑๆจกๅ: Host โ Client โ Server
JSON-RPC 2.0: MCP ็ๅบๅฑไผ ่พๆ ผๅผ
stdio transport: ่ฟ็จ้ด้่ฟๆ ๅ่พๅ ฅ่พๅบ้ไฟก
Tool ๅฎไน: name + description + input_schema๏ผAI ๅฆไฝๅน้ ๅทฅๅ ท
ไธๅก้ป่พไธๅ่ฎฎ่งฃ่ฆ: fetch_weather() ไธ็ฅ้ MCP ็ๅญๅจ
้่ฏฏๅค็: MCP ๅ่ฎฎ่ฆๆฑ่ฟๅ is_error ่้ๆๅผๅธธ
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/liuweihongliuxinyu/weather-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server