# forgemeshlabs/anomaly-mcp [Health: Active]

**Category:** 🔗 Aggregators  
**Repository:** https://github.com/forgemeshlabs/anomaly-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 1138  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/forgemeshlabs-anomaly-mcp

## Description
Real-time anomaly detection powered by NASA-derived sequence mining across blockchain, mempool, stablecoin depeg, aviation, and GitHub signals via x402 USDC micropayments on Base. npx -y @forgemeshlabs/anomaly-mcp

## Tools
Capabilities this server exposes over MCP:

- **health_check** — Check ForgeMesh Anomaly Tracker API health and uptime.
- **anomaly_scan** — On-chain anomaly detection: scan a blockchain for sequence anomalies — unusual patterns of whale movements, exchange flows, bridge activity, and stablecoin mints/burns. Returns a story label, anomaly score (0-100), novelty level, and the peak anomalous symbol window. Costs $0.05 USDC on Base mainnet.
- **token_scan** — Token transfer anomaly scan (best effort) for a single token — scores recent transfer patterns for unusual activity and returns source status plus coverage notes. Pass a contract address or well-known symbol. Costs $0.03 USDC on Base mainnet.
- **whale_alerts** — Whale alerts: large exchange, bridge and stablecoin-issuer flows at monitored addresses (major exchanges, L2 bridges, Tether and Circle treasuries). Pass chain (ethereum, base or arbitrum; default ethereum) and hours (1-168, default 4). Returns JSON with chain, window_hours, alert_count and alerts, each with symbol (CEX_INFLOW, CEX_OUTFLOW, BRIDGE_IN, BRIDGE_OUT, STABLECOIN_MINT or STABLECOIN_REDEEM), source, amount_eth or amount_usd and timestamp. Costs $0.02 USDC on Base mainnet.
- **address_scan** — Wallet anomaly scan: scan any wallet address for anomalous transaction patterns. Classifies each transaction by checking counterparties against known CEX wallets, bridges, and stablecoin issuers. Costs $0.03 USDC on Base mainnet.
- **model_status** — Anomaly model status: SequenceMiner model health and training stats per chain — training sequence count and last retrain time. Costs $0.01 USDC on Base mainnet.
- **nft_scan** — NFT collection anomaly scan (best effort) — detects sweep accumulation, wash trading patterns, and mint surges, then returns source status plus coverage notes. Pass a contract address. Costs $0.03 USDC on Base mainnet.
- **defi_scan** — DeFi protocol anomaly scan — detects unusual flows through major lending and DEX contracts (Uniswap, Aave, Curve, Compound). Pass a protocol name or contract address. Returns a story label and anomaly score. Costs $0.03 USDC on Base mainnet.
- **squawk_alerts** — Aircraft emergency squawk alerts: best-effort live global sweep of active aviation emergency squawk codes via OpenSky Network. Returns aircraft currently squawking 7700, 7600, or 7500 with source status and coverage notes. Costs $0.02 USDC on Base mainnet.
- **flight_scan** — Airspace anomaly scan: sequence anomaly analysis for a named airspace region — detects unusual clustering of emergency squawks, rapid descents, or speed anomalies using the SequenceMiner engine. Costs $0.03 USDC on Base mainnet.
- **trending_signal** — Trending GitHub repos: repositories with anomalous star velocity right now — early signals before mainstream discovery. Detects repos going viral (200+ stars/day), overnight explosions, fork surges, and issue floods. Useful for trend hunting, VC scouting, developer tool discovery. Costs $0.02 USDC on Base mainnet.
- **repo_scan** — GitHub repo growth scan: deep anomaly scan for a single GitHub repository — scores star velocity, fork ratio, overnight explosion signals, and issue flood patterns. Returns a story label (e.g. 'Breakout Signal', 'Viral Activity') and anomaly score. Costs $0.03 USDC on Base mainnet.
- **github_watch** — GitHub repo activity watch: watch a GitHub repo's activity stream for anomalous development patterns — commit bursts, force pushes, issue floods, merge rushes, bot takeovers. Returns a story label (e.g. 'History Rewrite', 'Merge Sprint', 'Bot Takeover') and anomaly score. Costs $0.03 USDC on Base mainnet.
- **claude_feature_watch** — Claude and Anthropic release watch: watch Anthropic/Claude repos for recently merged features — SDK changes, Claude Code updates, new capabilities. Scans anthropic-sdk-python, anthropic-sdk-typescript, claude-code, courses, and anthropic-cookbook. Costs $0.02 USDC on Base mainnet.
- **mempool_anomaly** — Mempool anomaly monitor: real-time mempool anomaly score — detects gas spikes, MEV signals, pending whale swaps, contract deploy bursts, and priority fee wars. Designed for 5-second polling. Returns a story label (e.g. 'MEV Attack', 'Gas Surge', 'Priority Fee War') and anomaly score. Costs $0.01 USDC on Base mainnet.
- **depeg_monitor** — Stablecoin depeg monitor: real-time stablecoin depeg detector — monitors USDC, USDT, DAI prices for micro-deviations from $1.00 peg, spread between stables, and volume spikes. Catches depegs before they become crises. Designed for 1-minute polling. Returns a story label (e.g. 'Single Coin Drift', 'Multi-Stablecoin Crisis', 'Depeg Event') and anomaly score. Costs $0.01 USDC on Base mainnet.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "anomaly-mcp": {
    "command": "npx",
    "args": ["-y","@forgemeshlabs/anomaly-mcp"],
    "env": {
      "ANOMALY_API_BASE": ""
    }
  }
}
```

**Requires environment variables:** `ANOMALY_API_BASE` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What forgemeshlabs/anomaly-mcp MCP server does

The forgemeshlabs/anomaly-mcp MCP server connects MCP clients to the ForgeMesh Anomaly Tracker API. It covers several signal domains through 16 tools: blockchain activity, NFT and DeFi flows, aviation events, GitHub repository activity, mempool behavior, and stablecoin pricing. The service is intended for agents that need to identify unusual sequences and receive an interpreted result, including a score and a human-readable story label.

Blockchain tools can scan supported chains, tokens, wallet addresses, whale activity, NFT collections, and DeFi protocols. Aviation tools inspect emergency squawk codes and regional airspace patterns. GitHub tools identify unusual repository growth, forks, commits, issues, merges, and other activity, including recently merged features in selected Anthropic repositories.

## How it works

The forgemeshlabs/anomaly-mcp MCP server acts as a thin client rather than performing the analysis locally. An MCP client sends a tool request to the local process, which calls the hosted API at `https://anomaly.forgemesh.io`. Most scans return anomaly-related fields such as a sequence score, story, novelty, peak time window, and possible failure modes. Some best-effort tools also report source status and coverage notes so a quiet result can be distinguished from incomplete source coverage.

