Undertow MCP
Undertow MCP provides read-only market-liquidity and exit-cost research tools for crypto, venues, funding, and related evidence.
Check access tier, daily meter, and subscriber-tool status.
Estimate BTC exit costs by size and venue, compare multiple sell sizes, and flag stale or uncovered data.
Calculate perpetual funding, fees, carry, and linear break-even from caller inputs.
Stress linear crypto portfolios for P&L, equity, and asset/venue concentration.
Review realized BTC depth-collapse episodes and venue depth concentration.
Read liquidity tiers, funding overlay, measure counts, and withheld-score reasons.
Run gold sale, FX, and cash-availability scenarios from caller inputs.
Inspect published editorial, corpus coverage, source clocks/rights, and research metadata.
View sealed forward-call records with misses, plus exact-rung BTC/USD paper-exit context and watched-filer unwind headlines.
Reconcile BTC/ETH venue prices into a depth-weighted consensus mark.
All tools are research-only: no trade execution, order clearance, or investment advice.
Provides market liquidity and exit-cost estimates for Binance, including per-venue sell costs in basis points at specified position sizes, depth concentration metrics, and venue rankings across BTC and ETH.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Undertow MCP What's the exit cost for selling $1M of BTC on Binance?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
LiquiLens Undertow MCP: market liquidity and exit-cost tools
Connect and ask one question
Hosted Streamable HTTP MCP; no local server or API key for public read-only tools. Add the products you need to Claude Code:
claude mcp add --transport http undertow https://api.seiche.info/undertow/mcp
claude mcp add --transport http liquilens https://api.liquilens.in/mcp
claude mcp add --transport http seiche https://api.seiche.info/mcpTry this first: What is the estimated exit cost for a $100,000 BTC sell? Compare available venues, snapshot times and excluded costs.
Try it in your browser · Cursor configuration · Codex commands · Free three-product starter kit and skill
For a connected review, ask for institution evidence → funding context → BTC exit estimates, with each source date, coverage gap and limitation kept separate. Client/model costs and fair-use limits may apply. Research calls do not execute trades.
Endpoint: https://api.seiche.info/undertow/mcp (streamable HTTP, no install)
Undertow is the market-liquidity product of LIQUILENS PRIVATE LIMITED, a registered company in India (CIN U62011RJ2026PTC116792). One company, three connected financial-evidence products: LiquiLens investigates institutions, Seiche explains funding conditions, and Undertow examines market exit evidence. Together they support a review of an exposure from institution to funding to liquidity, with each source date, coverage gap and research limit retained.
Built for people and AI agents working internationally. Access is global; coverage is market-specific. Read the company and investor story or inspect the shared company profile.
Start with a question: Open the crypto workbench. Choose a dollar size and click to read the current published venue estimates, snapshot date and method. No account, key, wallet or client installation is needed for this example. The result is a depth-based estimate, not an executable quote. The same page provides Codex, Claude Code, Cursor and VS Code setup.
Try it live: liquilens-undertow.com/developers · API catalog: api.seiche.info/undertow
Undertow exposes estimated exit cost by position size and venue, the concentration of
quoted depth, realized depth-collapse episodes, and liquidity tiers across market segments.
This MCP 1.14.0 endpoint exposes 25 read-only tools, split into 17 public and 8 subscriber
tools, plus 3 guided prompts. Its capability inventory is pinned to liquilens-undertow
commit 43423bba6d0a0efdee87c1188c4a4d84b4af1938, the hosted implementation at
deploy/hetzner/undertow-mcp. The stdio discovery server in
undertow_mm/mcp_server.py is a separate discovery surface; it is neither
this registry listing nor the public stdio adapter provided here.
The liquidity_tiers result includes public measure counts, replay eligibility and the published reason a score is withheld. A PARTIAL tier can remain even when every measure qualifies. Settlement histories and source receipts are available through the separate source-data MCP.
Related MCP server: Seiche — Funding and FX Evidence
Add it
Claude Code:
claude mcp add --transport http undertow https://api.seiche.info/undertow/mcpClaude.ai / ChatGPT / Cursor: add a custom connector or MCP server with the URL above. No key and no wallet for the free surface.
The free agent starter kit connects Undertow exit estimates and venue concentration with Seiche funding context and LiquiLens bank evidence. Follow the Hermes or OpenClaw guide for the shared setup. It uses public tools under fair-use limits; model-provider costs remain separate.
For a recurring research workflow, use the shared infrastructure setup guide and current interface catalog. They distinguish the public research MCPs, the eight-tool Research Desk and optional private runtimes. Private paper assessment is a separate integration; Undertow's public tools do not submit orders. Source observation dates, data rights and eligibility remain explicit even when hosting and backups are healthy.
This repository contains the discovery manifest, documentation and an optional
anonymous stdio adapter for the hosted service. The official registry serves
io.github.beepboop2025/undertow version 1.14.0.
Local stdio and container installation
The direct hosted URL above remains the simplest connection. For clients that require stdio, clone this repository at a reviewed commit and use Python 3.12+ and uv:
uv sync --locked
uv run --locked undertow-mcpA Claude Desktop configuration can use uv as its command and
["run", "--directory", "/absolute/path/to/undertow-mcp", "--locked", "undertow-mcp"]
as its arguments. The stdio adapter exposes only the 16 anonymous tools and
three prompts; subscriber access uses the direct hosted URL instead.
For Docker and Glama's container build:
docker build -t undertow-mcp .
docker run --rm -i undertow-mcpThe root Dockerfile runs as an unprivileged user and starts stdio directly.
No API key, bearer token, wallet, port, volume or environment setting is needed.
Outbound HTTPS access to the fixed api.seiche.info endpoint is required.
Redirects, environment proxies and arbitrary upstream URLs are disabled.
Requests are capped at 64 KiB, responses at 2 MiB, and each upstream operation
at 10 seconds including queue wait. No automatic retries or response cache can
hide outages or spend a quota twice. Upstream version/catalog drift fails closed.
Tool results, native isError values and rights refusals are preserved.
A Glama maintainer can configure the root Dockerfile, complete its build test, and publish a Glama release from the listing's admin page. A GitHub commit or release does not create a Glama release. This repository does not claim a grade until Glama has actually rescanned and inspected it. See Glama's release guide.
Hosted protocol compatibility
2026-07-28: stateless requests useserver/discover, per-request_meta,MCP-Protocol-Version, and mirroredMcp-Method/Mcp-Namerouting headers.2025-11-25,2025-06-18, and2025-03-26: retained legacy initialization, tools, prompts, notifications, batching, and ping behavior.Discovery identifies all sixteen public and eight subscriber tools. Anonymous
tools/listreturns only the public inventory; entitlement is checked fresh on every subscriber request.resources/listandresources/templates/listreturn explicit empty catalogs.resources/readreturns a not-found error and never invents a resource.
Example
In the snapshot generated at 2026-08-08T15:01:22Z, selling $1,000,000 of BTC at the selected $1,000,000 published size rung cost 2.386 bp on Binance and 13.623 bp on Bitfinex: about $238.60 against $1,362.30. Gemini was the dearest observed venue in that same snapshot at 25.852 bp, or about $2,585.20.
Venue rankings can change during the day, and those differences are not visible in a single consolidated price. Undertow publishes the observation time and venue inputs with the estimate.
Crypto workbench and skills
The browser workbench combines published BTC exit comparisons with funding and portfolio scenarios. The scenario forms run locally in the browser.
The crypto agent kit contains three installable skills, a standard-library Python client, offline scenario calculators and a repeatable brief connecting Undertow, Seiche and optional LiquiLens institution evidence. Exact file digests accompany the download. Nothing runs or installs automatically.
Tools
Tool | What it serves | Surface |
| Your current tier, daily meter, grants, and the exact route to Agent or Desk access | free |
| Every measure with its stress percentile or ACCRUING label, limits and analyst note | subscriber |
| Whether funding stress is reaching nonfinancial firms | subscriber |
| Compare up to four requested BTC sell sizes across published rungs, with observation clocks and explicit stale/depth gaps; never interpolate a requested size | free |
| Calculate funding, round-trip fees and linear break-even from caller-supplied inputs | free |
| Apply caller-supplied price shocks and costs to linear exposures; show equity and gross asset/venue concentration | free |
| Realized depth-collapse episodes with onset, trough, drawdown and recovery, against thresholds declared before any episode accrued | free |
| Compact comparison of corporate and household transmission regimes | subscriber |
| The hourly Exit Atlas (how much can leave, through which door, at what cost): first-party stablecoin supply by chain and the venue depeg flag against par, exit doors, the dollar curve against SOFR, chain fees and exchange reserves, with no aggregator index as an input | free |
| Per-venue sell cost in basis points at the nearest published size rung, cheapest and dearest venue with approximate dollar cost, and the venue spread | free |
| BTC and ETH at every published rung, plus the venue-failure withdrawal scenario | subscriber |
| Position-sized hour-by-hour liquidation schedule beside immediate and TWAP baselines | subscriber |
| Caller-input gold sale and FX scenario with separate quote, settlement, access and pledge gates; no verified balance or executable quote | free |
| Whether funding stress is reaching household balance sheets | subscriber |
| The exact reviewed daily market-liquidity editorial with its evidence clock and publication authority | free |
| A liquidity tier per market segment (UST, IG, HY, equities, ETF, FX, China basin, crypto) with the funding-stress overlay | free |
| Seiche corpus counts, rights and clocks, with bounded metadata pages; retrieval is not source-observation freshness | free |
| Bounded Palimpsest and Seiche research discovery with source clocks, availability and no blended score | free |
| The sealed forward-calls record, hash-chained and signed before outcomes, misses kept | free |
| Clock-phase liquidity map and exit-cost-by-phase for BTC or ETH perpetuals | subscriber |
| Exact-rung BTC/USD sell context with request, PIT, rights, clock and depth checks; unavailable inputs remain unavailable, never order clearance | free |
| Full institutional unwind and forced-sale stress pack | subscriber |
| Banded public watch over institutional unwind time and forced-sale pressure, with exact sensitive quantities withheld | free |
| The BTC depth backbone: top venue share of aggregate depth, HHI, effective venue count, per-venue depth in USD | free |
| A consensus mark weighted by resting depth over squared half-spread, plus the gap between the deepest venue and consensus | free |
Prompts
Prompt | Guided playbook |
| Compare watched-book door width, unwind horizon, margin clock, venue concentration, and realized depth collapses |
| Price a position-sized exit across venues and identify the observed depth limitations |
| Read the market-level liquidity board, funding overlay, concentration, and current exit-cost evidence together |
Commodity futures are intentionally absent from that table. Undertow has no
licensed point-in-time depth by contract month, venue and session, so
executable commodity exit cost is CANNOT_ASSESS_EXECUTABLE_EXIT_COST; open
interest or daily volume is never substituted. For aggregate WTI/Henry Hub
cash pressure, Cushing and benchmark structure, call Seiche's public
oil_funding_context or use /oil in
@seiche_desk_bot.
Limitations
PARTIAL is not calm. A publishable segment needs enough qualifying measures and a passing replay. The response preserves the exact counts and withheld-score reason; qualifying measures alone do not imply a score.
Exit costs are estimates, interpolated from published quote depth at the 1% and 2% bands. Never a book walk. The snapshot refreshes roughly hourly, so it is a snapshot and not a real-time feed.
Crypto measures are still accruing, so the board has not earned a crypto stress percentile and you should never quote one from it.
The sealed record includes misses. Calls are hash-chained and signed before their outcomes are knowable, then scored against the point-in-time board.
Commodity execution is a declared coverage gap. Ballast is useful upstream context from Seiche, not a depth ladder and not an Undertow exit-cost estimate.
Research and market data, not investment advice.
Subscriber tier
The Agent and Desk tiers unlock the eight subscriber tools. Send /agent to the
Telegram bot to mint a bearer token:
{
"mcpServers": {
"undertow": {
"url": "https://api.seiche.info/undertow/mcp",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}The token proves identity only. Entitlement is re-read from live membership on
every call, so access stops when the subscription does rather than when the token
expires. Subscriber tools are invisible to an anonymous tools/list, and
agent_access_status tells you where you stand.
Only tools/call is metered, reported on X-MCP-Usage-Used, X-MCP-Usage-Limit
and X-MCP-Usage-Remaining. GET /undertow/mcp/usage is the self-meter. Hitting a
quota returns a normal JSON-RPC result carrying isError and an upgrade pointer,
never a dropped connection.
About this repository
This repo is the listing: a README and the two manifests that let directories
describe the server accurately. The server itself is hosted at the endpoint above;
its source is deploy/hetzner/undertow-mcp in the Undertow product repository
https://github.com/beepboop2025/liquilens-undertow (private, so not linked here)
and the registry target remains hosted 1.14.0. The adapter forwards the native public schemas and results without computing
market values or granting subscriber access. Its own version is 0.3.0; the
upstream contract is 1.14.0.
Verification and deployment boundary
The verification workflow validates the exact 40-character releaseCommit in
contract.json against the immutable source receipt in source-receipt.json. The
receipt binds that commit and contract to SHA-256 digests of the hosted implementation
and registry manifest without granting this public repository access to the private
product repository. A maintainer creates or updates the receipt only after running the
local pinned-core verifier against a clean checkout; that verifier derives the
public/subscriber split, prompt inventory, protocol versions, server identity and
registry manifest directly from the source and checks both artifact digests. A branch
name or current product-repository HEAD is never accepted as release provenance.
A separate scheduled and manually dispatchable smoke makes anonymous, read-only calls
to the listed endpoint. It initializes the legacy protocol, exercises modern discovery,
checks the public tools, subscriber advertisement, prompts and explicit empty resource
catalogs, then calls agent_access_status. It does not use a bearer token or exercise a
subscriber tool. Run the same checks locally with:
uv run --locked python -m unittest discover -s tests -v
python3 scripts/verify_core_pin.py --receipt
python3 scripts/verify_core_pin.py --core /path/to/exact/core/checkout
python3 scripts/smoke_live_mcp.pyThe source pin is a reviewed contract boundary, not an HTTP deployment receipt. Undertow's release controller records the deployed SHA and append-only receipts on the host, while the public MCP response currently reports its semantic version and capability catalog but no exact Git commit. Therefore a green live smoke proves the published behavior, not that the host runs this exact SHA. Do not repin this listing from a matching version or catalog alone; require the host's exact successful deployment receipt (or an equivalent authenticated SHA attestation) first.
Siblings from the same lab
Seiche: free, open research on dollar funding and money markets.
LiquiLens: source-cited data on India's small and midsize lenders, by web, API and MCP.
groundcheck: claim grounding and citation verification for general text.
Palimpsest: live internet-censorship signals.
Human front door: liquilens-undertow.com and the Telegram desk.
License
The original public integration code and documentation in this repository are MIT licensed. See NOTICE.md for scope: this grant does not cover the private Undertow service or third-party market data. Native access controls, evidence limitations and source-rights holds still apply.
Available Tools
16 toolsagent_access_statusYour access + meterARead-onlyIdempotentInspect
Identity, current entitlement, daily usage and access instructions; explains missing/refused subscriber tools.
Inputs: no named parameters.
crypto_exit_checkCompare crypto exit sizes and freshnessBRead-onlyIdempotentInspect
Compare four BTC sell sizes by rung/bracket. Withholds stale/future, uncovered or unconverted venues. Fees excluded; no trade clearance.
Inputs: sizes_usd, max_age_seconds.
crypto_funding_costCalculate perpetual funding and fee dragBRead-onlyIdempotentInspect
Caller-input perpetual funding, fees, net carry and linear break-even. Positive funding: longs pay shorts. Constant-rate scenario, not forecast.
Inputs: side (required), settlements (required), notional_usd (required), rate_bps_per_settlement (required), +1 more.
crypto_portfolio_stressStress a crypto portfolioBRead-onlyIdempotentInspect
Caller-input linear shocks for 20 exposures: P&L, equity, asset/venue concentration. Symbols are scenario labels. No liquidation/probability model.
Inputs: positions (required), equity_usd (required).
depth_episodesRealized depth collapsesBRead-onlyIdempotentInspect
Realized BTC depth-collapse onset, trough, recovery under preregistered rules. Zero is distinct from missing. Subscriber exit_desk_full adds ETH.
Inputs: no named parameters.
exit_costExit cost at your size, per venueARead-onlyIdempotentInspect
BTC nearest-rung sell estimates, interpolated bid-depth bands; fees excluded, not executable. crypto_exit_check compares sizes/freshness.
Inputs: size_usd.
gold_cash_realisationGold sale, FX and cash availability scenarioARead-onlyIdempotentInspect
Calculate gold sale proceeds and cash gates from caller inputs. Decimal strings: kg, fineness (0,1], USD/troy-oz bid, USD fees, currency/USD FX (USD=1). Use aware ISO clocks. Returns arithmetic and withheld-cash reasons; no fetch, storage, execution or verified balance.
Inputs: cutoff (required), cleared (required), fx_asof (required), pledged (required), +13 more.
latest_articlePublished editorialARead-onlyIdempotentInspect
Read the latest published editorial: title, full text, URL, clock and quality receipt. No arguments. Missing text or failed receipt returns an error; no generated prose. Use liquidity_tiers for board data.
Inputs: no named parameters.
liquidity_tiersFull board: tiers + fundingBRead-onlyIdempotentInspect
Nine segment tiers, Seiche funding, measure counts and replay/withholding reasons. PARTIAL means missing history or unpassed replay, never calm.
Inputs: no named parameters.
market_corpus_contextPublic corpus coverage and source clocksBRead-onlyIdempotentInspect
Inspect corpus coverage, rights and clocks. Summary takes no pagination; other views return records/total/next_offset. Retrieval age is not observation freshness. Use liquidity_tiers for market readings.
Inputs: view, limit, offset.
research_networkConnected researchBRead-onlyIdempotentInspect
Find cross-product source metadata, clocks, rights and next steps. Follow next_offset; unavailable flags retrieval, contract or size failure. Use market_corpus_context for local corpus counts. No shared score or authority.
Inputs: limit, topic, offset.
sealed_recordSealed calls record (misses kept)BRead-onlyIdempotentInspect
Forward calls sealed/signed before outcomes: hits, misses, decided counts, ledger root. Report hits and misses together.
Inputs: no named parameters.
trade_safety_exit_contextPIT-bound exact-rung paper exit contextBRead-onlyIdempotentInspect
Exact-rung BTC/USD observe/paper context: request hash, PIT source/rights, conversion, bid bands, six venue clocks, startup SHA. No live mode or clearance.
Inputs: mode (required), side (required), venue (required), instrument (required), +2 more.
unwind_watchCan the watched books exit? (free)ARead-onlyIdempotentInspect
Watched-filer headlines: effective positions, days-to-exit brackets, blind spots. No live execution model. unwind_stress has full scenario grids.
Inputs: cik.
venue_concentrationDepth concentration todayARead-onlyIdempotentInspect
BTC two-sided depth: HHI, effective/top venue and venue depth. Subscriber exit_desk_full adds ETH and venue failure.
Inputs: no named parameters.
venue_price_reconciliationConsensus price when venues disagreeBRead-onlyIdempotentInspect
BTC/ETH consensus: depth/squared-half-spread weights, deepest-venue blindness, concentration, dislocations. Experimental; no execution authority.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 16 tools
Most tools target distinct data products such as funding cost, gold sale proceeds, editorial retrieval, and access status. However, the BTC exit surface is split across exit_cost, crypto_exit_check, and trade_safety_exit_context, while venue_concentration, venue_price_reconciliation, depth_episodes, and liquidity_tiers overlap in market-microstructure readings. Descriptions help distinguish them, but an agent must read closely to avoid misselection.
All tool names use lower_snake_case consistently and are readable. The pattern is mostly noun-phrase/domain-prefix rather than verb_noun, with minor semantic inconsistencies such as asset-prefixed versus context-suffixed names, but there is no chaotic mixing of conventions.
16 tools is reasonable for a multi-domain research and analytics server spanning crypto, gold, editorial, access, and corpus workflows. It is slightly above the ideal 3-15 range, but each tool appears to cover a specialized surface rather than duplicating a simple operation.
The surface covers a broad range of research and risk workflows including exits, funding, stress, depth, venue reconciliation, corpus context, and editorial retrieval. Gaps are mostly intentional or subscription-gated, such as no live execution and limited ETH coverage in some tools, which agents can work around.
Maintenance
Related MCP Connectors
Read-only market research: index funds, event cards, CLOB data, fund analytics. No orders.
Hyperliquid MCP — read-only market data from Hyperliquid's public info API.
Read-only Hyperliquid analytics: orderflow, liquidation levels, whale positioning, funding.
Historical tick, order book and settlement data for Polymarket and Predict.fun crypto up/down markets, plus smart-money lists and backtest quotes, over a read-only MCP server.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProvides read-only MCP tools for market snapshots, position risk, order reconciliation, and daily report previews with deterministic financial calculations, evidence chains, and audit trails.MIT
- AlicenseAqualityBmaintenanceGive AI agents cited funding, money-market, FX and capital-market evidence through 16 public MCP tools. Keep source dates, freshness checks and coverage gaps attached; China macro coverage is metadata-only. No API key is required for the public surface. Research context only; no trade execution.6162AGPL 3.0
- AlicenseAqualityCmaintenanceProvides read-only access to Polymarket US public market data, including prices, order books, and spread/fee analytics, via MCP tools.16MIT
- AlicenseAqualityBmaintenanceProvides read-only tools for market data and portfolio analysis, including prices, FX rates, ETF costs and exposure, and whole-portfolio risk in a chosen currency. Supports natural-language questions about investments through MCP clients.20MIT