This page is the starting point for AI integrations with GribStream. It is intended for people and tools building workflows on top of GribStream with ChatGPT, Claude, Gemini, Codex, Claude Code, Cursor, custom agents, or any other AI runtime that can call tools and make HTTP requests.
The recommended integration is the hosted GribStream MCP connector. It helps AI tools discover datasets, resolve exact selectors, build valid /timeseries and /runs requests, validate expressions, and return copy-pasteable HTTP requests.
Use the hosted MCP connector when your AI tool supports remote MCP over Streamable HTTP.
https://gribstream.com/mcp
The connector is read-only and does not require a GribStream API token. It does not query weather data directly. Instead, it discovers metadata and builds regular GribStream API requests that you can run against /api/v2/{dataset}/timeseries or /api/v2/{dataset}/runs.
If your ChatGPT account or workspace supports custom MCP connectors, add a connector with:
https://gribstream.com/mcpIn Claude, add a custom connector from the Connectors settings:
https://gribstream.com/mcpAdd this to ~/.gemini/settings.json:
{
"mcpServers": {
"gribstream": {
"httpUrl": "https://gribstream.com/mcp",
"timeout": 30000
}
}
}
Then start Gemini CLI and run /mcp to confirm the connector is available.
func.* math helpers/timeseries and /runsUse the MCP to create the request. Use the regular GribStream API to execute it.
A forecast request can look reasonable and still be wrong. The connector helps the AI check the catalog, use exact selectors, choose the right endpoint, and validate the request before you run it.
A session can start broad:
What models does GribStream support for global forecasts?
Then narrow into a concrete request:
Build a request for temperature, wind speed, and relative humidity in Lisbon tomorrow.
Then keep iterating:
With a GribStream API token available to a local AI tool, that can turn into actual analysis: compare models, calculate mean absolute error against an analysis dataset, search for weather thresholds, or summarize where two models disagree most.
https://gribstream.com/mcp - remote Streamable HTTP MCP endpoint for AI tools that support custom connectors./timeseries, and /runs.The hosted MCP connector does not require authentication. Live GribStream data queries do require an API token when you run the generated API request.
GRIBSTREAM_API_TOKEN.Recommended shell setup:
export GRIBSTREAM_API_TOKEN='YOUR_TOKEN_HERE'
CLI tools typically inherit environment variables from the parent shell that launched them. In practice that means you should export GRIBSTREAM_API_TOKEN first and then start the tool from that same terminal session. If the tool is already running, restart it after setting the variable.
Using an environment variable or a vendor secret store mapped to that variable is preferred. Avoid pasting tokens into prompts, checked-in files, or reusable scripts.
The public skill file is intentionally strict about the things AI tools tend to get wrong:
/timeseries vs /runstimesList means valid times on /timeseries and run times on /runshttps://gribstream.com/mcp if your AI tool supports remote MCP.GRIBSTREAM_API_TOKEN.The current public skill file can be fetched directly at:
https://gribstream.com/skills/gribstream-query.md
That file is meant to be portable across AI vendors. It is most useful for tools that do not support remote MCP yet.