Wicked MCP

io.github.choaticpixelsv1.0.0Updated Oct 2, 2026

Trading data, agent reputation, tool reliability, Know-Your-Agent identity. x402-native.

VerifiedStreamable HTTPWeb executableFinanceAI & MLKnowledge & Memory

Overview

AI-generated overview

Wraps WickedAPI trading data, agent reputation, tool reliability scores, Know-Your-Agent identity, sanity checks, and wallet-scoped agent memory into 30 MCP…

What it does
Exposes 30 tools across six Wicked services: trading data (price, momentum, funding/OI), on-chain agent reputation and staking lookups, a registry of reliability scores for x402/MCP tools, wallet-based Know-Your-Agent identity with nonce and challenge flows, hallucination/eval checks against supplied context or live web evidence, and persistent wallet-scoped agent memory with semantic search and versioned history. Every tool returns the upstream JSON body plus an http_status field; non-2xx responses are returned rather than raised, so payment instructions and 404s come back as data.
When to use it
Use it when an assistant needs trading data, agent or tool reputation signals, identity verification, claim-checking, or persistent memory tied to a wallet. It is also useful for inspecting x402 payment flows, since 402 responses carry payment instructions in the body.
Requirements
Runs as a remote streamable-HTTP endpoint at mcp.wickedapi.com/mcp, or locally via Python (pip install -r requirements.txt; python server.py) for stdio clients. Optional environment variables: WICKEDAPI_API_KEY, REGISTRY_API_KEY, IDENTITY_API_KEY, SANITY_API_KEY, MEMORY_API_KEY; base-URL overrides exist for staging. Memory and identity calls require a wallet signature produced by the caller. Network access to the Wicked services is required.
Before you install
Memory and identity tools need a fresh per-request wallet signature; the server never signs or holds a key, but you sign messages with your own wallet. memory_search is metered: without MEMORY_API_KEY it returns a 402 with x402 v2 payment instructions (0.001 USDC on Base). memory_delete is a permanent hard delete. registry_report_tool files a complaint and registry_register_tool submits a tool registration using a signature you supply. The public deployment shares one restricted…

Installation

In SourceWeft

  1. Open Wicked MCP in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "wicked-mcp": {
      "type": "http",
      "url": "https://mcp.wickedapi.com/mcp"
    }
  }
}

README

Wicked MCP server

An MCP server wrapping the public HTTP surface of WickedAPI (trading data), Wicked Reputation (on-chain agent staking/reputation), Wicked Registry (real reliability scores for x402/MCP tools), Wicked Identity (reverse-CAPTCHA / Know-Your-Agent verification), Wicked Sanity (hallucination / eval check), and Wicked Memory (persistent, wallet-scoped agent memory) — 30 tools, no new backend logic, just a protocol-native front door onto the same endpoints each service's own docs show calling with plain requests. Live at mcp.wickedapi.com; the reputation/staking, registry, identity, and sanity services and cookbooks live in separate (private) repos.

Tools

WickedAPI (works unauthenticated via x402, or with a free-tier key — see below)

  • wickedapi_price(symbol, asset_class?)
  • wickedapi_momentum(symbol, timeframe?)
  • wickedapi_funding_oi(symbol)

Wicked Reputation (all public, all free, no key needed)

  • reputation_status(wallet)
  • reputation_statement(wallet) — position + full event ledger
  • reputation_query(tier?, min_stake?, ..., sort?, limit?) — filter/sort agents
  • reputation_tiers()
  • reputation_transparency()

Wicked Registry (search/detail work unauthenticated via x402, or with a free-tier key — see below; featured/badge/report are always free)

  • registry_search_tools(category?, protocol?, min_score?, sort?, limit?)
  • registry_tool_detail(tool_id) — score breakdown + real check history
  • registry_featured_tools() — top scored tools, always free
  • registry_tool_badge(tool_id) — a tool's current score, always free
  • registry_report_tool(tool_id, reporter, reason, evidence?) — file a complaint, always free
  • registry_register_tool(name, endpoint_url, protocol, category, description, owner_wallet, signature, timestamp, schema_url?) — register a tool you own; you supply a real wallet signature, this tool doesn't sign anything itself

