New:Socket for Asana Is Now Available.Learn more
Get Started

@anaxer/mcp

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anaxer/mcp

Official MCP server for Anaxer — query Solana DEX data from Claude Desktop, Claude Code, Cursor, and other MCP hosts.

npmnpm
Version
0.2.0
Version published
Weekly downloads
38
-41.54%
Maintainers
1
Weekly downloads
 
Created
Source

@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:

EnvDefaultPurpose
ANAXER_BASE_URLhttps://api.anaxer.comREST base (local gateway: http://localhost:3010)
ANAXER_WS_URLderived from base → …/v1/streamOverride WebSocket URL

Tools

ToolWhat it answers
get_token_metadataName/symbol/supply/socials for one mint
get_tokens_metadataBatch metadata (≤50 mints)
get_token_priceLatest USD + SOL price / market cap for one mint
get_token_pricesBatch prices (≤50 mints)
list_token_tradesOne page of swaps for a mint (either leg; optional solOnly; quote :mint rejected)
list_creationsOne page of recent launches
list_graduationsOne page of recent graduations
get_launchpad_statsAggregate launchpad stats over a window
tail_streamBounded 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

  • 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.
  • 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

FAQs

Package last updated on 31 Jul 2026

Related posts