Client connection
AccuWeather's MCP works with many different AI tools. While this page provides instructions for some of the more common options, it is not a comprehensive collection.
Replace YOUR_API_KEY in the examples below with a key from your subscriptions page, then verify the connection.
Claude
Custom connectors are available on every Claude plan, with limits on how many you can add. On Team and Enterprise, an owner adds the connector for the organization before members can connect to it.
Custom connector
The same custom connector works in the Claude web app and Claude Desktop, and installs nothing. Add it under Customize → Connectors, using this URL with your free trial or Elite API key in place of YOUR_API_KEY:
Code
Then enable AccuWeather in a conversation from the + menu.
The key goes in the URL because the connector form has no field for a custom header. Read send the key before you store or share that URL, particularly for an organization-wide connector where more people can see it.
For the current click-by-click flow, see Anthropic's custom connector documentation.
Where the connection comes from
Remote connectors reach AccuWeather from Anthropic's infrastructure, including when you use Claude Desktop. The MCP remote bridge below connects from your own machine instead. This matters if your network restricts outbound traffic, or if you are diagnosing why one works and the other does not.
Claude Desktop with the MCP remote bridge
Use this if you need the server defined in claude_desktop_config.json, to share one config file across machines for example. claude_desktop_config.json cannot point at a remote server directly, so the entry runs mcp-remote, a small helper that connects on its behalf.
Before you begin: install Node.js. The helper runs through npx, which Node.js provides.
-
In the Settings menu, select Developer, then select Edit Config. This opens the folder containing your configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
-
Open the file in a text editor and merge the AccuWeather server into any existing
mcpServersentries, including your free trial or Elite API key where indicated. Both forms below authenticate the same way, and both work on every platform.The key goes in
envrather than straight into the--headerargument because Claude Desktop on Windows mishandles the space inBearer YOUR_API_KEY. The bridge fills the variable in before sending, so AccuWeather still receives the correct header. The "Key in URL" form avoids the space too, since it passes no header at all. -
Save the file, then quit and relaunch Claude Desktop.
-
Confirm the AccuWeather tools are listed in the tool picker.
On Windows, see bridge fails to launch if the server does not start at all.
Claude Code
Claude Code adds remote MCP servers from the command line.
-
Run the following command, replacing
YOUR_API_KEYwith your free trial or Elite API key:CodeWithout a scope flag, the server is added for the current project on the current machine only. Add
--scope userto make it available in every project on your machine. -
Confirm the server was added:
Code -
Start a new Claude Code session. Run
/mcpin the session to check the connection and see the AccuWeather tools.
Never commit an API key
--scope project writes the server into a .mcp.json that your team commits, so a literal key in that command ends up in version control. Reference an environment variable instead:
Code
The backslash stops Bash or zsh expanding the variable, so the placeholder rather than your key is written to the file. Other shells escape differently, so check the file afterwards to confirm it contains ${ACCUWEATHER_API_KEY} and not your key. Each teammate then sets ACCUWEATHER_API_KEY in their own environment.
Give each person their own key. A key belongs to one subscription, so sharing one means sharing an allowance, and rotating it breaks everyone at once.
For the current command reference, see Claude Code's MCP documentation.
Cursor
Cursor reads MCP servers from a JSON configuration file.
-
Open
~/.cursor/mcp.jsonin a text editor. Create the file if it does not exist. -
Merge the AccuWeather server into any existing
mcpServersentries, replacingYOUR_API_KEYwith your free trial or Elite API key:Code -
Save the file and restart Cursor.
-
Open Customize, find the AccuWeather server, and confirm its tools are listed.
Sharing the configuration with your team
A workspace .cursor/mcp.json works the same way, but it is usually committed to source control. Reference an environment variable instead of a literal key:
Code
Each teammate sets ACCUWEATHER_API_KEY themselves, somewhere Cursor can read it.
For the current setup flow, see Cursor's MCP documentation.
GitHub Copilot
VS Code
You can add the server through MCP: Add Server, but editing the configuration file directly is the route documented here because it makes the Authorization header explicit and easy to check.
-
Run MCP: Open User Configuration from the Command Palette to open your user
mcp.json, or open.vscode/mcp.jsonto configure a single workspace. Create the file if it does not exist. -
Merge the following into any existing
serversandinputsentries. The${input:…}pattern prompts you for the key and stores it securely, so your key is never written into the file:Code -
Save the file, then start the server and trust it when VS Code asks.
-
Enter your API key at the prompt.
-
Open the chat input, select Configure Tools, and confirm the AccuWeather tools are listed.
For the current setup flow, see VS Code's MCP documentation.
JetBrains IDEs
This applies to IntelliJ IDEA, PyCharm, WebStorm, and other JetBrains IDEs with GitHub Copilot installed. If your organization manages Copilot, MCP servers may need to be enabled for you first.
In Copilot Chat, switch to Agent mode and open the MCP server configuration from the tools icon. Merge the following into mcp.json, replacing YOUR_API_KEY with your free trial or Elite API key. Note that the header goes inside requestInit, which differs from the VS Code format above:
Code
For the current menu path, see GitHub's MCP documentation.
ChatGPT
ChatGPT connects to MCP servers through developer mode on the web, which paid plans include. On a managed workspace, an administrator may need to enable it or grant you access first.
-
In Settings, select Security and login, then turn on Developer mode.
-
Go to ChatGPT Plugins and select the plus button.
-
Enter a name and description. These are what you will see when picking the connection in a conversation, so something like
AccuWeatherworks well. -
Under Connection, enter the URL below as the MCP server URL, including your free trial or Elite API key where indicated.
Code -
Select No authentication. The key in the URL authenticates the connection.
The form also offers OAuth and Mixed authentication. Neither accepts a custom
Authorizationheader, which is why the key goes in the URL. Treat that URL as a secret. -
Create the connection. It is live once the AccuWeather tools and their descriptions appear on its details page.
-
Open a conversation, select Developer mode from the + menu in the composer, then select AccuWeather.
When several connections offer similar tools, name the one you want in your prompt: "Use the AccuWeather app's get_daily_forecast tool for Boston."
For the current setup flow, see OpenAI's developer mode documentation.
MCP Inspector
MCP Inspector is a tool that lists every available tool and lets you call one directly. Use it to confirm your key works before configuring a client.
Before you begin: install Node.js 22.19.0 or newer, which the current Inspector requires.
-
Run the following command, replacing
YOUR_API_KEYwith your free trial or Elite API key:Code -
Open the URL the command prints, then select Connect.
-
Select List Tools to see the AccuWeather tools, and select any one to call it with your own arguments.
For current options and flags, see the MCP Inspector repository.
Other clients
The examples above are not a complete list. Any MCP client that supports a remote Streamable HTTP server, and lets you supply an API key as either an Authorization header or a URL parameter, can connect using the details in endpoint and authentication.
Verify the connection
Whichever client you set up, confirm it works the same way. Ask your assistant:
What's the 5-day forecast for New York City?
Expected result: a five-day forecast. You will typically see two AccuWeather tool calls, one to look up New York City and one to fetch the forecast for it, though how your assistant sequences them is up to it. Most clients let you expand a tool call to see what was sent.
More than one call for a single question is normal, and each counts against your allowance. See usage and billing.
If nothing happens, or the assistant answers without calling a tool, see troubleshooting below.
Troubleshooting
| Issue | Resolution |
|---|---|
| No AccuWeather tools appear | Restart the client so it reloads the tool list. Reconnect the connector if you used one. |
| Tool names look out of date | Your client is showing a cached list. Restart it, and reconnect the connector. |
401 Unauthorized | Check the key is correct and active on the subscriptions page. |
403 Forbidden | The key is valid but its plan does not include MCP. Only the free trial and Elite plans do. Compare plans on the pricing page. |
429 Too Many Requests | You have hit a rate limit. On the free trial this is usually the daily allowance, which resets daily. Wait and retry, or upgrade on the pricing page. |
| Only some tools appear | Your client may be limiting how many tools it sends to the model at once. Check its tool settings, and deselect tools from other servers if you have several connected. |
Windows: bridge fails to launch
Symptom: Claude Desktop does not start the MCP remote bridge, and reports 'C:\Program' is not recognized as an internal or external command.
Cause: Node.js installs to C:\Program Files\nodejs by default, and the unquoted space in that path breaks the command when the server is launched. This affects MCP servers generally on Windows, not just AccuWeather's. You only hit it if Node is installed somewhere containing a space, which is why it does not affect every Windows machine.
Resolution: run npx through cmd so it resolves from PATH, keeping the rest of the entry as it is:
Code
If the cmd wrapper causes trouble of its own, point command straight at npx instead, using either the full path C:\\Program Files\\nodejs\\npx.cmd or its short form C:\\PROGRA~1\\nodejs\\npx.cmd, and drop "/c" and "npx" from args. Run where npx in Command Prompt to confirm the path on your machine.
This is a separate problem from the space in Bearer YOUR_API_KEY, which the configuration above already avoids by putting the key in env.
What next?
- Tools — what each tool returns
- Usage and billing — what MCP costs on your plan
- Endpoint and authentication — key handling and the
apikeyparameter