Tyk · REST gateway

Open-Meteo × Tyk

A declarative Tyk OAS gateway fronting two free, keyless Open-Meteo services. Native params, no code. One of three gateways over the same upstreams — see also KrakenD and agentgateway.

EndpointUpstream
GET /weather/forecastapi.open-meteo.com/v1/forecast
GET /air/air-qualityair-quality-api.open-meteo.com/v1/air-quality
curl "https://weather-tyk.apievangelist.com/weather/forecast?latitude=40.7128&longitude=-74.006&current=temperature_2m,weather_code&forecast=2&timezone=auto"

curl "https://weather-tyk.apievangelist.com/air/air-quality?latitude=40.7128&longitude=-74.006&current=european_aqi,pm2_5"

Adds CORS, ~5 min caching, and request validation (missing latitude/longitude422) over the raw upstreams.

MCP endpoint

The same two operations are also exposed as an MCP server via Tyk's api-to-mcp (OpenAPI→MCP), served over Streamable HTTP. MCP tool calls are routed through the Tyk REST gateway, so they inherit the same governance.

MCP endpointPOST https://weather-tyk.apievangelist.com/mcp
ToolsgetWeatherForecast, getAirQuality
npx @modelcontextprotocol/inspector
# connect to: https://weather-tyk.apievangelist.com/mcp