Smarter Weather Developer Onboarding
Onboard to Smarter Weather from your agent: plans, docs, sign-up, API keys, MCP config, billing.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
claude mcp add --transport http smarter-weather-developer-onboarding 'https://mcp.developers.smarterweather.com'
{
"mcpServers": {
"smarter-weather-developer-onboarding": {
"type": "http",
"url": "https://mcp.developers.smarterweather.com"
}
}
}
@smarterweather/mcp-onboardingclaude mcp add smarter-weather-developer-onboarding -e 'SMARTERWEATHER_ONBOARDING_AUTH=<SMARTERWEATHER_ONBOARDING_AUTH>' -e 'SMARTERWEATHER_ONBOARDING_MCP_URL=https://mcp.developers.smarterweather.com' -- npx -y @smarterweather/mcp-onboarding@0.2.1
{
"mcpServers": {
"smarter-weather-developer-onboarding": {
"command": "npx",
"args": [
"-y",
"@smarterweather/mcp-onboarding@0.2.1"
],
"env": {
"SMARTERWEATHER_ONBOARDING_AUTH": "<SMARTERWEATHER_ONBOARDING_AUTH>",
"SMARTERWEATHER_ONBOARDING_MCP_URL": "https://mcp.developers.smarterweather.com"
}
}
}
}
Variables d'environnement
SMARTERWEATHER_ONBOARDING_AUTHSet to 'required' to opt into OAuth 2.1 + PKCE sign-in and unlock account-scoped tools (API key minting, usage, billing). Unset, the bridge serves the anonymous discovery tools (get_plans, get_documentation, sign_up) with no credentials at all.SMARTERWEATHER_ONBOARDING_MCP_URLOverride the target MCP endpoint for development or staging. Precedence: positional argument > SMARTERWEATHER_ONBOARDING_MCP_URL > package default.
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
Sommaire
Smarter Weather Developer Platform
Agents: start here. Nothing to install. Call
https://api.smarterweather.com/v1/weather?lat=41.66&lon=-91.53with no key; the401body'snext_stepsmember tells you where to get one and what to do with it. Full agent path:llms.txt/AGENTS.md.
The public home for the Smarter Weather developer platform: SDKs,
documentation, example apps, the @smarterweather/mcp-weather and
@smarterweather/mcp-onboarding packages, agent skills, and the OpenAPI
specification for api.smarterweather.com.
Generally available. The REST API, both hosted MCP servers, and both npm stdio bridges are live in production. Breaking-change policy: six months' notice before removing a
/v1/*endpoint or an MCP tool, 90 days before a breaking change to a request or response shape. Non-breaking additions ship immediately.
| Surface | Endpoint | Auth |
|---|---|---|
| REST API | https://api.smarterweather.com | Authorization: Bearer sw_live_* / sw_test_* |
| Weather MCP | https://mcp.smarterweather.com | API key Bearer, OAuth 2.1 + PKCE, or keyless x402 |
| Onboarding MCP | https://mcp.developers.smarterweather.com | Anonymous discovery tools; OAuth for account tools |
What lives here
- OpenAPI specification (
openapi.yaml) for the public REST API athttps://api.smarterweather.com. Auto-synced from the canonical source on change. Also served at https://developers.smarterweather.com/openapi.yaml. - MCP tool descriptors (
descriptors/mcp-tools.json) -- the canonical catalog for the weather MCP server, synced on every server change. @smarterweather/mcp-weather-- npm package source for the stdio bridge that connects MCP clients (Cursor, Claude Desktop, Claude Code, etc.) to the hosted MCP endpoint athttps://mcp.smarterweather.com. The bridge attaches your API key fromSMARTERWEATHER_API_KEYand proxies every JSON-RPC message; all weather logic runs server-side.@smarterweather/mcp-onboarding-- npm package source for the stdio bridge to the developer-onboarding MCP server athttps://mcp.developers.smarterweather.com. Provides agent-driven self-service account creation, API key provisioning, and SDK setup walkthroughs. Auth via OAuth (browser callback).- Client SDKs -- TypeScript and Python first; Go to follow. Not yet shipped; call the REST API directly in the meantime.
- Examples --
examples/: the first call in curl, JavaScript, Python and Go, which CI runs against a mock of the API, and MCP client configs for Claude Desktop and Cursor, which CI checks statically. Listed inexamples/index.json. - Agent Plugins --
plugins/smarterweather/is the long-lived Agent Plugins 1.0 package (weather MCP + playbooks).plugins/smarterweather-onboarding/is the one-shot signup / key-mint install; remove it afterconfigure_mcpso its account tools are not left in a long-lived config (the two servers live on different hosts and do not conflict). Cursor Marketplace discovery uses.cursor-plugin/marketplace.json..cursor/skills/use-smarterweather-api/is a pointer at the weather skills;.claude/CLAUDE.mdremains a follow-up refresh. - Documentation -- guides under
docs/that complement the developer portal at https://developers.smarterweather.com. See the docs index for the current map.
What does not live here: the Smarter Weather core service, ingestion pipeline, or any internal infrastructure. Those remain in a separate private repository.
Quickstart
Three requests, no install:
# 1. Call with no key: the 401 carries `next_steps` (and WWW-Authenticate).
curl -sS -D - 'https://api.smarterweather.com/v1/weather?lat=41.66&lon=-91.53'
# 2. Get a key (free, no card, shown once) at
# https://developers.smarterweather.com/dashboard/api-keys
# and put it in .env as SMARTERWEATHER_API_KEY (add .env to .gitignore).
# 3. Call again with the key.
curl -sS 'https://api.smarterweather.com/v1/weather?lat=41.66&lon=-91.53' \
-H "Authorization: Bearer $SMARTERWEATHER_API_KEY"
The hosted developer portal at https://developers.smarterweather.com is the source of truth for account creation, API key minting, plan management, and usage. Agents whose client speaks MCP can do the same without the dashboard through the onboarding MCP server — see docs/mcp-onboarding.md.
Once you have a key:
# REST API
curl -H "Authorization: Bearer $SMARTERWEATHER_API_KEY" \
"https://api.smarterweather.com/v1/weather?lat=41.88&lon=-87.63"
# Weather MCP bridge (defaults to https://mcp.smarterweather.com;
# override via SMARTERWEATHER_MCP_URL).
npx -y @smarterweather/mcp-weather --version
The full quickstart with language-specific snippets lives at
https://developers.smarterweather.com/quickstart. Agents should start from
llms.txt or AGENTS.md.
Getting help
- Bug reports and feature requests -- file an issue on this repo using the templates in the issue chooser.
- API contract questions -- file an issue with the "API contract question" template; these route to the team that owns the public surface.
- General "how do I do X?" questions -- start a thread in Discussions. We prefer Discussions over chat platforms because answers stay searchable.
- Account, billing, or commercial inquiries -- email alex@smarterweather.com or use the contact page.
- Security issues -- see SECURITY.md. Please do not open public issues for security reports.
Roadmap
Smarter Weather built the developer platform in phases; this repo publishes artifacts as each one ships.
| Phase | Surface | Status |
|---|---|---|
| 1a | Developer dashboard, API key CRUD, billing, monitoring | shipped |
| 1b | This public repository (contracts, package sources, OpenAPI + descriptor sync) | shipped |
| 2 | Public REST API (sw-api) at api.smarterweather.com with usage-based billing | shipped |
| 2b | First-party migration of the Smarter Weather web and iOS apps onto the public API | shipped |
| 3 | Public MCP server (sw-mcp) at mcp.smarterweather.com + @smarterweather/mcp-weather | shipped |
| 4 | Onboarding MCP server (sw-onboarding) + @smarterweather/mcp-onboarding | shipped |
| 5a | Expanded examples (examples/), checked against a mock of the API in CI | shipped |
| 5b | SDKs, registry distribution, community growth | in progress |
The roadmap is published for transparency, not as a commitment. Dates are intentionally omitted -- watch this repository for releases.
Contributing
External contributions are welcome on a tiered basis (typo and small SDK fixes are fast-tracked; new features start with an issue). The OpenAPI specification is read-only -- contract changes route through issues.
See CONTRIBUTING.md for the full posture and the Code of Conduct for community expectations.
License
- Code -- SDKs, examples, the
@smarterweather/mcp-weatherand@smarterweather/mcp-onboardingpackage sources, and any agent skills or scaffolding are licensed under the MIT License. - Documentation and prose -- this README, anything under
docs/, andopenapi.yaml(when present) are licensed under Creative Commons Attribution 4.0 International.
Where any file's intended license is ambiguous (for example, a tutorial that mixes prose and code samples), assume MIT for the code blocks and CC BY 4.0 for the surrounding prose.
The Smarter Weather hosted APIs and services themselves are governed by separate Terms of Service and Developer Terms at https://smarterweather.com/terms and https://developers.smarterweather.com/legal/terms. This repository contains client-side and documentation artifacts only; access to the hosted APIs requires a separate agreement.
Attribution
Smarter Weather builds on data and software from many providers. See ATTRIBUTION.md for the canonical acknowledgements list.
Questions fréquentes
Qu'est-ce que Smarter Weather Developer Onboarding ?
Onboard to Smarter Weather from your agent: plans, docs, sign-up, API keys, MCP config, billing.
Comment installer Smarter Weather Developer Onboarding ?
Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http smarter-weather-developer-onboarding 'https://mcp.developers.smarterweather.com'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour Smarter Weather Developer Onboarding ?
Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.
Smarter Weather Developer Onboarding est-il open source ?
Oui. Son code est sur GitHub sous licence MIT.
Qui maintient Smarter Weather Developer Onboarding ?
Il est publié par smarterweather. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.