Topaisaas MCP README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the Topaisaas MCP listing page.

@topaisaas/mcp-server (v1.0.7) โ€” Universal Native MCP Server Hub (TopAI Sovereign Gateway)

19 Production-Grade Deterministic MCP Tools + 400+ Sub-30ms Edge APIs for Claude Code, Cursor, Windsurf, Claude Desktop, and Antigravity. ๐ŸŒ Official Gateway: https://topaigateway.com ยท ๐Ÿงฎ Free 100 req/mo Key & Live FinOps Token Audit Calculator: https://topaigateway.com/audit ยท ๐Ÿ“š Interactive Docs: https://topaigateway.com/docs ยท โšก 0ms Cold Start ยท Zero Token Tax ยท 100% USD

npm version Glama MCP M8ven Trust smithery badge Cloudflare Workers License Uptime OpenAPI

Stop installing 19 fragile local MCP servers, managing heavy Docker containers, or burning LLM tokens on tasks deterministic code solves in <30ms.

@topaisaas/mcp-server ships 19 native pre-bundled MCP primitives (Web-to-Markdown, TokenSlimmer lossless compressor, Prompt Shield firewall, deterministic VAT/financial math, B2B firmographics, SEPA/healthcare validators, OpenAPI $ref flattener, and more) backed by 400+ deterministic edge APIs running on Cloudflare Workers across 330+ global PoPs.


โšก 1-Line Setup (npx -y @topaisaas/mcp-server)

1. Claude Code (CLI โ€” 1 Command)

Terminal
claude mcp add topai-hub -- npx -y @topaisaas/mcp-server

2. Cursor (.cursor/mcp.json)

config.json
{
  "mcpServers": {
    "topai-hub": {
      "command": "npx",
      "args": ["-y", "@topaisaas/mcp-server"]
    }
  }
}

3. Windsurf (~/.codeium/windsurf/mcp_config.json)

config.json
{
  "mcpServers": {
    "topai-hub": {
      "command": "npx",
      "args": ["-y", "@topaisaas/mcp-server"]
    }
  }
}

4. Claude Desktop (claude_desktop_config.json)

config.json
{
  "mcpServers": {
    "topai-hub": {
      "command": "npx",
      "args": ["-y", "@topaisaas/mcp-server"]
    }
  }
}

Remote Zero-Install SSE & Streamable HTTP Endpoints (Cloudflare Anycast)

  • Streamable HTTP / JSON-RPC 2.0: https://mcp-server-hub.topaisaas.workers.dev/mcp
  • SSE Endpoint: https://mcp-server-hub.topaisaas.workers.dev/sse

(Optional: pass TOPAI_API_KEY in env to unlock unlimited commercial throughput.)


๐Ÿงช 5-Second Live Edge Verification (curl โ€” Zero Signup Required)

Test our live deterministic edge endpoints directly from your terminal right now:

1. Clean Web-to-Markdown Extractor (/v1/extract)

Terminal
curl -s -X POST https://topaigateway.com/v1/extract \
  -H "Content-Type: application/json" \
  -d '{"url":"https://news.ycombinator.com","include_links":true}'

2. TokenSlimmer Prompt & JSON Compressor (/v1/compress)

Terminal
curl -s -X POST https://topaigateway.com/v1/compress \
  -H "Content-Type: application/json" \
  -d '{"prompt":"Please kindly analyze this payload carefully and summarize the key architecture details for our engineering team."}'

3. Deterministic Financial Math Checker (/v1/math/check)

Terminal
curl -s -X POST https://topaigateway.com/v1/math/check \
  -H "Content-Type: application/json" \
  -d '{"expression":"(1250 * 0.20) + 1250"}'

๐ŸŽฏ Free Interactive Sample Preview Hubs & FinOps Audit Calculator (Try Before You Buy)

Inspect real production templates, starter configs, and calculate your exact LLM token savings immediately in your browser โ€” no login required:


๐Ÿ’Ž Hero Quartet โ€” Deliverables Proof & Instant USD Checkout

100% USD Pricing ยท Full Deliverables Proof ยท Zero Recurring Lock-In on Lifetime Kits ยท Backed by our 14-Day No-Questions-Asked Money-Back Guarantee.

OfferPrice (USD)What You Unlock ImmediatelyDeliverables & Checkout
๐ŸŸข Pack 1: DevEx & FinOps (7-Day Free Trial)$0 today (then $14/mo)101 deterministic edge APIs ยท 10,000 req/mo ยท Instant API keyStart $0 7-Day Free Trial โ†’
โšก n8n & Make Super-Pack (Lifetime License)$19 one-timeProduction n8n & Make.com JSON workflows + edge connectors ยท Zero recurring feesGet n8n Super-Pack ($19) โ†’
๐Ÿ›ก๏ธ Runaway Token Breaker (Lifetime License)$29 one-timeHard AST circuit breaker, loop-burn firewall & lossless TokenSlimmer middlewareGet Token Breaker ($29) โ†’
๐Ÿš€ Cursor & Claude Code Harness Kit (Lifetime License)$49 one-timeFull 19-tool sovereign MCP harness, .cursorrules blueprint & production configsGet Harness Kit ($49) โ†’