Supported blockchain choices include Ethereum, Base, and Arbitrum for many tools. Mempool monitoring supports Ethereum and Base, while stablecoin monitoring supports Ethereum, Base, and Arbitrum. Scan windows commonly range from one hour to seven days. GitHub tools accept repository names in `owner/repo` form where a repository is required.

Paid operations use the x402 protocol and charge USDC per call on Base mainnet. The initial response can provide payment challenge metadata; an agent's x402 client must be configured with a wallet private key to settle those payments. `health_check` is free, while the other tools have per-call prices listed by the project.

## Setup and configuration

Install the package globally with npm or run it directly using `npx`:

```bash
npx -y @forgemeshlabs/anomaly-mcp
```

The server reads `ANOMALY_API_BASE` for the API URL. If unset, it uses `https://anomaly.forgemesh.io`. A Claude Desktop configuration can launch the server with `npx`, pass `-y` and `@forgemeshlabs/anomaly-mcp` as arguments, and set that environment variable explicitly.

No API key is required. Payment settlement for paid calls is a separate concern handled by the agent's x402 client and wallet configuration.

## Tools and capabilities

Available capabilities include:

- Check API health and uptime, or inspect SequenceMiner model health by chain.
- Scan chain-wide, token, wallet, whale, NFT, and DeFi activity for anomalies.
- Detect mempool gas spikes, MEV indicators, pending whale swaps, and contract deployment bursts.
- Monitor USDC, USDT, and DAI for depeg signals, spreads, and volume spikes.
- Inspect aviation squawk alerts and regional airspace sequence anomalies.
- Find unusual GitHub star velocity, repository growth, forks, commit patterns, issue activity, and merged Claude-related features.

## Limitations and notes

Results depend on the hosted API and its monitored data sources. Token, NFT, and aviation alert tools are explicitly best-effort and include source or coverage information when available. Supported chain, region, token, and time-window values are constrained by each tool's input schema. Paid tools incur USDC charges when their x402 challenges are settled; the listed prices range from $0.01 to $0.05 per call.

_Full upstream README: https://allmcps.com/mcp/forgemeshlabs-anomaly-mcp/readme_

