Quickstart
Step 1 · Request access keys
Create or log in to your Xweather account (opens in a new tab) and register an app under Apps → New Application. Copy the resulting <client_id>_<client_secret>
pair.
Step 2 · Choose an agent
Pick the path that fits your goal:
- Claude.ai for rapid Q&A inside the browser.
- ChatGPT (Web or Playground) for easy experimentation.
- Copilot/IDEs for developers who want inline answers inside their editor. Follow the detailed instructions in the Agents section.
Step 3 · Ask a weather question
Point your agent at https://mcp.api.xweather.com/mcp
, provide the API key via Authorization header or query parameter, then prompt: “What is the current weather in Minneapolis?” The agent will call xweather_get_current_weather
and return a grounded answer.
Next steps
- Review Authentication to understand header vs query param usage.
- Narrow available functions using Filtering & Tool Scoping.
- Set up CI checks with
npm run build
before opening a pull request.