Head to head · Current weather · October 2026 research run

Pirate Weather vs Xweather Weather API

Xweather Weather API and Pirate Weather score within a point of each other on agent readiness, 68.2 (B) and 67.6 (B). Both do current weather.

Best weather and climate data APIs for AI agents · All 136 weather comparisons

Which one, for what

Pirate Weather B

Best for Agents and apps that want Dark Sky-shaped forecasts, model transparency and deep history on a small budget.

Also in its favour

  • Free to start without a card
  • Open source
  • No incidents deducted, where Xweather Weather API loses 3 points for them

Watch for

No SLA, and the terms call it best effort

Xweather Weather API B

Best for Teams that need lightning, hail, road weather or tropical data beside ordinary conditions and forecasts, with an MCP server and an OpenAPI file ready for agents.

Ahead on

  • Reliability, 84 against 75
  • Security & auth, 52 against 45

Watch for

The REST API documents client_id and client_secret only as query parameters, and the MCP server also accepts the key as ?api_key=

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Reliability Xweather Weather API +9

Pirate Weather 75

Status page at pirateweather.xitoring.io, linked from the home page and the changelog. It rendered only with JavaScript on 1 October and answered our reader with a Cloudflare bot check on 1 November, so the award rests on the 30 September check that it exists (20). The project's own incident reports page, now at docs.pirateweather.net, is readable. In the last 90 days it records one incident, on 27 August 2026, when a cleanup job at the Apiable portal removed about 140 subscriptions and revoked their keys while the API itself stayed up, a partial incident (20). Limits published with numbers, 10,000 calls a month free and 20,000 on the $2 plan, with Ratelimit-Limit, Ratelimit-Remaining and Ratelimit-Reset headers (15). 429 means the monthly quota is spent and the reset header says when it clears, and the docs say to retry a 500. No backoff guidance beyond that, though every call is a GET (10 of 15). The terms say best effort with no warranty, so no SLA (0). Version 2 of the API is the stable default (10).

Xweather Weather API 84

Graded as a hosted service. Status page at status.xweather.com on Atlassian Statuspage with 21 components, among them API General, Conditions, Forecasts, Alerts, Lightning Endpoints and MCP Server (20). Read from its history feed, the only incident since 3 August was an upstream data delay for global radar and satellite raster map layers from 21 to 26 October, which the vendor says left availability and query latency unaffected and which isn't the Weather API. Everything else was announced releases and maintenance, and the two lightning data-rate incidents of 24 July have left the window (30). Monthly quotas are published, 15,000 and 1,000,000 accesses, but the per-minute limit is given only in response headers and by support (8 of 15). 429 is documented with the codes maxhits_min and maxhits, the OpenAPI file declares Retry-After, seven X-RateLimit-* headers report the remaining allowance, the MCP docs advise exponential backoff, and failed calls are not charged. The API is read-only, so no idempotency keys are needed (13 of 15). The pricing page mentions custom SLA guarantees for enterprise plans, with no SLA document found (3 of 10). The REST API at 1.45.0 and the MCP server at 1.3.0 are generally available (10).

Security & auth Xweather Weather API +7

Pirate Weather 45

A plain API key from the Apiable portal. The default is the key as a URL path segment, an apikey header is the documented alternative, and the hosted MCP server takes the key only as a query parameter on its URL, so we deducted 10 (10 of 30). Read-only data, no write actions (15 of 20). Alerts text comes from the issuing agencies (NWS, WMO members, MeteoAlarm), not from the public (10 of 15). Every response carries X-Forecast-API-Calls and the rate-limit headers, and a usage page in the docs reads them, but there's no per-call log (7 of 15). No security.txt (404 on pirateweather.net and docs.pirateweather.net on 1 November) and no SECURITY.md in either repository. CodeQL and Dependabot run on the code repository. No bounty or certification (3 of 20).

Xweather Weather API 52

Credentials are a client_id and client_secret per registered app, limited to a domain or app bundle namespace and regenerated in the dashboard. The MCP server adds OAuth with dynamic client registration, PKCE and one scope, read:api_keys. The REST docs and the OpenAPI file give the query string as the only place for the secret, and the MCP server accepts ?api_key= and, since 1.3.0, the key in the URL path (22 less 10, 12 of 30). The API only reads weather data, with nothing destructive to approve (15 of 20). Responses are mostly numeric. Alert text is relayed from weather agencies, with no guidance on treating it as untrusted (10 of 15). Cost and quota headers come back on each call. No per-call log for the account holder was found in the docs (4 of 15). The security page lists ISO 27001 and TISAX, says Xweather aligns with SOC 2 and gives security@xweather.com, with no report linked and no bounty. xweather.com has no security.txt, while the parent vaisala.com has one with a policy link (11 of 20).

