Prompt Piggy

For developers & AI

Every price on this site can be queried directly: as a small JSON API for your app and as an MCP server that lets Claude, ChatGPT and other AI assistants look up live what a subscription costs in which country. No sign-up, no key, read-only.

JSON API

Base URL https://promptpiggy.com/api/v1/. Every response includes the data date (asOf), the exchange-rate date, the licence and attribution. Parameters accept comma-separated lists; providers, plans and countries are also recognised by name.

EndpointReturns
GET /api/v1/Overview of all endpoints
GET /api/v1/pricesPrices, filterable by provider, plan, country and interval (month/year)
GET /api/v1/plansAll plans with IDs, countries and a link to the plan page
GET /api/v1/countriesAll countries with currency, VAT rate and whether prices exclude tax
GET /api/v1/dataset.jsonEverything in one static file

Key fields

priceMonthly
Monthly price in local currency; for yearly billing the yearly price ÷ 12
excludesTax
true = price before tax (United States, Canada: sales tax varies by state/province). Compare such prices only within that country.
priceMonthlyEur
converted at the ECB reference rate (fxDate); priceMonthlyUsd likewise
priceMonthlyPppIntl
adjusted for purchasing power, in international dollars (World Bank)
planUrl
Plan page with history and sources – please link it

Examples

ChatGPT Plus in Germany and India
curl "https://promptpiggy.com/api/v1/prices?provider=chatgpt&plan=plus&country=DE,IN"
All plans of one provider
curl "https://promptpiggy.com/api/v1/plans?provider=claude"
In JavaScript
const res = await fetch("https://promptpiggy.com/api/v1/prices?provider=claude&plan=pro&country=BR");
const { data, asOf, attribution } = await res.json();
console.log(data[0].priceMonthly, data[0].currency, data[0].excludesTax, asOf);

MCP server for AI assistants

A remote MCP server (Streamable HTTP, no authentication) runs at https://promptpiggy.com/mcp. Once added, your assistant answers questions like “What does Claude Pro cost in Brazil?” or “Where is ChatGPT Plus cheapest?” with current numbers and a source.

Tools

get_price
Price of a plan in one country (monthly and yearly, with euros, dollars and purchasing power)
compare_countries
Country ranking of a plan by tax-inclusive monthly price in euros
cheapest_country
Cheapest and most expensive country, the saving, and the cheapest country by purchasing power
list_plans
All plans and countries with their IDs

Setup

Claude (web and desktop): Settings → Connectors → Add custom connector, paste the URL. https://promptpiggy.com/mcp

ChatGPT: in developer mode, go to Settings → Apps & Connectors and create a connector with this URL, authentication “None”.

Claude Code:
claude mcp add --transport http promptpiggy https://promptpiggy.com/mcp
Other clients (Cursor, VS Code, Windsurf …) with HTTP transport:
{
  "mcpServers": {
    "promptpiggy": {
      "type": "http",
      "url": "https://promptpiggy.com/mcp"
    }
  }
}
Clients that only speak stdio (e.g. older Claude Desktop versions) via mcp-remote:
{
  "mcpServers": {
    "promptpiggy": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://promptpiggy.com/mcp"
      ]
    }
  }
}

Licence and fair use

The data is licensed under Creative Commons Attribution 4.0 International. When publishing, credit “Data: promptpiggy.com” with a link. There is no key and no availability guarantee; responses are cached for an hour, so please don’t poll more often. For bulk use, take the files under Open data.

Open data (CSV, JSON, history) →

Versioning

Paths start with /api/v1/. Within v1 fields are only added, never renamed or removed. The API stores no requests and no personal data.

Short overview for language models: /llms.txt