{
  "markdown": "# contract-guard-mcp\n\n[![smithery badge](https://smithery.ai/badge/eltociear/contract-guard-mcp)](https://smithery.ai/server/eltociear/contract-guard-mcp) [![MCP Registry](https://img.shields.io/badge/MCP_Registry-active-2da44e)](https://registry.modelcontextprotocol.io)\n\nMCP server for a **pre-interaction risk check** on any EVM contract/token — what an\nagent needs before it approves, swaps, or trusts an address.\n\n**Tool:** `check_contract(address, chain=\"base\")` →\n- is-contract vs EOA / self-destructed\n- **EIP-7702 delegated-EOA** detection\n- **upgradeable proxy** detection (EIP-1967 + legacy zeppelinos)\n- ERC20 metadata (name / symbol / decimals / totalSupply)\n- risk score + actionable flags\n\nChains: Base, Ethereum. Pure public JSON-RPC, zero dependencies, no signing.\n\nAlso available as a pay-per-call x402 HTTP endpoint:\n<https://eltociear-contract-guard.hf.space> (`POST /check`, $0.005 USDC on Base).\n\n## Run\n\n```bash\ndocker run -i --rm ghcr.io/eltociear/contract-guard-mcp:mcp-latest\n# or\npython3 server.py\n```\n\nMIT licensed.\n\n## Tools\n\n- `check_contract(address, chain)` — is-contract/EOA, EIP-7702, proxy, ERC20 metadata, risk score\n- `check_approval(token, owner, spender, chain)` — ERC20 allowance audit; flags **unlimited approvals** (the #1 drain vector)\n\n## Free MCP vs paid x402\n\nThis MCP server is **free** (run it locally / via your client). For **server-side, batch, or no-install** use, the same engine is a pay-per-call **x402** HTTP API — `POST https://eltociear-contract-guard.hf.space/check` ($0.005 USDC on Base, no signup). Your agent's wallet pays per call.\n\n## Professional audit services\n\nMaintained by the same author — paid services on Polar (Stripe checkout):\n\n- **[MCP Security Audit Report — $5](https://buy.polar.sh/polar_cl_sut9rtngBRutEhBAGk1FmwRYSLrAebowkPw8g2C5Op7)** — one-off audit of your MCP server: 68 attack patterns, severity-rated PDF report with concrete fixes.\n- **[Security Pulse — $5/mo](https://buy.polar.sh/polar_cl_jKHyL3Ge9u5YGAsjgixp16UYrhU0WGldxvRmN03expZ)** ([annual $50](https://buy.polar.sh/polar_cl_rEcqwjLJ83vlfa3C8vhAtDLOa6fPVxWeHZyd31BdIPT)) — monthly briefing on newly disclosed MCP server vulnerabilities, scan stats across 100+ tracked repos, mitigation playbooks.\n- **[Pro Audit Stack — $20/mo](https://buy.polar.sh/polar_cl_C37THjfoFMdOnu6xc1TnMIezYNuBbbivXbvFb3DCpZa)** — for teams running MCP servers in CI/CD: 50 hosted scans/month, Discord access, 24h SLA on vulnerability questions.\n\nFull catalog: [polar.sh/eltociear](https://polar.sh/eltociear)\n\n### Also live: clean-read ($0.005 / call)\n\nSame operator, same x402 rails: **[clean-read](https://eltociear-skill-audit.hf.space/read)** turns any URL into clean Markdown for AI agents — fetches the page, strips nav/ads/boilerplate (trafilatura), returns the main content with title and word count. `POST https://eltociear-skill-audit.hf.space/read` — $0.005 USDC on Base, no signup.\n",
  "bytes": 2916,
  "sha": "f222733a2c7d808ff642ef589a71e4c9504795724d74f574cdf7ca3046dee4d1",
  "repo_slug": "eltociear/contract-guard-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_eltociear_contract_guard_mcp_4d3f25fc/readme"
}