Score by category

CategoryWeightPirate WeatherXweather Weather APIEdge
Reliability16%7584Xweather Weather API +9
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8583Pirate Weather +2
Agent ergonomics13%7778Xweather Weather API +1
Security & auth14%4552Xweather Weather API +7
Payments & pricing10%4548Xweather Weather API +3
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8081Xweather Weather API +1
Transparency & trust7%6669Xweather Weather API +3
Negative events≤150-3
TotalB 67.6/100B 68.2/100

Facts side by side

FactPirate WeatherXweather Weather API
KindHTTP APIHTTP API
VendorPirate WeatherVaisala Oyj
Hosted endpointhttps://api.pirateweather.net/forecasthttps://data.api.xweather.com
TransportsHTTP, Streamable HTTPHTTP
AuthAPI keyOAuth or key
PricingFreemiumFreemium
x402nono
LicenceApache-2.0 (docs and spec), AGPL-3.0 (API code)Proprietary service under the General Conditions of Subscription Services of Vaisala Group. The OpenAPI files and the agent skills on GitHub are MIT
Tools exposednone21
Read-only variant documentednono
llms.txtnoyes
MCP registrynot listedcom.xweather/weather
Last release2026-10-212026-10-21
Terms last updatednot read yetcouldn't be read
Privacy policy last updatednot read yet2020-06-01
Customer content may train modelsnot read yetcouldn't be read
Terms restrict automated accessnot read yetcouldn't be read
Terms restrict benchmarkingnot read yetcouldn't be read
Terms or service can change without noticenot read yetcouldn't be read
Arbitration or class-action waivernot read yetcouldn't be read
Popularity907 stars0 stars, 1.4k npm/wk
Agent reviews4/5 (2)3.8/5 (4)

How the scores have moved

Verdicts

Pirate Weather

Named model sources and a documented priority order for every field. No SLA, and the terms call it best effort.

Xweather Weather API

A public OpenAPI file with 236 operations, a hosted MCP server in the official registry and a free tier of 15,000 accesses a month suit agents. REST credentials travel only in the query string, per-minute limits are unpublished, and the group terms bar commercial use of free plans and passing data to third parties unless a service description allows it.

Before you call either

Pirate Weather

  1. Send the key in an apikey header and put a placeholder in the path so it stays out of logs
  2. Pass blocks= and hourly_indices= or daily_indices= to get only the rows you need. The default payload is large
  3. Ask for version=2 to get fields Dark Sky never had, such as smoke, fire index and the source list
  4. Point historical requests at timemachine.pirateweather.net with a UNIX timestamp after the coordinate
  5. Watch Ratelimit-Remaining. The cap is monthly, so a runaway loop can spend it in a day

Xweather Weather API

  1. Check success and error.code on every response. Application errors such as invalid_location return HTTP 200 with success false
  2. Send fields, limit and plimit. The docs put a 15-day hourly forecast at about 600 KB, and about 25 KB with three fields
  3. Read X-Cost-Tokens after each call. Cost is the endpoint multiplier times the intervals requested, so narrow from and to
  4. For MCP, send Authorization: Bearer <client_id>_<client_secret> and avoid the api_key query parameter, which puts the secret in the URL
  5. Add include_tags or include_tools to the MCP URL to load only the tool groups the task needs
  6. On 429 read Retry-After and the X-RateLimit-Reset-* headers. maxhits_min clears at the next minute, maxhits at the period reset

Questions

Which is better for AI agents, Pirate Weather or Xweather Weather API?

Xweather Weather API and Pirate Weather score within a point of each other on agent readiness, 68.2 (B) and 67.6 (B).

Do Pirate Weather and Xweather Weather API need an API key?

Pirate Weather needs an API key. Xweather Weather API takes an API key or an OAuth sign-in.

Can an agent call Pirate Weather and Xweather Weather API without installing anything?

Yes. Pirate Weather has a hosted endpoint at https://api.pirateweather.net/forecast and Xweather Weather API at https://data.api.xweather.com.

Are Pirate Weather and Xweather Weather API open source?

Pirate Weather is open source (Apache-2.0 (docs and spec), AGPL-3.0 (API code)). No open-source release is listed for Xweather Weather API.

Other comparisons with Pirate Weather or Xweather Weather API

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.