{
  "markdown": "# Token Safety & Contract Risk API\n\n[![MCP Server](https://img.shields.io/badge/MCP-server-blue)](https://token-safety.api.klymax402.com/mcp)\n[![x402](https://img.shields.io/badge/payments-x402-6E56CF)](https://x402.org)\n[![License: MIT](https://img.shields.io/badge/license-MIT-green)](LICENSE)\n\nToken contract safety scanner -- honeypot, tax, proxy, blacklist, ownership. Rug-pull protection for agents. Pay-per-call via [x402](https://x402.org) (USDC on Base L2) -- no API key, no signup, no rate-limit wall.\n\nPart of the [klymax402](https://klymax402.com) marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.\n\n## Quickstart -- MCP\n\nAdd to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):\n\n```json\n{\n  \"mcpServers\": {\n    \"token-safety\": {\n      \"url\": \"https://token-safety.api.klymax402.com/mcp\"\n    }\n  }\n}\n```\n\n## Quickstart -- HTTP (x402)\n\n```bash\ncurl \"https://token-safety.api.klymax402.com/api/check?address=0x0000000000000000000000000000000000dEaD\"\n# -> 402 Payment Required, with an x402 payment challenge in the response body\n```\n\nAny x402-aware client ([`@x402/fetch`](https://www.npmjs.com/package/@x402/fetch), [`x402-agent-tools`](https://www.npmjs.com/package/x402-agent-tools), ATXP) handles the 402 -> sign -> retry cycle automatically.\n\n## Tools\n\n| Tool | Method | Path | Price | Description |\n|---|---|---|---|---|\n| `token_check_safety` | GET | `/api/check` | $0.008 | Check token contract safety and risk score |\n\n### `token_check_safety`\n\nUse this when you need to check if a token is safe before buying or interacting with it. Returns a comprehensive safety report in JSON.\n\n**Parameters**\n\n| Name | Type | Required | Description |\n|---|---|---|---|\n| `address` | string | yes | Token contract address (e.g. 0x...) |\n| `chain` | string | no | Chain to check on: 'ethereum' or 'base' (default: ethereum) |\n\n**Returns**\n\n- `isHoneypot` -- whether the token traps buyers (cannot sell)\n- `ownershipRenounced` -- whether the contract owner has renounced control\n- `isProxy` -- whether the contract is upgradeable (proxy risk)\n- `buyTax` -- percentage tax on buy transactions\n- `sellTax` -- percentage tax on sell transactions\n- `maxTxPercent` -- maximum transaction size as percent of supply\n- `liquidityLocked` -- whether liquidity is locked\n- `hasBlacklist` -- whether contract has a blacklist function\n- `holderCount` -- total number of token holders\n- `riskScore` -- overall risk score (0=safe, 100=dangerous)\n\nExample response:\n\n```json\n{\"isHoneypot\":false,\"ownershipRenounced\":true,\"isProxy\":false,\"buyTax\":0,\"sellTax\":0,\"maxTxPercent\":100,\"liquidityLocked\":true,\"hasBlacklist\":false,\"holderCount\":15420,\"riskScore\":12}\n```\n\n**When to use**: buying any new or unknown token. Essential for rug-pull protection and due diligence.\n\n**Not for**: token prices (use `dex_get_swap_quote`), wallet balance (use `wallet_get_portfolio`), holder distribution (use `token_get_holder_analysis`).\n\n## Example agent prompts\n\n- \"Check if a token is safe before buying or interacting with it\"\n\n## Payment\n\n- Protocol: [x402](https://x402.org) -- HTTP-native pay-per-call, no signup, no API key\n- Network: Base L2 (`eip155:8453`)\n- Asset: USDC\n- Facilitator: Coinbase CDP (primary), PayAI (fallback)\n- Also reachable via [ATXP](https://atxp.ai) (OAuth-wrapped x402, RFC 9728 protected-resource metadata)\n\n## Part of klymax402\n\n100 x402 micropayment APIs for AI agents -- one wallet, USDC on Base, zero signup.\n\n- Catalog: https://klymax402.com/llms.txt\n- Full API reference: https://klymax402.com/llms-full.txt\n- Live stats: https://klymax402.com/stats\n\n## License\n\nMIT\n",
  "bytes": 3625,
  "sha": "caf3e66196e7fa73a6ecc417e74bb120f723e7dcc7c5d155d6d0b5e1dde68088",
  "repo_slug": "br0ski777/token-safety-x402",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_br0ski777_token_safety_532df2a9/readme"
}