Wicked Identity (register/challenge/response require a real wallet signature over a server-issued nonce — these tools never sign anything themselves; status is public and works unauthenticated via x402 or with a free-tier key)

  • identity_get_nonce(wallet) — fetch a fresh one-time nonce before every signed call below
  • identity_register(wallet, nonce, signature) — lightweight identity record, no stake required
  • identity_get_challenge(wallet, nonce, signature) — issue a real, time-boxed (12s default) agent-liveness challenge
  • identity_submit_response(wallet, nonce, signature, challenge_id, response_text) — score it; pass issues a signed assertion token
  • identity_status(wallet) — does this wallet hold a valid, unexpired assertion? always free
  • identity_jwks() — public RS256 keys to verify an assertion_token locally, always free

Wicked Sanity (hallucination / eval check — works unauthenticated via x402, or with a free-tier key; every verdict is real model inference run at request time, never cached or guessed)

  • sanity_check(claim, context?, mode?) — verify one claim. mode: "grounded" (default; context required) checks it against source text you supply; mode: "open" checks it against live web evidence. Open mode is consistency with current web content, not objective truth, and returns insufficient_evidence when nothing relevant is found. Note confidence_score is the raw consistency score (a contradicted verdict scores near 0), not confidence-in-the-verdict
  • sanity_check_batch(claims, context?, mode?) — up to 50 claims against one shared context in a single call; use it for a multi-sentence output rather than one sanity_check per sentence

Wicked Memory (persistent, wallet-scoped agent memory: store, semantic search, versioned history, hard delete — only search is metered)

Every memory call needs a fresh per-request wallet signature. Like the Identity tools, this server never signs anything or holds a key: call memory_prepare with the operation and its arguments, sign the message_to_sign it returns (EIP-191 personal_sign) with your own wallet, then call the matching tool with the same arguments plus the returned timestamp, nonce and your signature. The nonce is single-use and the timestamp must be within 5 minutes, so prepare again for every call.

  • memory_prepare(operation, wallet, params?) — step 1 of every call; returns the message to sign
  • memory_store(wallet, content, …) — store a memory (free); a real embedding is computed at write time
  • memory_search(wallet, q, …) — semantic search over your memories only, ranked by real cosine similarity. The one metered call: free with MEMORY_API_KEY, otherwise a 402 with x402 v2 payment instructions under payment_required (0.001 USDC on Base); pay, then call again with the same arguments plus payment_signature (a 402 does not consume the nonce). Supports tags, time filters, as_of (memory as it stood at a past instant) and include_superseded
  • memory_get, memory_history, memory_deletions — read one memory, its full version chain, or your deletion audit log
  • memory_update(wallet, memory_id, …) — supersedes: creates a new version and closes the old one (valid_until / superseded_by); nothing is overwritten
  • memory_delete(wallet, memory_id, scope?, reason?) — permanent hard delete; scope: "chain" (default) removes every version, "version" just one. Only an audit row (no content) is kept

Every tool returns the upstream JSON body plus an http_status field. Non-2xx responses are returned, not raised — a 402 from WickedAPI carries real x402 payment instructions in the JSON body (older x402 v1); a 402 from Wicked Registry's search/detail tools, Wicked Identity's status tool, or Wicked Sanity's check tools carries them decoded from the PAYMENT-REQUIRED header into a payment_required key instead (newer x402 v2); a 404 from the reputation service just means the wallet has never registered. All of that is useful data for whatever's calling the tool, not failures to hide.

Run it locally (stdio — for Claude Desktop, mcp dev, etc.)

bash
pip install -r requirements.txtpython server.py

