Skip to content
SwapHunt crypto market context logo
MCP server
RegistryRemote

SwapHunt crypto market context MCP Server

Hyperliquid prices, regime, vol, funding, FOMO checks (x402, USDC); free Kalshi/Polymarket fees

SwapHunt crypto market context scores 63 (Good), licensed MIT and written in Python. It can be reached as a remote MCP endpoint. It declares 32 tools. Filed under Finance. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by swaphuntMITPython0 stars
Trust score
63Good
Trust score 63 of 100, Good

Good trust

63 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 63 comes from

22 + 20 + 0 + 10 + 4 + 7 = 63. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "swaphunt-mcp-server": {      "command": "uvx",      "args": [        "swaphunt-mcp"      ],      "env": {        "X402_PAY": "",        "PRIVATE_KEY_FILE": "",        "PRIVATE_KEY": "YOUR_PRIVATE_KEY",        "MAX_SPEND_USD": "0.10",        "PAYTO_ALLOWLIST": ""      }    }  }}

Environment variables

NameRequiredNotes
X402_PAYOptionalSet to 1 to pay for calls. Without it every tool is a dry run that only reports the price.
PRIVATE_KEY_FILEOptionalOptional, only needed to pay (with X402_PAY=1): path to a file with the private key of a dedicated wallet holding a few dollars of USDC on Base
PRIVATE_KEYSecretOptionalOptional, only needed to pay (with X402_PAY=1): private key of a dedicated wallet (alternative to PRIVATE_KEY_FILE)
MAX_SPEND_USDOptionalSpending cap per session in USD
PAYTO_ALLOWLISTOptionalComma-separated addresses the server may pay; any other payTo is refused before signing

Tools32Tool docs quality grade F

All capabilities

About

SwapHunt x402 examples

swaphunt/x402-examples MCP server

SwapHunt's x402 API sells crypto market context per call (prices, market regime, volatility, funding, coin strength vs BTC and anti-FOMO sanity checks computed from Hyperliquid perpetuals, alt season, the Crypto Fear & Greed Index, the halving countdown, trading session and weekend liquidity), paid in USDC on Base, Polygon, Arbitrum or Solana with the x402 protocol. No account, no API key: the payment is the credential.

The examples pay on Base. Every endpoint has the same price on all four networks; see docs/endpoints.md for the network list.

These examples get you from zero to a paid call in a few minutes, and show how to build on it.

Examples

ExampleLanguageWhat it doesCost per run
quickstartPython, TypeScriptOne paid call to /v1/market/fear-greed$0.005
daily-briefPythonFear & Greed with its 1, 7 and 30-day changes, halving countdown, trading session and weekend liquidity, summarized by an LLM and delivered to stdout, Telegram, Discord or email$0.013 + LLM tokens
mcp-serverPython (uvx swaphunt-mcp)30 SwapHunt tools (Hyperliquid prices, regime, volatility, funding, coin strength, dip/breakout/FOMO checks; Fear & Greed) for Claude and other AI agents, paid per call with a session cap$0.001-0.015 per tool call
alert-botPythonChecks one price on an interval and messages you on Telegram when it crosses a threshold$0.005 per check

The API has 30 paid endpoints, from $0.001 to $0.015 per call; the live list with parameters is in the OpenAPI docs. Prices, parameters and example responses for the core endpoints: docs/endpoints.md.

Fear & Greed data comes from Alternative.me, which asks for attribution next to its data. The responses include an attribution field with the text to show.

Quickstart

You need a wallet with a few dollars of USDC on Base mainnet (see Security).

git clone https://github.com/swaphunt/x402-examples.git
cd x402-examples/quickstart/python
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt

.venv/bin/python quickstart.py          # dry run: shows the price, pays nothing

cp ../../.env.example ../../.env        # put your PRIVATE_KEY in ../../.env
set -a; . ../../.env; set +a
.venv/bin/python quickstart.py --pay    # pays $0.005

Output of the paid call:

Price: $0.005 USDC on eip155:8453, payTo 0x<swaphunt-address>
200 {'value': 30, 'label': 'Fear', 'timestamp': '2026-10-31T00:00:00', 'source': 'alternative.me', ...}
This run cost $0.005 (tx https://basescan.org/tx/0x<transaction-hash>)

The TypeScript version and a 10-line minimal snippet are in quickstart/.

How x402 works

  1. You call an endpoint without paying and get 402 Payment Required, with the price, network and receiving address in the PAYMENT-REQUIRED header.
  2. Your x402 client signs a USDC transfer for exactly that amount.
  3. You retry with the signed payment. A facilitator settles it on Base, and you get 200 with the data and the transaction hash.

The official x402 client libraries (Python, TypeScript) do steps 2 and 3 for you.

Security

  • Use a dedicated wallet with a few dollars of USDC on Base mainnet. Never your main wallet. The facilitator pays the gas, so the wallet only needs USDC.
  • Dry run by default. Every example shows what it would pay and stops. It only pays with --pay or X402_PAY=1.
  • Spending cap. Every example refuses to spend more than MAX_SPEND_USD per run (default $0.10) and prints what the run cost.
  • Payee allowlist (MCP server). With PAYTO_ALLOWLIST set, the MCP server pays only the addresses you list and refuses any other payTo before signing. See mcp-server.
  • Never commit keys. Put PRIVATE_KEY and API keys in .env (ignored by git), using .env.example as the template.

Links

License

MIT

Nothing here is investment advice.

Frequently asked questions

What is SwapHunt crypto market context MCP Server?

Hyperliquid prices, regime, vol, funding, FOMO checks (x402, USDC); free Kalshi/Polymarket fees

How do I install SwapHunt crypto market context MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. SwapHunt crypto market context MCP Server runs locally from the PyPI package swaphunt-mcp with the command uvx swaphunt-mcp.

Is SwapHunt crypto market context MCP Server free and open source?

Yes. SwapHunt crypto market context MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does SwapHunt crypto market context MCP Server support remote (HTTP) connections?

Yes. SwapHunt crypto market context MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

What tools does SwapHunt crypto market context MCP Server provide?

SwapHunt crypto market context MCP Server provides 32 tools, including get_alt_season, get_chop_detection, get_coin_strength, and get_compression_alert. See the full tool list for descriptions and parameters.

How is SwapHunt crypto market context MCP Server's trust score calculated?

SwapHunt crypto market context MCP Server scores 63 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server