# Layer

> Layer is an MCP server for finance and payments. Read-only lookup of identical Kalshi and Polymarket markets with profit after fees. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API
- **Website:** https://uselayer.sh/docs/mcp
- **MCP Registry name:** sh.uselayer/layer
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-11-14

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://uselayer.sh/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "layer": {
      "url": "https://uselayer.sh/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

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

## 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 KalshiSpy, Prediction Market Intelligence, Polymarket & Kalshi Odds vs Pinnacle Fair Probability, Oracle3 prediction-market arbitrage checks and Kalshi MCP.

## Where this comes from

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

## Alternatives

- [KalshiSpy](https://ai-powered.com/mcp/kalshispy): KalshiSpy is a freemium MCP server for finance and payments.
- [Prediction Market Intelligence](https://ai-powered.com/mcp/prediction-market-intelligence): Prediction Market Intelligence is a free MCP server for finance and payments.
- [Polymarket & Kalshi Odds vs Pinnacle Fair Probability](https://ai-powered.com/mcp/polymarket-and-kalshi-odds-vs-pinnacle-fair-probability): Polymarket & Kalshi Odds vs Pinnacle Fair Probability is a paid MCP server for sports data.
- [Oracle3 prediction-market arbitrage checks](https://ai-powered.com/mcp/oracle3-prediction-market-arbitrage-checks): Oracle3 prediction-market arbitrage checks is an open-source MCP server for finance and payments.
- [Kalshi MCP](https://ai-powered.com/mcp/kalshi-mcp): Kalshi MCP is a freemium MCP server for finance and payments.
- [TickerLayer Market Data](https://ai-powered.com/mcp/tickerlayer-market-data): TickerLayer Market Data is a freemium MCP server for finance and payments.
- [Layerz](https://ai-powered.com/mcp/layerz): Layerz is a freemium MCP server for finance and payments.
- [Kalshi MCP Server](https://ai-powered.com/mcp/kalshi-mcp-server): Kalshi MCP Server is an open-source MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/layer
