chainaware-behavioral-prediction
À propos
Cette compétence analyse les adresses blockchain, les tokens et les smart contracts pour évaluer les risques, prédire les comportements et juger de la fiabilité dans les applications DeFi et Web3. Elle offre des fonctionnalités telles que la détection de fraude, le scoring de réputation, les vérifications AML (Lutte contre le blanchiment d'argent) et le filtrage des airdrops. Utilisez-la pour intégrer des analyses on-chain pour la sécurité des portefeuilles, l'audit de tokens ou l'évaluation de la confiance des agents IA, au sein de Claude Code ou d'autres frameworks MCP.
Installation rapide
Claude Code
Recommandénpx skills add ChainAware/behavioral-prediction-mcp -a claude-code/plugin add https://github.com/ChainAware/behavioral-prediction-mcpgit clone https://github.com/ChainAware/behavioral-prediction-mcp.git ~/.claude/skills/chainaware-behavioral-predictionCopiez et collez cette commande dans Claude Code pour installer cette compétence
Documentation
ChainAware Behavioral Prediction MCP
What This Skill Does
The ChainAware Behavioral Prediction MCP connects any AI agent to a continuously updated Web3 behavioral intelligence layer: 14M+ wallet profiles across 8 blockchains, built from 1.3 billion+ predictive data points. It delivers six capabilities via a single MCP endpoint:
- Fraud Detection — predict fraudulent wallet behavior before it happens (~98% accuracy on ETH)
- Behavioral Analysis — profile wallet intent, risk tolerance, experience, and next likely actions
- Rug Pull Detection — forecast whether a smart contract or liquidity pool will rug pull
- Credit Score — crypto credit/trust score (1–9) combining fraud probability and social graph analysis
- Token Rank List — rank tokens by holder community strength across chains and categories
- Token Rank Single — deep-dive into a single token's community quality and top holders
Unlike forensic blockchain tools that describe the past, this MCP is predictive — it tells your agent what is about to happen.
MCP Server URL: https://prediction.mcp.chainaware.ai/sse
GitHub: https://github.com/ChainAware/behavioral-prediction-mcp
Website: https://chainaware.ai
Pricing / API Key: https://chainaware.ai/pricing
Capabilities
- Fraud Detection — predict fraudulent wallet behavior before it happens (~98% accuracy on ETH)
- Behavioral Analysis — profile wallet intent, risk tolerance, experience, and next likely actions across DeFi, NFT, and trading segments
- Rug Pull Detection — forecast whether a smart contract or liquidity pool will rug pull
- Credit Score — crypto credit/trust score (1–9) combining fraud probability and social graph analysis for DeFi lending decisions
- Token Rank List — rank tokens by holder community strength across ETH, BNB, BASE, and Solana
- Token Rank Single — deep-dive into a specific token's community quality and top holders
When to Use This Skill
- User asks about wallet safety, fraud risk, or suspicious activity
- User wants to screen a wallet, contract, or LP before interacting with it
- User needs AML/compliance checks on a blockchain address
- User wants behavioral profiling or DeFi personalization for a wallet
- User asks about token quality, community strength, or holder analysis
- User is building a DeFi platform, AI agent, launchpad, or compliance tool
- User wants to integrate the ChainAware MCP into their codebase
When NOT to Use This Skill
- User asks about general blockchain data (balances, transaction history) → use a block explorer
- User wants real-time price data or market cap → use a market data API
- User wants to analyze smart contract code for bugs → use a code auditing tool
- For complex behavioural analysis (deep wallet profiling including fraud signals) → escalate to
chainaware-wallet-auditorsubagent - For batch screening of many wallets → use
chainaware-fraud-detectorsubagent - For marketing personalization → use
chainaware-wallet-marketersubagent
Supported Blockchains
| Tool | Networks |
|---|---|
| Fraud Detection | ETH, BNB, POLYGON, TON, BASE, TRON, HAQQ |
| Behavioral Analysis | ETH, BNB, BASE, HAQQ, SOLANA |
| Rug Pull Detection | ETH, BNB, BASE, HAQQ |
| Credit Score | ETH |
| Token Rank List | ETH, BNB, BASE, SOLANA |
| Token Rank Single | ETH, BNB, BASE, SOLANA |
Step-by-Step Workflow
For wallet fraud screening
- Confirm inputs — wallet address and network. If network is missing, ask.
- Call
predictive_fraudwith the wallet address and network. - Interpret
probabilityFraudusing the threshold table below. - Scan
forensic_detailsfor negative flags (mixer use, sanctioned entities, darknet, etc.). - Report status, score, and any forensic flags in plain language.
For behavioral profiling / personalization
- Confirm inputs — wallet address and network.
- Call
predictive_behaviourwith the wallet address and network. - Extract key signals:
intention.Value(Prob_Trade/Stake/Bridge/NFT_Buy),experience.Value,categories,recommendation. - Classify the wallet by dominant category and intent signal.
- Generate personalized recommendations or next-best-action based on the profile.
For rug pull / contract safety checks
- Confirm inputs — smart contract or LP address and network.
- Optionally call
predictive_fraudon the deployer address first for extra signal. - Call
predictive_rug_pullwith the contract address. - Interpret
probabilityFraudand scanforensic_detailsfor liquidity and contract risk flags. - Apply the Deployer Risk Amplifier: if deployer fraud score ≥ 0.5, escalate overall risk one level.
- Report verdict with supporting forensic evidence.
For token ranking / discovery
- Identify the request — list of tokens or single token deep-dive?
- For lists: call
token_rank_listwith appropriatecategory,network,sort_by: communityRank,sort_order: DESC. - For single tokens: call
token_rank_singlewithcontract_addressandnetwork. - Report
communityRank,normalizedRank,totalHolders, and top holder profiles.
For full due diligence (multi-tool)
- Call
predictive_fraud→ get fraud score and forensic flags - Call
predictive_behaviour→ get behavioral profile and intent - Call
predictive_rug_pull(if a contract address) → get contract risk - Synthesize all three into a unified verdict with risk level and recommendation
For complex due diligence workflows, escalate to the
chainaware-wallet-auditorsubagent.
Risk Score Thresholds
| Score Range | Label | Recommended Action |
|---|---|---|
| 0.00 – 0.20 | 🟢 Low Risk | Safe to proceed |
| 0.21 – 0.50 | 🟡 Medium Risk | Proceed with caution, monitor |
| 0.51 – 0.80 | 🔴 High Risk | Block or require additional verification |
| 0.81 – 1.00 | ⛔ Critical Risk | Reject immediately |
Available Tools
1. predictive_fraud — Fraud Detection
Forecasts the probability that a wallet will engage in fraudulent activity. Includes AML checks. Use when a user wants to screen a wallet before interacting with it.
Inputs:
apiKey(string, required) — ChainAware API keynetwork(string, required) — e.g.ETH,BNB,BASEwalletAddress(string, required) — the wallet to evaluate
Key output fields:
status—"Fraud","Not Fraud", or"New Address"probabilityFraud— decimal 0.00–1.00forensic_details— deep on-chain breakdown
Example prompts that trigger this tool:
- "Is it safe to interact with 0xABC... on Ethereum?"
- "What is the fraud risk of this BNB wallet?"
- "Run an AML check on this address."
- "Screen this wallet before onboarding."
- "Is this address on any sanctions list?"
- "Pre-screen this user's wallet for compliance."
2. predictive_behaviour — Behavioral Analysis & Personalization
Profiles a wallet's on-chain history and predicts its next actions.
Inputs:
apiKey(string, required)network(string, required)walletAddress(string, required)
Key output fields:
intention— predicted next actions (Prob_Trade,Prob_Stake,Prob_Bridge,Prob_NFT_Buy— High/Medium/Low)recommendation— personalized action suggestionscategories— behavioral segments (DeFi Lender, NFT Trader, Bridge User, etc.)riskProfile— risk tolerance and balance age breakdownexperience— experience score 0–10 (beginner → expert)protocols— which protocols this wallet uses (Aave, Uniswap, GMX, etc.)
Example prompts that trigger this tool:
- "What will this wallet do next?"
- "Is this user a DeFi lender or an NFT trader?"
- "Recommend the best yield strategy for this address."
- "What's the experience level of this wallet?"
- "Personalize my DeFi agent's response for this user."
- "Segment this wallet for my marketing campaign."
3. predictive_rug_pull — Rug Pull Detection
Forecasts whether a smart contract or liquidity pool is likely to execute a rug pull.
Inputs:
apiKey(string, required)network(string, required)walletAddress(string, required) — smart contract or LP address
Key output fields:
status—"Fraud"or"Not Fraud"probabilityFraud— decimal 0.00–1.00forensic_details— on-chain metrics behind the score
Example prompts that trigger this tool:
- "Will this new DeFi pool rug pull if I stake my assets?"
- "Is this smart contract safe?"
- "Check if this launchpad project is legitimate."
- "Monitor this LP position for rug pull risk."
- "Is this contract deployer trustworthy?"
4. credit_score — Crypto Credit Score
Calculates a credit/trust score (1–9) for a wallet by combining fraud probability with social graph analysis. Designed for DeFi lending and any use case needing a fast single-number creditworthiness signal.
Inputs:
apiKey(string, required)network(string, required) —ETHwalletAddress(string, required) — the wallet to score
Key output fields:
creditData.riskRating— integer 1–9 (1 = highest risk, 9 = highest trust)creditData.walletAddress— echoed wallet address
| riskRating | Label | Lending Interpretation |
|---|---|---|
| 9 | ✅ Prime | Highest creditworthiness — best terms |
| 7–8 | 🟢 Reliable | Low credit risk — standard terms |
| 5–6 | 🟡 Moderate | Elevated caution — higher collateral |
| 3–4 | 🔴 High Risk | Restricted terms or decline |
| 1–2 | ⛔ Very High Risk | Do not lend |
Example prompts that trigger this tool:
- "What is the credit score for 0xABC...?"
- "Is this wallet a reliable borrower?"
- "Calculate credit score for this address on ETH."
- "Rate this wallet's creditworthiness."
- "Trust score for lending — 0xDEF... on BNB."
5. token_rank_list — Token Ranking by Holder Strength
Ranks tokens by the quality and strength of their holder community.
Inputs:
limit(string, required) — items per pageoffset(string, required) — page numbernetwork(string, required) —ETH,BNB,BASE,SOLANAsort_by(string, required) — e.g.communityRanksort_order(string, required) —ASCorDESCcategory(string, required) —AI Token,RWA Token,DeFi Token,DeFAI Token,DePIN Tokencontract_name(string, required) — token name search (empty string for no filter)
Key output fields:
data.total— total matching tokensdata.contracts[]— array withcontractAddress,contractName,ticker,chain,category,communityRank,normalizedRank,totalHolders
Example prompts that trigger this tool:
- "What are the top AI tokens on Ethereum?"
- "Rank DeFi tokens on BNB by community strength."
- "Which RWA tokens have the strongest holder base on BASE?"
- "Show me the top 10 tokens by community rank on ETH."
- "Compare DePIN tokens across Solana and Ethereum."
6. token_rank_single — Single Token Rank & Top Holders
Returns the rank and top holders for a specific token by contract address.
Inputs:
contract_address(string, required) — token contract or mint addressnetwork(string, required) —ETH,BNB,BASE,SOLANA
Key output fields:
data.contract— token details includingcommunityRank,normalizedRank,totalHoldersdata.topHolders[]— holder wallet addresses withbalance,walletAgeInDays,transactionsNumber,totalPoints,globalRank
Example prompts that trigger this tool:
- "What is the token rank for USDT on Ethereum?"
- "Who are the top holders of 0xdAC17F... on ETH?"
- "How strong is the holder base of this contract on BNB?"
- "Show me the best holders of this Solana token."
Validation Checkpoints
Input Validation
- ✅ Wallet address provided and non-empty
- ✅ Network specified and supported for the tool being called (check table above)
- ✅
CHAINAWARE_API_KEYenvironment variable is set - ✅ For
token_rank_list:limit,offset,sort_by,sort_order, andcategoryall provided - ✅ For
token_rank_single: bothcontract_addressandnetworkprovided - ⚠️ If network is missing, ask the user before proceeding
- ⚠️ If network is not supported for the requested tool, inform the user and suggest an alternative
Output Validation
- ✅
probabilityFraudis present and in range 0.00–1.00 - ✅ Risk threshold label applied correctly (see table above)
- ✅ Forensic flags surfaced in plain language, not raw JSON
- ✅ Every recommendation cites the specific signal that drove it
- ✅ Network limitations clearly stated when a tool doesn't support the requested chain
- ✅ For behavioral profiles: at least
intention,experience, andcategoriesincluded in response
Example Output
Fraud Check — 0xABC... on ETH
🔮 FRAUD ASSESSMENT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Wallet: 0xABC...
Network: ETH
Status: 🟡 MEDIUM RISK
Fraud Probability: 0.34
Risk Level: Medium — proceed with caution
Forensic Highlights:
• 3 transactions flagged as suspicious
• No mixer/tumbler activity detected
• No sanctioned entity connections
• Wallet age: 187 days
Recommendation: Monitor this wallet. Not safe for large-value
interactions without additional verification.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Behavioral Profile — 0xDEF... on BASE
🧠 BEHAVIORAL PROFILE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Wallet: 0xDEF...
Network: BASE
Experience: 7.2/10 — Experienced
Segment: DeFi Lender, Bridge User
Risk Profile: Balanced
Intent Signals:
Trade: High
Stake: Medium
Bridge: High
NFT Buy: Low
Protocols Used: Aave, Uniswap, Across Bridge
Recommendation:
→ Promote yield optimization vaults
→ Highlight cross-chain bridging incentives
→ Skip NFT-focused messaging
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Requirements
- API Key — a
CHAINAWARE_API_KEYenvironment variable is required. Obtain one at https://chainaware.ai/pricing - MCP-compatible host — Claude Code, Cursor, Claude Desktop, ChatGPT Connectors, or any MCP client that supports SSE transport
- Network awareness — different tools support different blockchains; see the Supported Blockchains table above
- No local installation — the MCP server runs remotely at
https://prediction.mcp.chainaware.ai/sse; no packages to install
Integration Setup
Claude Code (CLI)
claude mcp add --transport sse chainaware-behavioural-prediction-mcp-server \
https://prediction.mcp.chainaware.ai/sse \
--header "X-API-Key: your-key-here"
📚 Docs: https://code.claude.com/docs/en/mcp
Claude Web / Claude Desktop
- Go to Settings → Integrations → Add integration
- Name:
ChainAware Behavioural Prediction MCP Server - URL:
https://prediction.mcp.chainaware.ai/sse?apiKey=your-key-here
📚 Docs: https://platform.claude.com/docs/en/agents-and-tools/remote-mcp-servers
Cursor (mcp.json)
{
"mcpServers": {
"chainaware-behavioural-prediction-mcp-server": {
"url": "https://prediction.mcp.chainaware.ai/sse",
"transport": "sse",
"headers": {
"X-API-Key": "your-key-here"
}
}
}
}
📚 Docs: https://cursor.com/docs/context/mcp
ChatGPT Connectors
- Open ChatGPT Settings → Apps / Connectors → Add Connector
- Name:
ChainAware Behavioural Prediction MCP Server - URL:
https://prediction.mcp.chainaware.ai/sse?apiKey=your-key-here
Node.js
import { MCPClient } from "mcp-client";
const client = new MCPClient("https://prediction.mcp.chainaware.ai/");
const fraud = await client.call("predictive_fraud", {
apiKey: process.env.CHAINAWARE_API_KEY,
network: "ETH",
walletAddress: "0xYourWalletAddress"
});
const topTokens = await client.call("token_rank_list", {
limit: "10", offset: "0", network: "ETH",
sort_by: "communityRank", sort_order: "DESC",
category: "AI Token", contract_name: ""
});
Python
from mcp_client import MCPClient
import os
client = MCPClient("https://prediction.mcp.chainaware.ai/")
result = client.call("predictive_fraud", {
"apiKey": os.environ["CHAINAWARE_API_KEY"],
"network": "ETH",
"walletAddress": "0xYourWalletAddress"
})
Real-World Use Cases
DeFi Platforms
- Risk-adjusted lending — use fraud scores and behavioral profiles to set collateral requirements and interest rates per borrower
- Liquidity management — use intent signals to pre-position reserves and prevent pool drain
- Yield routing — identify wallets with high yield-seeking intent and route them to optimal vaults
AI Agent Personalization
- Give your agent a real-time behavioral profile of each wallet it talks to
- Segment users automatically into DeFi Lender, NFT Trader, Bridge User, New Wallet, etc.
Fraud & Compliance
- Screen wallets at the point of entry to your Dapp — before any transaction takes place
- Run AML monitoring across all active wallets
- Detect rug pull contracts at launchpad listing stage
NFT & GameFi
- Personalize in-game economies based on a player wallet's on-chain history
- Filter bot wallets and wash traders from NFT drops using fraud scores
Tips for Success
- Always specify the network — many tools behave differently across chains
- Run fraud check first — before any behavioral profiling, gate on fraud score
- Combine tools for full due diligence — fraud + behaviour + rug pull together give a complete picture
- Use the Deployer Risk Amplifier — a clean contract from a fraudulent deployer is still high risk
- For batch screening — use the
chainaware-fraud-detectorsubagent, not this skill directly - Surface forensic flags in plain language — never return raw JSON to end users
Related Subagents (Claude Code)
These subagents in .claude/agents/ provide specialized autonomous execution:
| Subagent | Use When |
|---|---|
chainaware-wallet-auditor | Full due diligence — deep behavioural profiling including fraud signals |
chainaware-fraud-detector | Fast fraud screening, batch wallet checks |
chainaware-rug-pull-detector | Contract/LP safety with deployer analysis |
chainaware-wallet-marketer | Personalized marketing messages per wallet segment |
chainaware-reputation-scorer | Reputation score 0–4000 |
chainaware-aml-scorer | AML compliance scoring 0–100 |
chainaware-trust-scorer | Simple composable trust score 0.00–1.00 |
chainaware-credit-scorer | Crypto credit score 1–9 for lending and creditworthiness decisions |
chainaware-wallet-ranker | Wallet experience rank and leaderboard |
chainaware-whale-detector | Whale tier classification for VIP treatment |
chainaware-onboarding-router | Route wallets to beginner / intermediate / skip onboarding |
chainaware-token-ranker | Discover and rank tokens by holder community strength |
chainaware-token-analyzer | Single token deep-dive — community rank + top holders |
chainaware-defi-advisor | Personalized DeFi product recommendations by experience + risk tier |
chainaware-airdrop-screener | Batch screen wallets for airdrop eligibility, filter bots and fraud |
chainaware-lending-risk-assessor | Borrower risk grade (A–F), collateral ratio, interest rate tier |
chainaware-token-launch-auditor | Pre-listing launch safety audit — APPROVED / CONDITIONAL / REJECTED |
chainaware-agent-screener | AI agent trust score 0–10 via agent + feeder wallet fraud checks |
chainaware-cohort-analyzer | Segment a batch of wallets into behavioral cohorts with engagement strategies |
chainaware-counterparty-screener | Real-time pre-transaction go/no-go (Safe / Caution / Block) |
chainaware-governance-screener | DAO voter Sybil detection and voting weight calculation |
chainaware-sybil-detector | Bulk Sybil attack detection for DAO votes — ELIGIBLE / REVIEW / EXCLUDE per wallet, pattern flags, and vote multipliers |
chainaware-transaction-monitor | Real-time transaction risk for autonomous agents — ALLOW / FLAG / HOLD / BLOCK |
chainaware-lead-scorer | Sales lead qualification — score, tier, conversion probability, outreach angle |
chainaware-upsell-advisor | Next product recommendation and upsell message for existing users |
chainaware-platform-greeter | Contextual welcome message per wallet per platform |
chainaware-marketing-director | Full-cycle campaign orchestrator — segments, leads, whales, per-cohort messages |
chainaware-compliance-screener | MiCA-aligned compliance report — PASS / EDD / REJECT (~70–75% MiCA coverage) |
chainaware-gamefi-screener | Web3 game / P2E bot detection, player tier classification, reward eligibility |
chainaware-portfolio-risk-advisor | Portfolio-level rug pull scan, risk grade (A–F), rebalancing plan |
chainaware-rwa-investor-screener | RWA investor suitability — QUALIFIED / CONDITIONAL / REFER_TO_KYC / DISQUALIFIED |
chainaware-ltv-estimator | 12-month revenue potential (LTV) as a USD range — tx count × avg tx value × fee rate, scaled by behavioral multipliers. Optional: platform_share, fee_rate |
Background Reading
Data & Privacy
What data leaves your environment
Every tool call transmits the following to https://prediction.mcp.chainaware.ai/sse:
| Field | Example | Notes |
|---|---|---|
walletAddress | 0xABC... | Pseudonymous on-chain identifier — not PII |
network | ETH | Chain identifier only |
apiKey | (your key) | Sourced from CHAINAWARE_API_KEY env var; never logged |
What is NOT sent: names, emails, IP addresses, private keys, raw transaction history, or any off-chain personal data.
API key handling
CHAINAWARE_API_KEY is read from the environment and passed as the apiKey parameter in each tool call. It is never included in output, never written to disk, and never logged by this skill. Treat it as a secret and rotate it regularly.
Integration-specific privacy notes
- Claude Code / Cursor: key passed via
X-API-Keyheader — does not appear in URLs or logs - Claude Web / ChatGPT: key must be appended to the SSE URL (
?apiKey=...) — these platforms do not support custom SSE headers. Be aware the key will appear in your browser's network tab. Use a restricted-scope key for these integrations.
Operator responsibilities
Wallet addresses are pseudonymous identifiers. Whether they constitute personal data in your jurisdiction depends on your regulatory context (e.g. GDPR, MiCA). Operators processing wallets linked to identified users should perform their own data protection assessment.
Privacy policy: https://chainaware.ai/privacy
Security Notes
- Never hard-code API keys in public repositories
- The server uses SSE (Server-Sent Events) for streaming responses
- Rate limits apply depending on your subscription tier
Error Reference
| Code | Meaning |
|---|---|
403 Unauthorized | Invalid or missing apiKey |
400 Bad Request | Malformed network or walletAddress |
500 Internal Server Error | Temporary backend failure — retry after a short delay |
Access & Pricing
API key required. Subscribe at: https://chainaware.ai/pricing
Dépôt GitHub
Compétences associées
content-collections
MétaCette compétence propose une configuration éprouvée en production pour Content Collections, un outil axé sur TypeScript qui transforme des fichiers Markdown/MDX en collections de données typées de manière sûre avec une validation Zod. Utilisez-la lors de la création de blogs, de sites de documentation ou d'applications Vite + React riches en contenu pour garantir la sécurité de typage et la validation automatique du contenu. Elle couvre tout, de la configuration du plugin Vite et de la compilation MDX à l'optimisation des déploiements et la validation des schémas.
polymarket
MétaCette compétence permet aux développeurs de créer des applications avec la plateforme de marchés prédictifs Polymarket, incluant l'intégration d'API pour le trading et les données de marché. Elle fournit également une diffusion de données en temps réel via WebSocket pour surveiller les transactions en direct et l'activité du marché. Utilisez-la pour mettre en œuvre des stratégies de trading ou pour créer des outils traitant les mises à jour de marché en direct.
creating-opencode-plugins
MétaCette compétence aide les développeurs à créer des plugins OpenCode qui s'interconnectent avec plus de 25 types d'événements tels que les commandes, les fichiers et les opérations LSP. Elle fournit la structure du plugin, les spécifications de l'API événementielle et les modèles d'implémentation pour les modules JavaScript/TypeScript. Utilisez-la lorsque vous avez besoin d'intercepter, de surveiller ou d'étendre le cycle de vie de l'assistant IA OpenCode avec une logique personnalisée pilotée par les événements.
sglang
MétaSGLang est un framework de service LLM haute performance spécialisé dans la génération rapide et structurée pour les workflows JSON, regex et agentiques grâce à son cache de préfixe RadixAttention. Il offre une inférence nettement plus rapide, particulièrement pour les tâches avec des préfixes répétés, ce qui le rend idéal pour les sorties complexes et structurées ainsi que les conversations multi-tours. Choisissez SGLang plutôt que des alternatives comme vLLM lorsque vous avez besoin d'un décodage contraint ou que vous construisez des applications avec un partage étendu de préfixes.
