MCP Weather Server
@Maggieee030
MCP Weather Server について
一个简单的天气信息 MCP 服务器,提供城市天气查询功能。
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-weather-server-maggieee030": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is MCP Weather Server?
MCP Weather Server is a weather information server based on the Model Context Protocol (MCP). It provides city weather query functionality, returning temperature and weather conditions for a specified city.
How to use MCP Weather Server?
Clone the repository, install dependencies with npm install, build the project with npm run build, and start the server with npm start. Test the server using MCP Inspector via npx @modelcontextprotocol/inspector. The server exposes a get_weather tool that accepts a city parameter (string) and returns temperature and condition.
Key features of MCP Weather Server
- Query weather information for a specified city
- Returns temperature and weather condition
- Simple API interface via MCP protocol
- Easy to install and run with Node.js
Use cases of MCP Weather Server
- Integrate real-time weather data into MCP-compatible AI assistants
- Provide weather context for conversational agents or automation workflows
- Test and demonstrate MCP server functionality with a simple tool
FAQ from MCP Weather Server
What runtime does MCP Weather Server require?
It requires Node.js and npm to install and run.
How do I test the server?
Use MCP Inspector by running npx @modelcontextprotocol/inspector after starting the server.
What data does the server return?
It returns the city name, temperature (numeric), and weather condition (string, e.g., "Sunny").
Is there any authentication or transport configuration?
The README does not mention authentication or transport details; it uses the default MCP transport.
Where does the weather data come from?
The README does not specify the data source.
「メディアとデザイン」の他のコンテンツ
YouTube MCP Server
anaisbettsA Model-Context Protocol Server for YouTube
Framelink Figma MCP Server
GLipsMCP server to provide Figma layout information to AI coding agents like Cursor
百度地图 MCP Server
baidu-mapsBaidu Map MCP Server
NS Travel Information MCP Server
r-huijtsA Model Context Protocol (MCP) server that provides access to NS (Dutch Railways) travel information through Claude AI. This server enables Claude to fetch real-time train travel information and disruptions using the official Dutch NS API.
MCP Figma to React Converter
StudentOfJSMCP server for converting Figma designs to React components
コメント