About mcp-server-quickstart
mcp-server-quickstart is an implementation example for a Zenn article about building an MCP server. It retrieves U.S. weather forecasts from the National Weather Service API using specified latitude and longitude.
Key features
- 01Fetches forecasts by latitude and longitude
- 02Uses the National Weather Service API
- 03Supports locations in the United States
Use cases
- 01Retrieving a forecast for U.S. coordinates
- 02Using a weather server as an MCP implementation example
MCP support
The server provides weather forecasts from the National Weather Service API to MCP clients; it supports U.S. locations.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEmcp-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
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.