
Research
/Security News
Popular npm Packages in the keyv and Cacheable Namespaces Compromised in Active Supply Chain Attack
Popular npm packages keyv and cacheable compromised.
drainbrain-mcp-server
Advanced tools
MCP server for DrainBrain - AI-powered Solana token rug pull detection
MCP server for DrainBrain — AI-powered Solana token rug pull detection.
Gives any MCP-compatible AI agent (Claude, Copilot, Cursor, custom agents) the ability to scan Solana tokens for rug pull risk using DrainBrain's 4-model ML ensemble, trained on 175K+ labeled tokens.
Built by RugSlayer — the Solana pre-crime scanner.
Add to your claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"drainbrain": {
"command": "npx",
"args": ["-y", "drainbrain-mcp-server"],
"env": {
"DRAINBRAIN_API_KEY": "your-api-key"
}
}
}
}
claude mcp add drainbrain -- npx -y drainbrain-mcp-server
Then set your API key:
export DRAINBRAIN_API_KEY=your-api-key
DRAINBRAIN_API_KEY=your-key npx drainbrain-mcp-server
scan_tokenScan a Solana token for rug pull risk. Returns a comprehensive risk assessment including score, honeypot detection, risk flags, and temporal behavioral analysis.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
mint | string | Yes | Solana token mint address (base58 public key) |
Returns:
Example prompt:
"Scan this Solana token for rug pull risk:
So11111111111111111111111111111111111111112"
Example output:
Token: So11111111111111111111111111111111111111112
Risk Score: 12/100 SAFE
Risk Level: low
Rug Detected: NO
Honeypot: No
Score Breakdown:
heuristic: 15
ml_v1: 8
ml_v2: 10
temporal: 14
batch_scanScan multiple Solana tokens in one call. Returns a summary table with risk scores for each token. Maximum 10 tokens per batch.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
mints | string[] | Yes | Array of Solana token mint addresses (1-10) |
Example prompt:
"Batch scan these 3 tokens for rug pull risk:
Mint1,Mint2,Mint3"
Example output:
Batch Scan Results (3 tokens):
So111111...1112: 12/100 SAFE | low | Rug: NO
EPjFWdd5...Dt1v: 8/100 SAFE | low | Rug: NO
DezXAZ8z...pump: 85/100 CRITICAL | critical | Rug: YES
health_checkCheck if the DrainBrain API is operational and which ML models are available. Use this to verify the service is working before scanning tokens.
Parameters: None
Example prompt:
"Check if DrainBrain is online"
Example output:
Status: healthy
API Version: v1
Models:
ml_v1: OK v1.0.0 (0.06ms)
ml_v2: OK v2.0.0 (0.08ms)
temporal: OK v2.0.0 (0.12ms)
heuristic: OK v1.0.0
compare_rugcheckCompare DrainBrain's ML-based score against RugCheck's heuristic-only score for the same token. Shows where ML analysis provides an advantage over traditional approaches.
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
mint | string | Yes | Solana token mint address (base58 public key) |
Example prompt:
"Compare DrainBrain vs RugCheck for this token:
DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263"
Example output:
Comparison for: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
DrainBrain (ML Ensemble):
Score: 85/100 CRITICAL
Risk Level: critical
Method: ensemble-temporal
RugCheck (Heuristic):
Trust Score: 45
Risk Level: medium
Analysis:
Agreement: No
Note: DrainBrain detected temporal rug patterns not visible to heuristic analysis
| Score | Level | Meaning |
|---|---|---|
| 0-19 | SAFE | Low risk - no rug indicators detected |
| 20-39 | LOW | Minor concerns - exercise normal caution |
| 40-59 | MEDIUM | Moderate risk - several warning signs present |
| 60-79 | HIGH | High risk - significant rug pull indicators |
| 80-100 | CRITICAL | Extreme risk - strong rug pull signals detected |
| Variable | Required | Default | Description |
|---|---|---|---|
DRAINBRAIN_API_KEY | Yes | - | Your DrainBrain API key |
DRAINBRAIN_API_URL | No | https://rugslayer.com | API base URL |
DrainBrain uses a 4-model ML ensemble trained on 175K+ labeled Solana tokens to predict rug pulls before they happen. The system analyzes liquidity patterns, on-chain behavior, temporal signals, and token authority configuration to produce a single risk score (0-100) with 5-stage rug progression tracking.
Unlike heuristic-only tools, DrainBrain detects behavioral patterns that precede rug pulls - often identifying threats before any price movement occurs.
MIT
FAQs
MCP server for DrainBrain - AI-powered Solana token rug pull detection
The npm package drainbrain-mcp-server receives a total of 0 weekly downloads. As such, drainbrain-mcp-server popularity was classified as not popular.
We found that drainbrain-mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.

Security News
/Company News
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.