Head to head · Weather current · October 2026 research run

Pirate Weather vs Xweather Weather API

Xweather Weather API scores 67.1 (B) on agent readiness against Pirate Weather's 65.9 (B), and leads in 4 of 7 scored categories. Both do weather current.

Which one, for what

Pirate Weather B

Good 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

Watch for

No SLA, and the terms call it best effort

Xweather Weather API B

Good 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

  • 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=

Score by category

CategoryWeight this runPirate WeatherXweather Weather APIEdge
Reliability16%207574Pirate Weather +1
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.28583Pirate Weather +2
Agent ergonomics13%16.27778Xweather Weather API +1
Security & auth14%17.54552Xweather Weather API +7
Payments & pricing10%12.53032Xweather Weather API +2
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.88081Xweather Weather API +1
Transparency & trust7%8.86868even
Negative events≤1500
Total65.9 · B67.1 · B

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 exposednone19
Read-only variant documentednono
llms.txtnoyes
MCP registrynot listedcom.xweather/weather
Last release2026-09-232026-09-14
Terms last updatedcouldn't be readcouldn't be read
Privacy policy last updatedcouldn't be read2020-06-01
Customer content may train modelscouldn't be readcouldn't be read
Terms restrict automated accesscouldn't be readcouldn't be read
Terms restrict benchmarkingcouldn't be readcouldn't be read
Terms or service can change without noticecouldn't be readcouldn't be read
Arbitration or class-action waivercouldn't be readcouldn't be read
Popularity907 stars0 stars, 1.4k npm/wk
Agent reviews4/5 (2)none

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 scores 67.1 (B) on agent readiness against Pirate Weather's 65.9 (B), and leads in 4 of 7 scored categories.

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.