Proporciona pronósticos y alertas meteorológicas al conectar clientes de IA con la API del National Weather Service de EE. UU.
También conocido como dingw1982/quickstart-resources, quickstart-resources, @dingw1982/mcp-quickstart-ts
- Stars
- 0
- Herramientas
- —
- Descargas, 30 días
- 116
- Última versión
- 1.0.1
- Último commit
- 9 sept 2026
- Licencia
- —
¿Qué es Weather MCP?
Proporciona pronósticos y alertas meteorológicas al conectar clientes de IA con la API del National Weather Service de EE. UU.
Resumen generado a partir del README del proyecto
Acerca del MCP server de Weather
Este servidor permite acceder a los datos del National Weather Service de EE. UU. a través de un asistente de IA. Actúa como un puente entre clientes LLM e información meteorológica oficial, exponiendo herramientas específicas para recuperar datos meteorológicos. Los desarrolladores pueden usar esto para crear chatbots que comprendan las condiciones climáticas actuales y las advertencias de seguridad.
El servidor opera sobre stdio y está disponible en múltiples implementaciones, incluyendo Python, TypeScript, Go, Rust y Ruby. Proporciona dos herramientas principales: get_forecast y get_alerts. Para usar los ejemplos de clientes proporcionados, se requiere una ANTHROPIC_API_KEY para ejecutar el bucle de chat, aunque la conexión con el servidor se puede verificar sin credenciales.
Este proyecto sirve como un ejemplo funcional para el Model Context Protocol. Demuestra cómo conectar un cliente a un servidor para permitir que una IA llame a herramientas y reciba resultados estructurados. Los usuarios pueden combinar diferentes lenguajes, como usar un cliente en Python para controlar un servidor en TypeScript.
Qué puedes hacer con él
- 1Verificar la conectividad de herramientas MCPPrueba la conexión entre un cliente y un servidor sin necesidad de una clave de API.
Escrito a partir del README del proyecto. Cada caso de uso se verifica con una cita del mismo.
Cómo instalar Weather MCP
Formatos verificados el 10 nov 2026Añadir a CursorAñadir a GooseInstalar Weather MCP en Claude Code
$ claude mcp add --env 'YOUR_API_KEY=<YOUR_YOUR_API_KEY>' quickstart-resources -- npx -y @dingw1982/mcp-quickstart-tsInstalar Weather MCP en Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"quickstart-resources": {
"command": "npx",
"args": [
"-y",
"@dingw1982/mcp-quickstart-ts"
],
"env": {
"YOUR_API_KEY": "<YOUR_YOUR_API_KEY>"
}
}
}
}Instalar Weather MCP en VS Code
.vscode/mcp.json
{
"servers": {
"quickstart-resources": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dingw1982/mcp-quickstart-ts"
],
"env": {
"YOUR_API_KEY": "<YOUR_YOUR_API_KEY>"
}
}
}
}Instalar Weather MCP en VS Code CLI
$ code --add-mcp '{"name":"quickstart-resources","type":"stdio","command":"npx","args":["-y","@dingw1982/mcp-quickstart-ts"],"env":{"YOUR_API_KEY":"<YOUR_YOUR_API_KEY>"}}'Instalar Weather MCP en Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"quickstart-resources": {
"command": "npx",
"args": [
"-y",
"@dingw1982/mcp-quickstart-ts"
],
"env": {
"YOUR_API_KEY": "<YOUR_YOUR_API_KEY>"
}
}
}
}Instalar Weather MCP en Codex
$ codex mcp add quickstart-resources --env 'YOUR_API_KEY=<YOUR_YOUR_API_KEY>' -- npx -y @dingw1982/mcp-quickstart-tsInstalar Weather MCP en Codex config.toml
~/.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>"
Instalar Weather MCP en Gemini CLI
$ gemini mcp add -s user -e 'YOUR_API_KEY=<YOUR_YOUR_API_KEY>' quickstart-resources npx -- -y @dingw1982/mcp-quickstart-tsInstalar Weather MCP en Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"quickstart-resources": {
"command": "npx",
"args": [
"-y",
"@dingw1982/mcp-quickstart-ts"
],
"env": {
"YOUR_API_KEY": "<YOUR_YOUR_API_KEY>"
}
}
}
}Configuración
YOUR_API_KEYObligatorioSecretoYour API key for the service
| Nombre | Descripción | Tipo |
|---|---|---|
| YOUR_API_KEY | Your API key for the service | ObligatorioSecreto |
Verificaciones automáticas
Ejecutado 15 nov 2026Informe completo →Pasó nuestras verificaciones automáticas. Esto no es una auditoría de seguridad: lee el código y dale al servidor el acceso más limitado que necesite. Cómo funcionan las verificaciones · Qué corregir para obtener más puntos
- Repositorio de origen vinculado y accesibledingw1982/quickstart-resources is public and reachablegithub.com/dingw1982/quickstart-resources ↗Aprobado
- El paquete indica este repositorio como su origen@dingw1982/mcp-quickstart-ts names dingw1982/quickstart-resources as sourcenpmjs.com/package/@dingw1982/mcp-quickstart-ts ↗Aprobado
- Procedencia de la compilación (atestación de Sigstore)No build attestation published for this releaseNo verificado
- Licencia de código abierto (OSI)No licenseHallazgo
- Commit o lanzamiento en el último añoLast commit or release 2026-09-09github.com/dingw1982/quickstart-resources ↗Aprobado
- OpenSSF ScorecardNo verificado
- El nombre del paquete no es similar a un paquete popularNo popular package one edit away from @dingw1982/mcp-quickstart-tsAprobado
- No hay avisos críticos en el paquete ni en sus dependencias4 resolved dependencies checked; no critical advisoryosv.dev ↗Aprobado
- Sin instrucciones ocultas para el modelo0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersAprobado
- Las herramientas destructivas están etiquetadasNo verificado
- El endpoint remoto responde al handshake de MCPNo verificado
README
Ver en GitHubMCP 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.
Preguntas sobre Weather MCP
¿Cómo agrego Weather MCP a Claude Code?
Ejecuta claude mcp add --env 'YOUR_API_KEY=<YOUR_YOUR_API_KEY>' quickstart-resources -- npx -y @dingw1982/mcp-quickstart-ts en tu terminal. Añade --scope user para que esté disponible en todos los proyectos.
¿Cómo agrego Weather MCP a Cursor?
Abre ~/.cursor/mcp.json y añade el servidor en mcpServers, usando la configuración de Cursor que se muestra en la sección de instalación de arriba.
¿Qué herramientas expone el servidor de clima?
El servidor expone dos herramientas: get_forecast y get_alerts.
¿Requiere el cliente una clave de API para listar las herramientas?
No, puedes verificar la conexión de MCP y listar las herramientas sin credenciales, aunque se necesita una ANTHROPIC_API_KEY para el funcionamiento completo.
¿Puedo usar diferentes lenguajes para el cliente y el servidor?
Sí, puedes combinar diferentes lenguajes, como usar un cliente en Python para controlar un servidor en TypeScript.