mcp-server-quickstart
If you are the rightful owner of mcp-server-quickstart 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 is an implementation example of an MCP server using the National Weather Service (NWS) API to obtain weather information in the United States.
mcp-server-quickstart
Zenn記事「MCPサーバー自作入門」の実装例です。
概要
National Weather Service (NWS) APIを使用して、米国の気象情報を取得するMCPサーバーです。
機能
- 緯度経度を指定して天気予報を取得
- 米国内の地域のみサポート
使用方法
- インストール
npm install
- ビルド
npm run build
- Cursorの設定
.cursor/mcp.json
に以下の設定を追加:
{
"mcpServers": {
"weather-forecast": {
"command": "node",
"args": [
"./build/index.js"
]
}
}
}
ライセンス
ISC