Skip to main content
Glama
@anaxer/mcp

@anaxer/mcp

by Anaxer-v2

@anaxer/mcp

Official MCP server for the Anaxer Solana real-time data API. Add a few lines to Claude Desktop, Claude Code, or Cursor and the assistant can call typed tools over your API key — prices, metadata, creations, graduations, and a bounded live stream tail.

Requires Node ≥ 20. This package wraps @anaxer/sdk; it adds no gateway or wire behavior.

npx -y @anaxer/mcp

Setup

Set ANAXER_API_KEY in the MCP host config (never pass the key as a tool argument).

Claude Desktop / Claude Code / Cursor

{
  "mcpServers": {
    "anaxer": {
      "command": "npx",
      "args": ["-y", "@anaxer/mcp"],
      "env": {
        "ANAXER_API_KEY": "sk_live_…"
      }
    }
  }
}

Optional:

Env

Default

Purpose

ANAXER_BASE_URL

https://api.anaxer.com

REST base (local gateway: http://localhost:3010)

ANAXER_WS_URL

derived from base → …/v1/stream

Override WebSocket URL

Related MCP server: Pump.fun MCP Server

Tools

Tool

What it answers

get_token_metadata

Name/symbol/supply/socials for one mint

get_tokens_metadata

Batch metadata (≤50 mints)

get_token_price

Latest USD + SOL price / market cap for one mint

get_token_prices

Batch prices (≤50 mints)

list_token_trades

One page of swaps for a mint (either leg; optional solOnly; quote :mint rejected)

list_creations

One page of recent launches

list_graduations

One page of recent graduations

get_launchpad_stats

Aggregate launchpad stats over a window

tail_stream

Bounded live WS batch (trades / creations / graduations / prices)

List tools default to limit: 20 (max 200) to conserve model context. Paginate by calling again with cursor set to the previous next; stop when next is null.

Spelling: REST list tools take a singular source string. tail_stream filters use a sources array (WebSocket filter shape).

tail_stream caps

  • maxEvents — default 20, cap 100

  • timeoutMs — default 10_000, cap 30_000

  • Ends when either cap hits first; always unsubscribes before returning

Per-channel filter keys:

  • trades: sources, mints, wallets, minVolumeUsd, maxVolumeUsd, solOnly (quote assets SOL/USDC/USDT rejected in mints — use solOnly: true for SOL pairs)

  • creations: sources, enriched, excludeMayhem

  • graduations: sources, excludeMayhem, minLiquiditySol

  • prices: sources, mints

v1 omissions

These are intentional, not bugs:

  • No tail_stream("transfers") and no list_programs (same as @anaxer/sdk v1)

  • No remote / hosted MCP (Streamable HTTP) — local stdio only

  • No gap recovery on reconnect (SDK has none)

  • No MCP resources or prompts — tools only

Troubleshooting

  1. Wrong API key on tail_stream. REST tools fail per call and recover as soon as you fix ANAXER_API_KEY. WebSocket unauthorized is terminal for the shared socket — restart the MCP server process (reload the host / re-run npx @anaxer/mcp) after fixing the key.

  2. subscription_limit. Each open tail_stream holds one plan subscription until it returns. Overlapping tails (or a leaked subscription) on free/low plans can hit the cap. The server always close()s in finally; hosts normally serialize tool calls, so this is rare.

License

MIT


About this repository

This is a read-only mirror. packages/mcp in Anaxer's private monorepo is the source of truth; this repo is regenerated from it on each release, so pull requests here cannot be merged directly. Issues are very welcome — or reach us at anaxer.com/contact.

Available Tools

9 tools
get_launchpad_statsA

Aggregate launchpad stats (creations/graduations counts) over a rolling window. Use for 'which launchpads are hot'. Optional windowHours.

Inputs: windowHours.

get_token_metadataA

Name, symbol, supply, and socials for one mint. Use for 'what is this token' / metadata lookups. 404 → mint not in Anaxer yet (never observed or resolve failed).

Inputs: mint (required).

get_token_priceA

Latest USD + SOL price and market cap for one mint. Use for 'what's X worth now'. 404 → the mint has no live price.

Inputs: mint (required).

get_token_pricesA

Batch latest prices for up to 50 mints. Missing prices are omitted from the array. Prefer over many get_token_price calls.

Inputs: mints (required).

get_tokens_metadataA

Batch metadata for up to 50 mints. Missing/never-observed mints are omitted from the array (not errored). Prefer over many get_token_metadata calls.

Inputs: mints (required).

list_creationsA

One page of recent token creations (launches). Optional singular source (e.g. "pump_fun") — NOT an array; live multi-source use tail_stream with sources. Use excludeMayhem=true to drop mayhem-mode launches. To get more, call again with cursor set to the previous next; stop when next is null.

Inputs: to, from, limit, cursor, +2 more.

list_graduationsA

One page of recent graduations/migrations. Optional singular source (NOT an array). Use minLiquiditySol / excludeMayhem to filter junk. To get more, call again with cursor set to the previous next; stop when next is null.

Inputs: to, from, limit, cursor, +3 more.

list_token_tradesA

One page of recent swaps where mint is either swap leg (REST history, not a live tail). Includes token↔token rows when present. Quote assets (SOL, USDC, USDT) are rejected as mint (use get_token_metadata / get_token_price for those). Optional singular source (e.g. "pump_fun") — NOT an array; for live multi-source filtering use tail_stream with sources. solOnly: true keeps only SOL-paired rows. To page, pass cursor = previous next; stop when next is null. Prefer limit ≤ 20 (default) to conserve context.

Inputs: mint (required), to, from, limit, +3 more.

tail_streamA

Collect a bounded batch of live WebSocket events, then return and unsubscribe. Always terminates: ends when maxEvents (default 20, cap 100) or timeoutMs (default 10000, cap 30000) hits first. filters is a per-channel bag using WS shapes — note sources is an ARRAY (unlike REST list tools' singular source). Valid keys: trades: sources, mints, wallets, minVolumeUsd, maxVolumeUsd, solOnly (quote assets SOL/USDC/USDT rejected in mints — use solOnly for SOL pairs); creations: sources, enriched, excludeMayhem; graduations: sources, excludeMayhem, minLiquiditySol; prices: sources, mints. No transfers channel in v1. Use for short live watches / summaries, not history (history → list_* tools).

Inputs: channel (required), filters, maxEvents, timeoutMs.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 9 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: singular vs batch metadata/price, different event types (trades, creations, graduations), aggregated stats, and live streaming. The descriptions reinforce when to use each, and no two tools overlap in functionality.

    Naming Consistency5/5

    Tool names follow a predictable verb_noun pattern: get_ for metadata/price (with pluralization for batch), list_ for historical enumerations, and tail_ for streaming. The convention is consistent and intuitive, with no mixed styles.

    Tool Count5/5

    With 9 tools, the server is well-scoped for a token data API. It covers core operations (metadata, price, history, stats, streaming) without redundancy or unnecessary bloat, making each tool earn its place.

    Completeness5/5

    The tool surface is comprehensive for the domain: it includes metadata, price, trade history, creations, graduations, launchpad stats, and live streaming. Batch versions avoid repeated calls, and the only notable omission (a transfers channel) is explicitly noted as out of scope for v1.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers