usenami-mcp

usenami-mcp

Perp-first funding rate & RWA spread data for AI agents. 30+ CEX/DEX venues, 6 tools (4 x402-paywalled, 2 free), bring-your-own-wallet via Base mainnet.

Category
Visit Server

README

@usenami/mcp-server

MCP server giving AI agents (Claude Desktop, Cursor, MCP-aware clients) direct access to Usenami — a multi-venue perpetual futures funding rate & real-world-asset spread API built for arb-aware agents.

Tools

Free (no wallet required)

Tool Description
usenami_venues_list Catalog of perpetual futures venues Usenami tracks (CEX + DEX, incl. Hyperliquid HIP-3 sub-venues).
usenami_venues_health Last-update timestamps + freshness status per venue. Use to verify currency before a paid call.

Paid ($0.001 USDC each, requires X402_PRIVATE_KEY)

Tool Description
usenami_funding_current Per-venue funding rates across 30+ exchanges. Optional symbol filter (BTC-PERP, ETH-PERP, …).
usenami_perp_funding_spread Cross-venue funding-rate spread snapshot for a base ticker. Returns long-side / short-side venues + spread in bps.
usenami_perp_oracle_families Oracle price-source family classification. Identify venues that share a price source (no genuine arbitrage edge between same-family pairs).
usenami_rwa_perp_coverage RWA perpetual coverage on Hyperliquid HIP-3 DEXes. 6 sub-venues × ~139 tickers across stocks / metals / forex / commodities / indices / pre-IPO synthetics. Optional asset_class filter.

Setup — Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "usenami": {
      "command": "npx",
      "args": ["-y", "@usenami/mcp-server"],
      "env": {
        "X402_PRIVATE_KEY": "0xYOUR_PRIVATE_KEY"
      }
    }
  }
}

Restart Claude Desktop. The 6 tools appear in the tool drawer.

X402_PRIVATE_KEY is optional — the 2 free tools work without it. Paid tools return a clear error if the env is missing.

Setup — Cursor

In Cursor settings → MCP, add the same JSON block as above. Cursor invokes the server via stdio.

Wallet preparation

X402_PRIVATE_KEY must be an EVM private key of a wallet holding USDC on Base mainnet:

  • USDC contract: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
  • Network: Base mainnet (chain id 8453)
  • Suggested minimum: 0.05 USDC (~50 paid calls of headroom)
  • No ETH needed — the Coinbase CDP Facilitator covers gas via EIP-3009 meta-transactions.

Pricing is $0.001 USDC per paid call. Settlement is on-chain, irrevocable, no subscription.

Local development

npm install
npm run build
node dist/index.js   # talks JSON-RPC over stdio — use MCP Inspector to drive it

For dev (no build step):

npm run dev

To test a paid tool manually:

X402_PRIVATE_KEY=0x... npm run dev
# Then in another terminal use @modelcontextprotocol/inspector

What you get back — response shapes

All paid responses are JSON. Examples:

usenami_funding_current{ symbol: "BTC-PERP" | null, rates: [{ source_id, venue, symbol, rate, updated_at }, ...] }

usenami_perp_funding_spread{ ticker, venues_count, spread: { ticker, long_venue, long_rate, short_venue, short_rate, spread_bps, updated_at } | null }

usenami_perp_oracle_families{ families: [{ family, method, venues }, ...], total_venues }

usenami_rwa_perp_coverage{ items: [{ ticker, venue, asset_class, funding_rate, updated_at }, ...], tickers_count, venues_count }

Architecture

  • Transport: stdio (Claude Desktop, Cursor, MCP Inspector). Streamable HTTP remote planned for v0.2.
  • Payment: x402-fetch wraps fetch — intercepts 402 responses, signs EIP-3009 authorization with the local wallet, retries with the X-Payment header. Wallet PK never leaves the local process.
  • Custody: zero — there is no MCP-side wallet. The customer brings their own PK.

Differentiation vs CoinGecko / CMC

Usenami is perp-first: funding rates and venue spreads are the primary product, not an afterthought. The two unique offers:

  1. Oracle family disclosure — explicit basis-risk awareness. Cross-venue strategies between same-family venues (cex_aggregated, pyth_stork, etc.) carry no real edge; Usenami exposes this directly.
  2. RWA on HIP-3 — 139 RWA tickers (stocks, metals, forex, commodities, pre-IPO) on Hyperliquid HIP-3 sub-venues. CoinGecko/CMC have no comparable surface.

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured