open-weather
...
@open-mcp/open-weather
Using the remote server
To use the hosted Streamable HTTP server, add the following to your client config:
Forwarding variables
You can forward "environment" variables to the remote server by including them in the request headers or URL query string (headers take precedence). Just prefix the variable name with FORWARD_VAR_
like so:
Security
Sending authentication tokens as forwarded variables is not recommended
Installing locally
If you want to run the server locally on your own machine instead of using the remote server, first set the environment variables as shell variables:
Then use the OpenMCP config CLI to add the server to your MCP client:
Claude desktop
Cursor
Run this from the root of your project directory or, to add to all cursor projects, run it from your home directory ~
.
Other
Manually
If you don't want to use the helper above, add the following to your MCP client config manually:
Environment variables
OPEN_MCP_BASE_URL
- overwrites the base URL of every tool's underlying API request
Tools
expandSchema
Expand the input schema for a tool before calling the tool
Input schema
toolName
(string)jsonPointers
(array)
getweatherdata
Environment variables
No environment variables required
Input schema
lat
(number)lon
(number)appid
(string)