# cp0x public data

> cp0x public data is a free MCP server for legal and government. Read-only data on cp0x referral deals, DeFi interface restrictions and x402 catalogs. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** API
- **Repository:** https://github.com/cp0x-org/cp0x-mcp
- **MCP Registry name:** com.cp0x/public-data
- **Categories:** [legal and government](https://ai-powered.com/categories/legal-and-government), [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-11-18

## About

cp0x runs this public server over its own data, and the tools fall into four groups. Referral tools list deals with bonuses, codes and links, compare each deal against a venue's own referral offer, and show races and leaderboards. A restrictions monitor reports which DeFi interfaces declare or show national, close-only or regional limits, and can check a single protocol against an ISO country code. Catalog tools list cp0x's open-source repositories, x402 facilitators and x402 test resources with prices and tags. A fifth tool reports what cp0x says it has distributed to users, valued at current token prices.

Results carry source attribution and a stale flag, and referral codes are returned as published, never invented. Caches are short: 60 seconds for deals and token prices, 10 minutes for the restrictions snapshot and GitHub data. The restrictions data is a published snapshot, not a live probe, so missing observations do not prove an interface is available.

No authentication is needed, and the README gives setup for Claude, ChatGPT, Cursor and Perplexity.

## Features

- **Referral deals:** Bonuses, codes and links, with comparisons against each venue's own offer.
- **Race leaderboards:** Race summaries and leading entries by deal.
- **Restriction checks:** Check a DeFi interface or list restricted ones for a country.
- **x402 catalogs:** Public facilitators and cp0x test resources.
- **Freshness fields:** Stale flag, fetch time and retry hints on upstream data.
- **No authentication:** Public Streamable HTTP endpoint.

## Good for

- Find a referral code for a trading venue
- Compare referral benefits across venues
- Check whether a DeFi protocol restricts users in a country
- See which races are active and who leads
- Browse x402 facilitators

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http public-data https://mcp.cp0x.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://mcp.cp0x.com/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "public-data": {
      "url": "https://mcp.cp0x.com/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "public-data": {
      "type": "http",
      "url": "https://mcp.cp0x.com/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "public-data": {
      "serverUrl": "https://mcp.cp0x.com/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "public-data": {
      "type": "http",
      "url": "https://mcp.cp0x.com/mcp"
    }
  }
}
```

## Tools

- `list_deals`: List matching deals with bonuses, referral links and codes
- `get_deal`: Complete deal record with benefit comparisons
- `get_referral_code`: A venue's deal, referral code and link
- `compare_referral_benefits`: Deals ordered by additional benefit over the venue's own offer
- `list_races`: Race codes, titles, statuses and dates
- `get_leaderboard`: Race details and leading entries
- `check_interface_restrictions`: An interface's declared and observed restrictions
- `list_restricted_interfaces`: Interfaces restricted in a given country
- `about_cp0x`: Distribution totals and the cp0x fact sheet
- `list_cp0x_open_source`: Public cp0x repositories
- `list_x402_facilitators`: Public x402 facilitator catalog
- `list_cp0x_x402_resources`: cp0x x402 test resource catalog

## FAQ

### Does it need an account?

No, no authentication is required.

### Is the restrictions data live?

No, it is a published repository snapshot with a data_version, and missing probes do not establish availability.

### How fresh is the data?

Caches range from 60 seconds for deals and prices to 10 minutes for restrictions and GitHub data.

### Can it write anything?

No, it is read-only.

### Is cp0x public data free?

Yes. cp0x public data is free to use.

### How do I add cp0x public data to Claude Code?

Run this command in your terminal: claude mcp add --transport http public-data https://mcp.cp0x.com/mcp

### What are the best alternatives to cp0x public data?

The closest alternatives to cp0x public data are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Budget Tracker, Data Ny and Crypto Feeds.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Budget Tracker](https://ai-powered.com/mcp/budget-tracker-2): Budget Tracker is a freemium MCP server for finance and payments.
- [Data Ny](https://ai-powered.com/mcp/data-ny): Data Ny is a freemium MCP server for legal and government.
- [Crypto Feeds](https://ai-powered.com/mcp/crypto-feeds): Crypto Feeds is a freemium MCP server for finance and payments.
- [Datos Gob Es](https://ai-powered.com/mcp/datos-gob-es): Datos Gob Es is a freemium MCP server for legal and government.
- [Datos Cl](https://ai-powered.com/mcp/datos-cl): Datos Cl is a freemium MCP server for legal and government.
- [Cipo](https://ai-powered.com/mcp/cipo): Cipo is a freemium MCP server for legal and government.

---
Source: https://ai-powered.com/mcp/cp0x-public-data
