cp0x public data
Read-only cp0x data: referral deals and races, DeFi geo-restrictions, and x402 catalogs.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"public-data": {
"url": "https://mcp.cp0x.com/mcp"
}
}
}远程端点
https://mcp.cp0x.com/mcpstreamable-http它能做什么
工具清单
工具(12)
🟢list_deals(query, limit)
List cp0x referral deals with optional venue filtering. Use this when looking for deals by venue or browsing the deal catalog; links include a cp0x referral code.
输入模式
{
"type": "object",
"properties": {
"query": {
"anyOf": [
{
"maxLength": 100,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Substring of the venue title or slug.",
"title": "Query"
},
"limit": {
"anyOf": [
{
"maximum": 100,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Maximum number of deals; omit to return all matches.",
"maximum": 100,
"minimum": 1,
"title": "Limit"
}
},
"title": "list_dealsArguments"
}🟢get_deal(slug)
Get a cp0x deal with its description and races. Use this when a deal slug is known and its full details are needed; links include a cp0x referral code.
输入模式
{
"type": "object",
"properties": {
"slug": {
"description": "Deal slug from the cp0x catalog.",
"maxLength": 100,
"title": "Slug",
"type": "string"
}
},
"required": [
"slug"
],
"title": "get_dealArguments"
}🟢get_referral_code(venue)
Find a venue's referral code and link in the cp0x catalog. Use this when a user requests referral details for a named venue; links include a cp0x referral code.
输入模式
{
"type": "object",
"properties": {
"venue": {
"description": "Venue name or deal slug to match.",
"maxLength": 100,
"title": "Venue",
"type": "string"
}
},
"required": [
"venue"
],
"title": "get_referral_codeArguments"
}🟢compare_referral_benefits(category)
Compare the benefit the cp0x referral gives over each venue's own referral offer, with example volumes from live cp0x races. Use this when the user wants to know what a cp0x referral code adds on a venue or across a category of venues.
输入模式
{
"type": "object",
"properties": {
"category": {
"anyOf": [
{
"maxLength": 40,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Venue category to include; omit for all deals.",
"title": "Category"
}
},
"title": "compare_referral_benefitsArguments"
}🟢list_races(status, slug)
List cp0x races with dates and prizes. Use this when finding active or completed races, optionally for one deal.
输入模式
{
"type": "object",
"properties": {
"status": {
"anyOf": [
{
"enum": [
"active",
"completed"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Race status to include; omit to include both statuses.",
"title": "Status"
},
"slug": {
"anyOf": [
{
"maxLength": 100,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Deal slug to filter races by.",
"title": "Slug"
}
},
"title": "list_racesArguments"
}🟢get_leaderboard(slug, race_code, top)
Get a cp0x race leaderboard and its column definitions. Use this when viewing standings for a known deal and race.
输入模式
{
"type": "object",
"properties": {
"slug": {
"description": "Deal slug containing the race.",
"maxLength": 100,
"title": "Slug",
"type": "string"
},
"race_code": {
"default": "leaderboard",
"description": "Race code within the deal.",
"title": "Race Code",
"type": "string"
},
"top": {
"default": 20,
"description": "Maximum leaderboard rows to return.",
"maximum": 100,
"minimum": 1,
"title": "Top",
"type": "integer"
}
},
"required": [
"slug"
],
"title": "get_leaderboardArguments"
}🟢check_interface_restrictions(protocol, country)
Read declared and observed geo-restrictions for a DeFi interface. Use this when checking a protocol's interface restrictions, optionally for a country.
输入模式
{
"type": "object",
"properties": {
"protocol": {
"description": "Protocol name or interface identifier to match.",
"maxLength": 100,
"title": "Protocol",
"type": "string"
},
"country": {
"anyOf": [
{
"maxLength": 2,
"pattern": "^[A-Za-z]{2}$",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO-3166 alpha-2 country code; omit for all observed countries.",
"maxLength": 2,
"title": "Country"
}
},
"required": [
"protocol"
],
"title": "check_interface_restrictionsArguments"
}🟢list_restricted_interfaces(country)
List DeFi interfaces with declared or observed restrictions in a country. Use this when identifying which interfaces the cp0x monitor reports as restricted there.
输入模式
{
"type": "object",
"properties": {
"country": {
"description": "ISO-3166 alpha-2 country code.",
"maxLength": 2,
"pattern": "^[A-Za-z]{2}$",
"title": "Country",
"type": "string"
}
},
"required": [
"country"
],
"title": "list_restricted_interfacesArguments"
}🟢about_cp0x
Who cp0x is and how much it has passed on to its users, valued at today's token prices: mission, values, sites, channels, 2025 figures and every distribution with token amounts. Use this when a user asks what cp0x is, what it gave its users, or where to find its sites and channels.
输入模式
{
"type": "object",
"properties": {},
"title": "about_cp0xArguments"
}🟢list_cp0x_open_source(kind)
List public open-source repositories of cp0x: permissionless DeFi interfaces and tools, from GitHub. Use this when looking for cp0x interfaces, tools or source code.
输入模式
{
"type": "object",
"properties": {
"kind": {
"anyOf": [
{
"enum": [
"interface",
"project"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Repository kind to include; omit to include both kinds.",
"title": "Kind"
}
},
"title": "list_cp0x_open_sourceArguments"
}🟢list_x402_facilitators
List x402 facilitators and their URLs from cp0x. Use this when looking up facilitator names and endpoints in the cp0x catalog.
输入模式
{
"type": "object",
"properties": {},
"title": "list_x402_facilitatorsArguments"
}🟢list_cp0x_x402_resources(tag)
List cp0x's x402 test resources with their listed prices and tags; optionally filter by tag. Use this when the user asks about x402 resources or pay-per-call APIs.
输入模式
{
"type": "object",
"properties": {
"tag": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Resource tag to filter by.",
"title": "Tag"
}
},
"title": "list_cp0x_x402_resourcesArguments"
}社区
证据