Skip to main content
The official Octav MCP server lets AI assistants query portfolio data, transaction history, net worth, and historical snapshots across 20+ blockchains — directly from your conversation.
Quick Install — Run the MCP server with no installation required:
npx octav-api-mcp

Features

Portfolio & Holdings

Multi-chain portfolio aggregation
  • Wallet balances and DeFi positions
  • Net worth in multiple currencies
  • Token distribution overview

Transaction History

Complete transaction records
  • Filter by chain, type, and date range
  • Manual sync triggers
  • Up to 250 results per query

Historical Snapshots

Time-series portfolio data
  • Point-in-time snapshots
  • Automatic daily subscriptions
  • Performance tracking

Specialized Data

Additional capabilities
  • Solana airdrop eligibility
  • Polymarket positions
  • x402 agent payment support

Installation


Configuration

You’ll need an Octav API key. Get one at data.octav.fi.

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
  "mcpServers": {
    "octav": {
      "command": "npx",
      "args": ["-y", "octav-api-mcp"],
      "env": {
        "OCTAV_API_KEY": "your-api-key-here"
      }
    }
  }
}

Cursor

Go to Cursor Settings > MCP and add a new global MCP server:
{
  "mcpServers": {
    "octav": {
      "command": "npx",
      "args": ["-y", "octav-api-mcp"],
      "env": {
        "OCTAV_API_KEY": "your-api-key-here"
      }
    }
  }
}

VS Code (Copilot)

Add to your VS Code settings.json:
{
  "mcp": {
    "servers": {
      "octav": {
        "command": "npx",
        "args": ["-y", "octav-api-mcp"],
        "env": {
          "OCTAV_API_KEY": "your-api-key-here"
        }
      }
    }
  }
}

Claude Code

Add the MCP server to your project with the Claude Code CLI:
claude mcp add octav -- npx -y octav-api-mcp
Then set the API key as an environment variable or pass it via your shell profile.

Available Tools

The MCP server exposes 14 tools organized by category. Most tools cost 1 credit per address.

Portfolio & Holdings

Complete portfolio including wallet holdings and DeFi positions across 20+ blockchains.
ParameterTypeRequiredDescription
addressesstring[]YesWallet addresses (EVM 0x... or Solana base58). Max 10.
Cost: 1 credit per address
"Show me the full portfolio for 0x123..."
Wallet token balances only (excludes DeFi protocol positions).
ParameterTypeRequiredDescription
addressesstring[]YesWallet addresses. Max 10.
Cost: 1 credit per address
"What tokens does 0x123... hold?"
Total net worth in a specified currency.
ParameterTypeRequiredDescription
addressesstring[]YesWallet addresses. Max 10.
currencystringNoUSD, EUR, GBP, JPY, or CNY. Defaults to USD.
Cost: 1 credit per address
"What's the total net worth of 0x123... in EUR?"
Aggregated token distribution across all chains.
ParameterTypeRequiredDescription
addressesstring[]YesWallet addresses. Max 10.
datestringYesSnapshot date in YYYY-MM-DD format.
Cost: 1 credit per address
"Show me the token breakdown for 0x123... as of 2025-01-15"

Transactions

Query transaction history with filtering and pagination.
ParameterTypeRequiredDescription
addressesstring[]YesWallet addresses. Max 10.
chainstringNoFilter by chain (e.g., ethereum, solana).
typestringNoFilter by type (e.g., transfer, swap, stake).
startDatestringNoStart date (YYYY-MM-DD).
endDatestringNoEnd date (YYYY-MM-DD).
limitnumberNoResults per request (1–250, default 50).
offsetnumberNoPagination offset (default 0).
Cost: 1 credit per address
"Show me the last 20 swaps on Ethereum for 0x123..."
Trigger manual transaction synchronization for immediate indexing.
ParameterTypeRequiredDescription
addressesstring[]YesWallet addresses. Max 10.
Cost: 1 credit per address
"Sync the latest transactions for 0x123..."

Historical & Snapshots

Portfolio snapshot for a specific past date.
ParameterTypeRequiredDescription
addressesstring[]YesWallet addresses. Max 10.
datestringYesDate in YYYY-MM-DD format.
Cost: 1 credit per address
"What was my portfolio worth on 2024-12-31?"
Subscribe to automatic daily portfolio snapshots.
ParameterTypeRequiredDescription
addressesstring[]YesWallet addresses. Max 10.
descriptionstringNoOptional label for the subscription.
Cost: 1,200 credits
"Subscribe 0x123... to daily snapshots"

Metadata

Check sync status of addresses across all chains.
ParameterTypeRequiredDescription
addressesstring[]YesWallet addresses. Max 10.
Cost: Free
"Is 0x123... fully synced?"
Check API credit balance and usage.No parameters required.Cost: Free
"How many API credits do I have left?"

Specialized

Check airdrop eligibility for a Solana address.
ParameterTypeRequiredDescription
addressstringYesSolana wallet address (base58).
Cost: 1 credit
"Check airdrop eligibility for my Solana wallet"
Get Polymarket prediction market positions.
ParameterTypeRequiredDescription
addressstringYesEthereum wallet address (0x...).
Cost: 1 credit
"Show my Polymarket positions for 0x123..."
Wallet holdings via x402 payment protocol for AI agents with automatic payment.
ParameterTypeRequiredDescription
addressesstring[]YesWallet addresses. Max 10.
Cost: Paid via HTTP 402 payment protocol
Full portfolio via x402 payment protocol for AI agents with automatic payment.
ParameterTypeRequiredDescription
addressesstring[]YesWallet addresses. Max 10.
Cost: Paid via HTTP 402 payment protocol

Example Prompts

Once the MCP server is connected, you can ask your AI assistant questions like:
"What's the total value of my portfolio at 0xABC...?"
"Show me all swap transactions on Arbitrum for the past month"
"Compare my portfolio value today vs. 30 days ago"
"Check if my Solana wallet is eligible for any airdrops"
"How many API credits do I have left?"

Error Handling

The MCP server returns clear error messages for common issues:
ErrorCauseSolution
Invalid address formatAddress doesn’t match EVM or Solana formatUse 0x... (40 hex chars) for EVM or base58 for Solana
Authentication failureMissing or invalid API keyCheck your OCTAV_API_KEY environment variable
Insufficient creditsNot enough credits for the requestPurchase more at data.octav.fi
Rate limit exceededToo many requests per minuteWait and retry — the server includes retry guidance

Resources