# Hanko exit_liquidity

> Hanko exit_liquidity is an MCP server for finance and payments. Checks whether a token position can be sold and what exiting it would cost. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API, Web
- **Website:** https://tryhanko.xyz/try
- **Repository:** https://github.com/iamharrie-labs/hanko
- **MCP Registry name:** io.github.IamHarrie-Labs/hanko
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-11-23

## About

The `exit_liquidity` skill answers a narrow question: given a token and a position size, could you get out, and at what cost. It queries three live sources, RYO's token analysis, trading-pool depth on DexScreener and an executable sell quote from Jupiter, and returns the result in RYO's own response envelope. If a source is down, the answer says which one and uses the others.

For Solana tokens the answer rests on a real quote, with the skill's own model figure shown beside it. The README gives an example where a $50,000 BONK exit quoted 2.3% against 7.2% from the constant-product model. ETH and BTC are measured through wrapped forms on Ethereum, where no keyless quote venue exists, so their cost is modelled and labelled that way.

It is part of the Hanko project, a RYO-CHAN Hackathon 2026 submission that also includes a narrative agent for sizing positions from social posts. The MCP endpoint is `https://tryhanko.xyz/api/mcp`, and a REST route and a live try page exist as well.

## Features

- **Executable exit quote:** Uses a Jupiter sell quote for Solana tokens when one exists.
- **Model comparison:** Shows the model's own cost figure beside the quote.
- **Pool depth:** Reads trading-pool depth from DexScreener.
- **Source fallback:** Reports which source failed and answers from the rest.
- **Labelled estimates:** Marks ETH and BTC costs as modelled, not quoted.

## Good for

- Check whether a large token holding could be sold cleanly
- Compare a quoted exit cost with a modelled one
- Gate position size before an agent commits to a trade

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http hanko https://tryhanko.xyz/api/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "hanko": {
      "type": "http",
      "url": "https://tryhanko.xyz/api/mcp"
    }
  }
}
```

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

```text
https://tryhanko.xyz/api/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

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

```json
{
  "mcpServers": {
    "hanko": {
      "url": "https://tryhanko.xyz/api/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "hanko": {
      "type": "http",
      "url": "https://tryhanko.xyz/api/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://tryhanko.xyz/api/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add hanko --url https://tryhanko.xyz/api/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.hanko]
url = "https://tryhanko.xyz/api/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "hanko": {
      "httpUrl": "https://tryhanko.xyz/api/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http hanko https://tryhanko.xyz/api/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "hanko": {
      "serverUrl": "https://tryhanko.xyz/api/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "hanko": {
      "url": "https://tryhanko.xyz/api/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "hanko": {
      "type": "streamableHttp",
      "url": "https://tryhanko.xyz/api/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "hanko": {
      "url": "https://tryhanko.xyz/api/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "hanko": {
      "url": "https://tryhanko.xyz/api/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "hanko": {
      "url": "https://tryhanko.xyz/api/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "hanko": {
      "url": "https://tryhanko.xyz/api/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://tryhanko.xyz/api/mcp
```

Enter a Name (for example "Hanko exit_liquidity"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

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

```json
{
  "mcpServers": {
    "hanko": {
      "type": "http",
      "url": "https://tryhanko.xyz/api/mcp"
    }
  }
}
```

## Tools

The server marks all 1 tool read-only. From the server's own tool labels and tool names; not verified by us.

- `exit_liquidity` (says read-only): What it costs to exit a position at a given size, and the largest size that clears a slippage ceiling. Uses an executable venue quote when one exists (basis: quoted) and a constant-product model otherwise (basis: modelled), shows the gap between the two, and returns null rather than zero when an input is unavailable. Returns RYO's public response envelope.

## FAQ

### How long does a check take?

Usually 2 to 8 seconds, since it makes three live network calls.

### Are ETH and BTC quoted?

No. They are measured through wrapped forms on Ethereum and the cost is modelled and labelled as such.

### Can Hanko exit_liquidity be called without MCP?

Yes. A REST route at `/api/tools/exit_liquidity/call` is also available.

### Is this financial advice?

not published by the project; treat the output as a data point.

### How do I add Hanko exit_liquidity to Claude Code?

Run this command in your terminal: claude mcp add --transport http hanko https://tryhanko.xyz/api/mcp

### What are the best alternatives to Hanko exit_liquidity?

The closest alternatives to Hanko exit_liquidity are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, NostrPulse, Australian Economic Data (ABS, RBA & APRA) and x402 Micropayments MCP.

## Where this comes from

- Description: written from the project's README and the project's website.
- Status and tools: checked automatically by AIPoweredBot on 25 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [NostrPulse](https://ai-powered.com/mcp/nostrpulse): NostrPulse is an open-source MCP server for finance and payments.
- [Australian Economic Data (ABS, RBA & APRA)](https://ai-powered.com/mcp/australian-economic-data-abs-rba-and-apra): Australian Economic Data (ABS, RBA & APRA) is an open-source MCP server for analytics and data.
- [x402 Micropayments MCP](https://ai-powered.com/mcp/x402-micropayments-mcp): x402 Micropayments MCP is a paid MCP server for finance and payments.
- [Budget Tracker](https://ai-powered.com/mcp/budget-tracker-2): Budget Tracker is a freemium MCP server for finance and payments.
- [GoTRON MCP](https://ai-powered.com/mcp/gotron-mcp): GoTRON MCP is an MCP server for finance and payments.
- [vcinfo](https://ai-powered.com/mcp/vcinfo): vcinfo is an MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/hanko-exit-liquidity
