Skip to content
MCP server

Layer

Read-only lookup of identical Kalshi and Polymarket markets with profit after fees

Install
Platforms
API
Runs
Remotely
Version
0.1.0
Listing updated
5 days ago

Similar MCP servers

About Layer

Layer is an MCP server for finance and payments. It runs as a hosted remote server, so there is nothing to install locally.

Layer matches prediction markets that are the same bet on Kalshi and another venue, then lets an assistant pull live prices for both sides. The docs give an example prompt: which NBA games tonight are matched on Kalshi and Polymarket US, and is any profitable after fees. For a single market, lookup_match finds its twin from a venue and market ID and reports the confidence, differences in the rules, and, once settled, how each venue resolved it.

The tools only read. They never place orders; trading goes through Layer's Python SDK on your own machine using your own venue keys. Each tool returns the same JSON as the matching REST endpoint, and failures come back with the API's detail and hint text so the assistant can correct itself.

You need a Layer API key sent as a bearer header, and calls share the key's limit of 60 requests a minute. Without a key a client can still connect and list the tools. Agents without an account can pay per call over x402.

Install

Run in a terminal

claude mcp add --transport http layer https://uselayer.sh/mcp

Add to Settings → Connectors → Add custom connector

https://uselayer.sh/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "layer": {
      "url": "https://uselayer.sh/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "layer": {
      "type": "http",
      "url": "https://uselayer.sh/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "layer": {
      "serverUrl": "https://uselayer.sh/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "layer": {
      "type": "http",
      "url": "https://uselayer.sh/mcp"
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

find_matches
Lists matched markets across venues with live prices and the best trade.
lookup_match
Finds one market's twin on another venue with confidence and rule differences.
check_profit
Calculates profit after both venues' fees.

What it does

Matched market search
Lists the same bet across Kalshi and another venue, earliest event day first.
Rule difference check
Shows confidence and how the two venues' rules differ.
Profit after fees
Works out a trade's profit from contracts, prices and both venues' fees.
Filters and paging
Filter by query, series, category, venue and dates, and page through results.
Self-correcting errors
Errors include detail and a hint so the assistant can retry.
Read-only by design
No tool places an order.

Good for

  • Find arbitrage candidates between Kalshi and Polymarket
  • Check whether a hedged trade still pays after both venues' fees
  • See how a settled market resolved on each venue
  • Scan tonight's sports markets for price gaps

Layer FAQ

Can it place trades?

No. The tools only read; orders go from the Python SDK with your own keys.

What is the rate limit?

The same 60 requests a minute as your API key.

Do I need a key?

Yes, a Layer API key, though agents can alternatively pay per call over x402.

Which tools exist?

find_matches, lookup_match and check_profit.

How do I add Layer to Claude Code?

Run this command in your terminal: claude mcp add --transport http layer https://uselayer.sh/mcp

What are the best alternatives to Layer?

The closest alternatives to Layer are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Australian Economic Data (ABS, RBA & APRA), Budget Tracker and What Property calculators and area figures.

Where this comes from

  • Description: written from the project's website.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers