Bietet Wettervorhersagen und Warnungen, indem es AI-Clients mit der API des US National Weather Service verbindet.
Auch bekannt als dingw1982/quickstart-resources, quickstart-resources, @dingw1982/mcp-quickstart-ts
- Stars
- 0
- Tools
- —
- Downloads, 30 Tage
- 116
- Neueste Version
- 1.0.1
- Letzter Commit
- 9. Sept. 2026
- Lizenz
- —
Was ist Weather MCP?
Bietet Wettervorhersagen und Warnungen, indem es AI-Clients mit der API des US National Weather Service verbindet.
Zusammenfassung generiert aus dem README des Projekts
Über Weather MCP server
Dieser Server ermöglicht den Zugriff auf Daten des US National Weather Service über einen AI-Assistenten. Er fungiert als Brücke zwischen LLM-Clients und offiziellen Wetterinformationen, indem er spezifische Tools zum Abrufen meteorologischer Daten bereitstellt. Entwickler können dies nutzen, um Chatbots zu bauen, die aktuelle Wetterbedingungen und Sicherheitswarnungen verstehen.
Der Server läuft über stdio und ist in mehreren Implementierungen verfügbar, darunter Python, TypeScript, Go, Rust und Ruby. Er bietet zwei primäre Tools: get_forecast und get_alerts. Um die bereitgestellten Beispiel-Clients zu nutzen, ist ein ANTHROPIC_API_KEY erforderlich, um den Chat-Loop zu betreiben, wobei die Verbindung zum Server auch ohne Credentials verifiziert werden kann.
Dieses Projekt dient als funktionales Beispiel für das Model Context Protocol. Es zeigt, wie man einen Client mit einem Server verbindet, damit eine KI Tools aufrufen und strukturierte Ergebnisse erhalten kann. Nutzer können verschiedene Sprachen mischen, wie etwa einen Python-Client verwenden, um einen TypeScript-Server zu steuern.
Was du damit machen kannst
- 1MCP Tool-Konnektivität prüfenTeste die Verbindung zwischen einem Client und einem Server, ohne einen API-Key zu benötigen.
Geschrieben aus dem README des Projekts. Jeder Use Case wurde gegen ein Zitat daraus geprüft.
So installierst du Weather MCP
Formate geprüft am 10. Nov. 2026Zu Cursor hinzufügenZu Goose hinzufügenWeather MCP in Claude Code installieren
$ claude mcp add --env 'YOUR_API_KEY=<YOUR_YOUR_API_KEY>' quickstart-resources -- npx -y @dingw1982/mcp-quickstart-tsWeather MCP in Cursor installieren
~/.cursor/mcp.json
{
"mcpServers": {
"quickstart-resources": {
"command": "npx",
"args": [
"-y",
"@dingw1982/mcp-quickstart-ts"
],
"env": {
"YOUR_API_KEY": "<YOUR_YOUR_API_KEY>"
}
}
}
}Weather MCP in VS Code installieren
.vscode/mcp.json
{
"servers": {
"quickstart-resources": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dingw1982/mcp-quickstart-ts"
],
"env": {
"YOUR_API_KEY": "<YOUR_YOUR_API_KEY>"
}
}
}
}Weather MCP in VS Code CLI installieren
$ code --add-mcp '{"name":"quickstart-resources","type":"stdio","command":"npx","args":["-y","@dingw1982/mcp-quickstart-ts"],"env":{"YOUR_API_KEY":"<YOUR_YOUR_API_KEY>"}}'Weather MCP in Claude Desktop installieren
claude_desktop_config.json
{
"mcpServers": {
"quickstart-resources": {
"command": "npx",
"args": [
"-y",
"@dingw1982/mcp-quickstart-ts"
],
"env": {
"YOUR_API_KEY": "<YOUR_YOUR_API_KEY>"
}
}
}
}Weather MCP in Codex installieren
$ codex mcp add quickstart-resources --env 'YOUR_API_KEY=<YOUR_YOUR_API_KEY>' -- npx -y @dingw1982/mcp-quickstart-tsWeather MCP in Codex config.toml installieren
~/.codex/config.toml
[mcp_servers.quickstart-resources] command = "npx" args = ["-y", "@dingw1982/mcp-quickstart-ts"] [mcp_servers.quickstart-resources.env] YOUR_API_KEY = "<YOUR_YOUR_API_KEY>"
Weather MCP in Gemini CLI installieren
$ gemini mcp add -s user -e 'YOUR_API_KEY=<YOUR_YOUR_API_KEY>' quickstart-resources npx -- -y @dingw1982/mcp-quickstart-tsWeather MCP in Gemini settings.json installieren
~/.gemini/settings.json
{
"mcpServers": {
"quickstart-resources": {
"command": "npx",
"args": [
"-y",
"@dingw1982/mcp-quickstart-ts"
],
"env": {
"YOUR_API_KEY": "<YOUR_YOUR_API_KEY>"
}
}
}
}Konfiguration
YOUR_API_KEYErforderlichSecretYour API key for the service
| Name | Beschreibung | Typ |
|---|---|---|
| YOUR_API_KEY | Your API key for the service | ErforderlichSecret |
Automatisierte Checks
Geluften am 15. Nov. 2026Vollständiger Bericht →Unsere automatisierten Checks bestanden. Das ist kein Security-Audit: Lies den Code und gib dem Server nur den minimal notwendigen Zugriff. Wie die Checks funktionieren · Was du für mehr Punkte verbessern kannst
- Source Repository verknüpft und erreichbardingw1982/quickstart-resources is public and reachablegithub.com/dingw1982/quickstart-resources ↗Bestanden
- Paket nennt dieses Repository als Quelle@dingw1982/mcp-quickstart-ts names dingw1982/quickstart-resources as sourcenpmjs.com/package/@dingw1982/mcp-quickstart-ts ↗Bestanden
- Build-Provenienz (Sigstore-Attestierung)No build attestation published for this releaseNicht geprüft
- Open Source Lizenz (OSI)No licenseBefund
- Commit oder Release im letzten JahrLast commit or release 2026-09-09github.com/dingw1982/quickstart-resources ↗Bestanden
- OpenSSF ScorecardNicht geprüft
- Package-Name ähnelt keinem populären PackageNo popular package one edit away from @dingw1982/mcp-quickstart-tsBestanden
- Keine kritischen Advisories im Paket oder seinen Abhängigkeiten4 resolved dependencies checked; no critical advisoryosv.dev ↗Bestanden
- Keine versteckten Anweisungen an das Modell0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersBestanden
- Destruktive Tools sind markiertNicht geprüft
- Remote-Endpoint beantwortet den MCP-HandshakeNicht geprüft
README
Auf GitHub ansehenMCP Quickstart Resources
Example servers and clients for the Model Context Protocol (MCP), in five languages. These are companion examples for two official tutorials:
- Build an MCP server – a simple MCP weather server exposing two tools backed by the US National Weather Service API
- Build an MCP client – an LLM-powered chatbot MCP client that connects to any stdio server and lets Claude call its tools
What's in this repository
Each example lives in its own directory with its own README covering prerequisites, setup, and how to run it:
| Language | Weather server (MCP server) | Chatbot (MCP client) |
|---|---|---|
| Python | weather-server-python |
mcp-client-python |
| TypeScript | weather-server-typescript |
mcp-client-typescript |
| Go | weather-server-go |
mcp-client-go |
| Rust | weather-server-rust |
mcp-client-rust |
| Ruby | weather-server-ruby |
mcp-client-ruby |
All servers communicate over stdio and expose the same two tools: get_forecast and get_alerts (or get-forecast and get-alerts in TypeScript).
All clients launch a server, list its tools, and start an interactive chat loop in which Claude can call those tools. The Python, TypeScript, and Ruby clients take a path to a server script; the Go and Rust clients take the command to run, plus any arguments.
Note: These example clients need an ANTHROPIC_API_KEY to operate. Without a key, each client still connects and lists the server's tools before exiting, so you can verify the MCP wiring without credentials.
You can mix and match across languages: for example, the Python client can drive the TypeScript server. Each client's README lists which server launch forms it supports.
The tests directory contains the smoke tests that run in CI against these examples. See tests/README.md for how they work.
Prerequisites
Each example only needs its own language toolchain. To work across the whole repository (for example, to run the smoke tests) you need:
- Node.js 24+ and npm
- Python 3.10+ and uv
- Go 1.25+
- Rust 1.88+ and Cargo
- Ruby 3.4+ and Bundler
Running the tests
./tests/smoke-test.sh
The smoke tests verify that every server starts and answers MCP requests (including validating structured tool results against the schemas each tool advertises), and that the Python, TypeScript, and Ruby clients can connect to a mock server and list tools. They run automatically on every pull request via GitHub Actions.
Contributing
Contributions are welcome. To submit a change:
- Fork the repository and create a branch from
main. - Make your change. Keep the examples minimal - they exist to teach the protocol, not to be production services.
- If you change an example's behavior, setup, or dependencies, update that example's README to match.
- Run
./tests/smoke-test.shand make sure it passes. - Open a pull request against
maindescribing what changed and why.
A few conventions to follow, in line with the broader Model Context Protocol contributing guidelines:
- Keep documentation clear, concise, and technically accurate. Include code examples where appropriate, and test the commands and links you add.
- Disclose AI assistance. If you used any kind of AI assistance to prepare your contribution, say so in the pull request or issue. See AI_POLICY.md for what the disclosure should cover.
- Be respectful. This project follows the MCP community's Code of Conduct. Concerns can be reported to mcp-coc@anthropic.com.
Security note
These examples are intentionally minimal. If you expose an MCP server over a network (HTTP/SSE/WebSocket), add authentication and basic hardening (CORS allowlist, request size limits, timeouts, rate limits, and log redaction). See SECURITY.md.
License
The MCP project is transitioning from the MIT License to Apache-2.0. New code contributions are licensed under Apache-2.0, and documentation (excluding specifications) under CC-BY-4.0. Earlier contributions whose authors have not consented to relicensing remain under the MIT License. See LICENSE for the full terms.
Weather MCP Fragen
Wie füge ich Weather MCP zu Claude Code hinzu?
Führe claude mcp add --env 'YOUR_API_KEY=<YOUR_YOUR_API_KEY>' quickstart-resources -- npx -y @dingw1982/mcp-quickstart-ts in deinem Terminal aus. Füge --scope user hinzu, damit der Server in jedem Projekt verfügbar ist.
Wie füge ich Weather MCP zu Cursor hinzu?
Öffne ~/.cursor/mcp.json und füge den Server unter mcpServers hinzu, mit der Cursor-Config aus dem Installationsabschnitt oben.
Welche Tools stellt der Weather Server bereit?
Der Server stellt zwei Tools bereit: get_forecast und get_alerts.
Benötigt der Client einen API-Key, um Tools aufzulisten?
Nein, du kannst die MCP-Verbindung prüfen und Tools auflisten, ohne Anmeldedaten zu verwenden, obwohl für den vollen Betrieb ein ANTHROPIC_API_KEY benötigt wird.
Kann ich verschiedene Sprachen für Client und Server verwenden?
Ja, du kannst verschiedene Sprachen kombinieren, zum Beispiel einen Python-Client nutzen, um einen TypeScript-Server zu steuern.