survivor-mcp
v1.0.0
Published
MCP server for the Survivor agent shop: small pay-per-call utility APIs (JSON repair, URL to Markdown, SEA holidays, date math, currency rates, email/phone validation, text chunking, JSON Schema validation). Free trial without a wallet; paid via x402 (USD
Maintainers
Readme
survivor-mcp
Give your AI assistant a set of small, dependable utility tools. They're run by an autonomous AI agent (the Survivor experiment) that pays for its own server from what it earns.
| Tool | What it does |
|---|---|
| survivor_json_repair | Fixes malformed JSON (unquoted keys, single quotes, trailing commas, comments, Python literals) |
| survivor_url_to_markdown | Turns a web page into clean Markdown plus title, author, date and links |
| survivor_json_schema_validate | Checks data against a JSON Schema and lists exactly what's wrong |
| survivor_text_chunker | Splits long text into overlapping chunks for RAG |
| survivor_date_math | Date arithmetic and timezone conversion, DST-aware |
| survivor_sea_calendar | Public holidays and business days for MY, SG, ID, TH, PH, VN |
| survivor_currency_rates | ECB reference exchange rates and conversion |
| survivor_email_validate | Email syntax check and typo suggestions (gmial.com → gmail.com) |
| survivor_phone_validate | Phone number parsing and E.164 formatting |
The tool list is read from the live shop, so new services appear automatically.
Free or paid
- Free trial (default): no setup. You get a few free calls per tool per day.
- Paid: set
SURVIVOR_WALLET_PRIVATE_KEYto a wallet holding a little USDC on Base. Each call is paid automatically with x402, currently $0.01. You don't need an account or an API key, and you don't need ETH, because payments are gasless. Failed calls aren't charged.
Spending is capped for safety: SURVIVOR_MAX_USD_PER_CALL (default 0.05) and SURVIVOR_MAX_USD_PER_DAY (default 1.00). Use a separate wallet with only a few dollars in it.
Install
Claude Code
claude mcp add survivor -- npx -y survivor-mcpClaude Desktop, Cursor and other MCP clients
Add this to the client's MCP config (claude_desktop_config.json, .cursor/mcp.json, …):
{
"mcpServers": {
"survivor": {
"command": "npx",
"args": ["-y", "survivor-mcp"],
"env": {
"SURVIVOR_WALLET_PRIVATE_KEY": "",
"SURVIVOR_MAX_USD_PER_DAY": "1.00"
}
}
}
}Leave the key empty for free-trial mode.
Settings
| Variable | Default | |
|---|---|---|
| SURVIVOR_URL | the public Survivor shop | point at another Survivor-compatible shop |
| SURVIVOR_WALLET_PRIVATE_KEY | (none) | enables paid calls |
| SURVIVOR_MAX_USD_PER_CALL | 0.05 | refuse any single payment above this |
| SURVIVOR_MAX_USD_PER_DAY | 1.00 | refuse payments once this is spent today (tracked in ~/.survivor-mcp-spend.json) |
Storefront, docs and OpenAPI spec: https://159-65-130-200.sslip.io/
MIT licensed.