High-Throughput Cumulative API Packs (Monthly USD)

  • Pack 1 โ€” DevEx & FinOps: $0 7-Day Free Trial, then $14/mo (101 APIs ยท 10,000 req/mo) โ€” Checkout
  • Pack 2 โ€” Squad Velocity: $29/mo (210 APIs ยท 50,000 req/mo) โ€” Checkout
  • Pack 3 โ€” High-Scale & Infra: $79/mo (280 APIs ยท 250,000 req/mo) โ€” Checkout
  • Pack 4 โ€” Sovereign Enterprise: $99/mo (400 APIs + DORA Compliance ยท 1,000,000 req/mo) โ€” Checkout

๐Ÿ“ฆ 19 Native Pre-Bundled MCP Tools

  1. topai_web_to_markdown: Extract ad-free, noise-free Markdown from any public URL.
  2. topai_b2b_data_leads: Instant verified B2B lead generation by industry, country, and job role.
  3. topai_company_enrichment: 70+ technographics, employee range, and B2B firmographics from domain.
  4. topai_ai_web_search: Real-time grounding search engine for LLMs with citations.
  5. topai_semantic_cache: Sub-5ms vector cache for LLM prompts to eliminate redundant generation bills.
  6. topai_invoice_extractor: Structured financial entity parser (vendor, IBAN, amounts, line items).
  7. topai_headless_screenshot: High-fidelity web screenshot renderer & DOM metadata.
  8. topai_prompt_shield: Sub-millisecond firewall against prompt injection, jailbreaks, and PII leaks.
  9. topai_token_slimmer: Lossless HTML & JSON compressor (preserves 64-bit integer IDs & nulls) to cut input token costs by 30-70%.
  10. topai_agentvision_crop: Multimodal ROI cropper to isolate UI buttons/tables and slash vision tokens by 75%.
  11. topai_math_fact_checker: Exact decimal VAT (HALF_UP/HALF_EVEN), invoice reconciliation, and business days to eliminate math hallucinations.
  12. topai_techstack_fingerprint: Sub-50ms BuiltWith alternative (Shopify, Stripe, HubSpot, Next.js).
  13. topai_polymarket_arbitrage: Prediction market odds, cross-platform delta vs bookmakers, and half-Kelly sizing.
  14. topai_mcp_hub_registry: MCP tool registry introspector & capability discovery.
  15. topai_pharmapatent_watcher: FDA Orange Book patent cliffs, exclusivity expirations & generic challenge tracker.
  16. topai_healthcare_validator: Instant 10-digit US NPI (ISO Luhn 80840), EU RPPS/ADELI credentials & medical license verification.
  17. topai_google_ai_overview: Extract Google AI Overviews, cited sources, and SERP organic snippets.
  18. topai_disposable_email_shield: Real-time burner email detection, DoH MX live check & B2B lead audit.
  19. topai_openapi_flattener: OpenAPI 3.0/3.1 recursive $ref dereferencer & schema sanitizer.

๐Ÿ› ๏ธ Direct MCP JSON-RPC 2.0 & REST Usage

MCP JSON-RPC 2.0 (POST /mcp)

Terminal
curl -s -X POST https://mcp-server-hub.topaisaas.workers.dev/mcp \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": "1",
    "method": "tools/call",
    "params": {
      "name": "topai_math_fact_checker",
      "arguments": {
        "operation": "vat_calculate",
        "amount": 250,
        "rate_percent": 20
      }
    }
  }'

List All Tools (GET /v1/mcp/tools)

Terminal
curl -s "https://mcp-server-hub.topaisaas.workers.dev/v1/mcp/tools"

๐Ÿ›ก๏ธ Edge Security, Zero Retention & Spec Compliance

  • 0ms Cold-Start: Powered by Cloudflare Workers V8 isolates across 330+ global locations.
  • 100% Stateless & Zero Payload Retention: No user prompts, source code, or arguments are logged or stored.
  • Native Protocol Compliance: Full Anthropic MCP (2024-11-05), OpenAPI 3.0.3, A2A Agent Card, and x402 Base USDC machine micropayments ($0.001/call).
  • 14-Day Money-Back Guarantee: Risk-free checkout on every kit and subscription pack.

๐Ÿ“ฌ Links & Registries