The Webacy API exposes an MCP (Model Context Protocol) server that lets AI coding assistants like Claude Code and Cursor query blockchain risk data directly from your development environment. Instead of switching to a browser or writing API calls manually, you can ask your AI assistant questions like “Analyze the risk of 0x742d…” and get real-time results inline.Documentation Index
Fetch the complete documentation index at: https://docs.webacy.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- An API key from developers.webacy.co
Installation
Claude Code
Add the Webacy MCP server using the CLI:.claude/mcp.json file:
Cursor
Open Cursor Settings and navigate to MCP Servers. Click Add Server and configure:Other MCP Clients
Any MCP client that supports HTTP Streamable transport can connect to the Webacy MCP server. Use the following configuration:| Setting | Value |
|---|---|
| URL | https://api.webacy.com/mcp |
| Transport | HTTP Streamable |
| Auth Header | x-api-key: YOUR_API_KEY |
Available Tools
The MCP server exposes three tools for blockchain risk analysis:get_address_risk
Analyze the risk profile of a blockchain address (wallet or contract). Returns risk score, risk factors, and detailed security analysis.
| Parameter | Type | Required | Description |
|---|---|---|---|
address | string | Yes | The blockchain address to analyze |
chain | string | Yes | Blockchain network (e.g. eth, sol, base) |
detailed_response | boolean | No | Include detailed risk factor breakdowns |
show_low_risk | boolean | No | Include low-risk factors in the response |
modules | string[] | No | Specific risk analysis modules to run |
get_token_risk
Analyze the risk profile of a token contract. Returns token security flags, market data, and economic risk indicators.
| Parameter | Type | Required | Description |
|---|---|---|---|
address | string | Yes | The token contract address to analyze |
chain | string | Yes | Blockchain network (e.g. eth, sol, base) |
metrics_date | string | No | Date for historical metrics (DD-MM-YYYY format) |
modules | string[] | No | Specific risk analysis modules to run |
get_holder_analysis
Analyze the holder distribution and concentration of a token. Returns top holders, holder counts, and distribution metrics.
| Parameter | Type | Required | Description |
|---|---|---|---|
address | string | Yes | The token contract address to analyze |
chain | string | No | Blockchain network (defaults to sol) |
disable_refetch | boolean | No | Skip re-fetching data and use existing data only |
refresh_cache | boolean | No | Force refresh cached holder data |
Supported Chains
Thechain parameter accepts: eth, sol, arb, pol, opt, base, bsc, ton, sui, stellar, btc, sei, hedera.
Example Usage
Once configured, you can query Webacy risk data directly from your AI assistant:Next Steps
API Reference
Explore all available endpoints
SDK
Use the TypeScript SDK for programmatic access
Risk Levels
Understand how to interpret risk scores
