Somnia MCP Server

26 tools. 0 can modify or destroy data without limits.

Read-only server. Low risk, but rate limits prevent runaway API costs.

Last updated:

0 can modify or destroy data
26 read-only
26 tools total

Community server · catalogue entry verified 04/07/2026

How to control Somnia MCP Server ↓

What Somnia MCP Server exposes to your agents

Read (26) Write / Execute (0) Destructive / Financial (0)

What can go wrong

Even read-only tools carry cost. An agent in a retry loop can make thousands of API calls per minute, exhausting rate limits and running up bills.

How to control Somnia MCP Server

PolicyLayer is an MCP gateway — it sits between your AI agents and Somnia MCP Server, and nothing reaches the server without passing your rules. These are the rules we recommend:

Cap read operations
{
  "getBlockHeights": {
    "limits": [
      {
        "counter": "getblockheights_per_minute",
        "window": "minute",
        "max": 60,
        "scope": "grant"
      }
    ]
  }
}

Controls API costs and prevents retry loops from exhausting upstream rate limits.

  1. Create a free account and register Somnia MCP Server — nothing to install.
  2. Add these rules — paste them, or build them visually. Tune the limits to your setup.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
ENFORCE POLICY ON SOMNIA →

Instant setup, no code required.

All 26 Somnia MCP Server tools

READ 26 tools
Read getBlockHeights Get all block heights between two dates Read getBlockTransactions Get transactions in a block Read getBulkTransactions This API provides bulk transaction data for a wallet address in a 15-minute time bucket interval Read getContractsWithHoldings Gets a list of contracts containing specific token with defined threshold. Read getEarliestTransaction Get the earliest transaction for an address Read getERC1155Balance Returns a list of ERC-1155 token balances Read getERC1155Transfers Get ERC1155 transfers for a specific wallet address Read getERC20Balance Get ERC20 tokens balance of a wallet Read getERC20Transfers Get ERC20 transfers for a specific wallet address Read getERC721Balance Returns a list of ERC-721 token balances Read getERC721Transfers Get ERC721 transfers for a specific wallet address Read getHistoricalBalance Commonly used to fetch the historical native, fungible (ERC20), and non-fungible (ERC721 & ERC1155) tokens hel Read getLatestTransactions Get latest transactions Read getNFTtokensByAddress Lists tokens for an NFT contract Read getNFTtokensByIdForAddress Gets token details for a specific token of an NFT contract. Read getOneBlock Get a single block Read getOneTransaction Get a single transaction by its hash Read getRecentTransactions Get recent transactions Read getTokenBalance Get token balance for address for provided token address in query params Read getTokenBalancePortfolio Commonly used to render a daily portfolio balance for an address broken down by the token. The timeframe is us Read getTokenHolders Commonly used to get a list of all the token holders for a specified ERC20 or ERC721 token. Returns historic t Read getTopicTransactionLogs Get logs for transactions matching the provided topic Read getTransactionLogs Get logs from blocks Read getTransactionLogsForAddress Get logs for transaction created by the provided address Read getTransactionsForAddress Get transactions to and from the wallet address Read getWalletTransactionSummary Get a summary of transactions for a specific wallet address

Questions about Somnia MCP Server

Is the Somnia MCP Server MCP server safe to use without restrictions? +

The Somnia MCP Server server is primarily read-only with 26 read tools. While it cannot modify data, an agent in a retry loop can make thousands of API calls per minute, exhausting rate limits and running up costs. Rate limiting is still recommended.

How many tools does the Somnia MCP Server MCP server expose? +

26 tools across 1 categories: Read. 26 are read-only. 0 can modify, create, or delete data.

How do I enforce a policy on Somnia MCP Server? +

Register the Somnia MCP Server MCP server in PolicyLayer, apply the suggested rules above (adjust the limits to your use case), and point your AI client at the PolicyLayer proxy URL instead of the server directly. Your agents keep the same tools; PolicyLayer evaluates every call against policy before it executes. Nothing to install, live in minutes.

Enforce policy on every Somnia MCP Server tool call.

Deterministic rules across all 26 Somnia MCP Server tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.

Instant setup, no code required.

26 Somnia MCP Server tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.