Add to Claude Desktop's config:

json
{  "mcpServers": {    "wicked": {      "command": "python",      "args": ["/absolute/path/to/mcp-server/server.py"],      "env": { "WICKEDAPI_API_KEY": "your-key-if-you-have-one" }    }  }}

No WICKEDAPI_API_KEY? WickedAPI tools still work — they fall back to x402, returning payment instructions instead of data, same as calling the API directly with no key.

Remote deployment (streamable HTTP)

http_app.py wraps the same server with mcp.streamable_http_app() and a per-IP rate limit (RATE_LIMIT_PER_MINUTE, default 30) — the one thing that changes when this runs as a public endpoint instead of something each user runs under their own control. Deployed via the Dockerfile in this directory; Railway sets $PORT.

bash
uvicorn http_app:app --host 0.0.0.0 --port 8080

Live at https://mcp.wickedapi.com/mcp — point any streamable-HTTP MCP client there directly. (https://wicked-mcp-production.up.railway.app/mcp also works — same deployment, Railway-generated domain.)

No API key is baked into the deployed server. It authenticates WickedAPI calls with whatever WICKEDAPI_API_KEY is set in its own environment (optional — omit it and every caller just gets the x402 fallback), so hosting cost doesn't scale with usage. If you want free-tier WickedAPI access through the remote endpoint, run it locally instead with your own key — see above.

Config

Env varDefaultNotes
WICKEDAPI_API_KEY(unset)Optional. Omit to fall back to x402 on every WickedAPI call.
REGISTRY_API_KEY(unset)Optional. Omit to fall back to x402 on every paid Wicked Registry call.
IDENTITY_API_KEY(unset)Optional. Omit to fall back to x402 on the paid identity_status call.
SANITY_API_KEY(unset)Optional. Omit to fall back to x402 on sanity_check / sanity_check_batch. Set on the public deployment to a dedicated restricted key, so public callers get real verdicts: Sanity enforces its limits (20 requests/minute and 30 open-mode checks/day, shared by all users; grounded mode is not counted against the daily cap) via its API_KEY_LIMITS setting, because every caller shares that one key and open mode spends a live web search per call. Over the limit, the tool returns http_status 429 with Retry-After.
MEMORY_API_KEY(unset)Optional. Omit to fall back to x402 on memory_search (the only metered Memory call). Memory keys are issued by the operator.
MEMORY_BASE_URLhttps://memory.wickedapi.comOverride for local/staging testing only (staging: https://memory-testnet.wickedapi.com, Base Sepolia).
WICKEDAPI_BASE_URLhttps://api.wickedapi.comOverride for local/staging testing only.
REPUTATION_BASE_URLhttps://stake.wickedapi.comOverride for local/staging testing only.
REGISTRY_BASE_URLhttps://registry.wickedapi.comOverride for local/staging testing only.
IDENTITY_BASE_URLhttps://verify.wickedapi.comOverride for local/staging testing only.
SANITY_BASE_URLhttps://sanity.wickedapi.comOverride for local/staging testing only (staging: https://wicked-sanity-staging.up.railway.app).
RATE_LIMIT_PER_MINUTE30HTTP deployment only (http_app.py), per real client IP (IPv6 grouped by /64).
TRUSTED_CLIENT_IP_HEADERx-real-ipHTTP deployment only. Header carrying the caller's real IP, set by the proxy in front (Railway sets X-Real-IP). Behind the proxy the TCP peer is always Railway's own address, so without this every caller would share one bucket. Only safe when the proxy sets the header itself; set empty to use the TCP peer instead (e.g. if run without a proxy). If the domain is ever proxied through Cloudflare, point it at cf-connecting-ip. Missing/invalid values fall back to the TCP peer.

Source: README.md at commit cc784f2

Tools

0
Tool metadata has not been indexed yet.

Version history

1
  1. v1.0.0LatestOct 2, 2026