Sub-150ms Web-to-Markdown Engine · Cut LLM Context Costs by 95% · 50 Free Lookups

Sub-150ms Web-to-Markdown. Engineered for LLMs, RAG & AI Coding Agents.

Convert any public URL into clean, deterministic GitHub-Flavored Markdown in ~600 tokens. Strip 95% DOM bloat, resolve relative links, and preserve code syntax before burning expensive context windows in Claude, GPT-4o, or Cursor.

Claim 50 Free Lookups → Browse 1-Click Blueprints
Sample verified benchmarks:
Inference Cost & Bandwidth Comparison
Claude 3.7 Sonnet / GPT-4o Baseline
raw_dom_scrape.html
28,400 Tokens Burned
28,400 tokens $0.0852 / lookup 5.8s latency
clean_document.md
~620 Tokens Clean
620 tokens $0.0018 / lookup 124ms latency
# Loading clean markdown...
ARBITRAGE 97.8% smaller payload at 40x execution speed (~$0.083 saved per URL lookup).
Provision Free Key →
95% Minified
Zero DOM Bloat (~600 tokens)

Strips cookie consent popups, ads, navbars, and inline SVGs to prevent context window exhaustion.

Zero Hallucination
Absolute URL & Image Resolution

Converts relative paths (/docs/v1) to fully qualified URLs so agents never hallucinate dead citations.

GFM + KaTeX
Preserved Syntax & Math

Maintains code block language tags (```typescript) and KaTeX math formulas intact without escaping.

RAG Enriched
Rich JSON-LD & OpenGraph

Extracts author, publish date, estimated reading time, and token counts directly alongside the document.

How to Cut Your LLM Context Costs by 95%

Stop passing raw HTML DOM strings into GPT-4o, Claude 3.7 Sonnet, or Cursor. Use TokenMarkdown as Step 1 to strip garbage before spending context tokens.

❌ UNFILTERED RAW DOM 10,000 Webpages

Pass Raw HTML Directly to LLM

Feeding 500KB raw HTML pages into Claude or GPT-4o burns 28,000+ tokens per page on cookie banners, tracking scripts, and inline SVG clutter.

280,000,000 LLM Tokens: $840.00
Puppeteer Cloud Hosting: +$180.00
Total Monthly Cost: $1,020.00
⚡ TOKENMARKDOWN ENGINE SAVE $941

Step 1: Sub-150ms Edge Conversion

TokenMarkdown cleans and compresses pages to ~600 tokens of pure GFM markdown. You only pay for meaningful content tokens.

Step 1: TokenMarkdown Growth Plan: $79.00
Step 2: 6,000,000 Clean Tokens: $18.00
Total Monthly Cost: $97.00
📥 Ready to drop into your agent pipeline? Pre-built blueprints available for Claude Desktop, Cursor, n8n, and Clay.
Download Free Blueprints →

One API call. Pure clean Markdown.

Drop into Claude Desktop MCP configs, Cursor IDE coding agents, Python RAG pipelines, or terminal cURL loops in under 60 seconds.

REST API (cURL / HTTP)
Deterministic sub-150ms JSON endpoint
cURL
Prefix Proxy (0-SDK Instant)
Prepend tokenmarkdown.com to any URL
0-SDK
Model Context Protocol (MCP)
1-click Claude Desktop & Cursor tool
MCP
Python & CrewAI SDK
Async client & @tool agent decorator
Python
TypeScript & Node.js
Type-safe schema & autocompletion
TypeScript
extract_request.sh
# 1. Execute sub-150ms Markdown Extraction
curl -X POST "https://tokenmarkdown.com/v1/extract" \
     -H "Authorization: Bearer tm_live_YOUR_API_KEY" \
     -H "Content-Type: application/json" \
     -d '{"url": "https://linear.app/blog/rethinking-issue-tracking"}'

# 2. Dense ~620-token GFM Response (124ms latency)
{
  "success": true,
  "data": {
    "title": "Rethinking Issue Tracking",
    "author": "Karri Saarinen",
    "word_count": 842,
    "estimated_tokens": 620,
    "markdown": "# Rethinking Issue Tracking\n\nSoftware teams spend 40%..."
  },
  "performance": { "total_latency_ms": 124 }
}

Engineered for your existing agent stack.

Drop-in tools for Claude Desktop, Cursor, CrewAI, LangChain, and Clay waterfalls. Zero custom scraping boilerplate required.

JSON-RPC / stdio

Claude Desktop & Cursor

Instant Model Context Protocol (MCP) tool execution. Give your AI coding and chat agents real-time web vision in 1 click.

MCP Configuration Guide →
Async Python SDK

CrewAI, LangChain & Python

Type-safe Python tools with @tool decorators. Ingest external docs inside multi-agent research loops without context bloat.

Python SDK Recipes →
1-Click Waterfall

Clay.com & n8n Orchestration

Replace slow Puppeteer browser columns with a single sub-150ms HTTP action. Ingest thousands of web pages per minute.

Browse All 1-Click Blueprints →

See your exact monthly prompt token savings

Calculate how much you save on LLM context bills compared to raw HTML DOM scraping.

Baseline Agent Model:
Raw HTML Scraping + Claude Sonnet
$504 / mo
168,000,000 tokens burned
Enterprise Scraper Contract
$399 / mo
Heavy Chromium server fees
Growth Plan
TokenMarkdown API
$79 / mo
Only 3,900,000 tokens (97.7% saved)
Net Cash Saved
+$425 / mo
vs. Raw LLM Scraping: +$425 / mo
vs. Heavy Enterprise Scraper: +$320 / mo
Claim Savings →

Predictable monthly billing. Cancel anytime. Zero annual lock-in.

1 credit = 1 webpage extracted to clean GFM markdown. Failed lookups or blocked domains never consume credits. Self-serve key generation via Polar.sh.

Sandbox
$0
/ lifetime
50 Free Webpage Extractions
  • Standard Single /v1/extract
  • Model Context Protocol (MCP) Active
  • GFM Tables & Code Blocks
  • Instant API Key (No card required)
Get Sandbox Key
Builder
$29
/ month
2,500 Extractions · ~$0.011 / page
  • Everything in Sandbox
  • Prefix Proxy Route (/https://...)
  • Python & TypeScript SDK Access
  • Standard Email Support
Start Builder ($29/mo)
Scale / Agency
$199
/ month
40,000 Extractions · ~$0.0049 / page
  • Everything in Growth
  • Fast Parallel Batch API (/v1/extract/batch)
  • 1-Click Clay.com & n8n Templates
  • Dedicated Slack / Discord Channel
Start Agency ($199/mo)

Frequently Asked Questions

Everything you need to know about token compression, SSRF security defense, and native Model Context Protocol (MCP) execution.

Token Arbitrage

Why is ~600 tokens superior to raw web scraping?

A typical webpage contains 28,000+ tokens of navigational DOM, tracking scripts, CSS classes, and cookie banners. Feeding raw DOM into LLMs burns $0.08+ per page and slows inference to 5+ seconds. TokenMarkdown strips all DOM garbage into pure, deterministic GFM in ~600 tokens.

Agent Tool Calling

How do I integrate with Model Context Protocol (MCP)?

TokenMarkdown provides a standalone MCP server via npx -y tokenmarkdown-mcp. Simply add your API key into Claude Desktop or Cursor's MCP configuration to enable autonomous web reading in 1 click.

Prefix Proxy

Can I fetch markdown without an SDK using the prefix proxy?

Yes. Prepend https://tokenmarkdown.com/ before any URL (e.g. https://tokenmarkdown.com/https://github.com/trending) to stream clean markdown directly to your terminal or script with zero SDK setup.

Security & Guardrails

How does TokenMarkdown prevent SSRF attacks?

Our edge fetcher performs DNS resolution filtering and blocks loopback, private RFC 1918 subnets (10.0.0.0/8, 192.168.0.0/16), and cloud metadata endpoints (169.254.169.254) on every single redirect hop.

Table & Code Quality

How does TokenMarkdown handle complex tables and math?

We use customized Turndown rules with pipe character cell escaping and KaTeX math preservation to ensure markdown tables and mathematical formulas are rendered cleanly without formatting corruption.

SPA & Client-Side JS

How does TokenMarkdown handle dynamic JavaScript SPAs?

We detect client-side rendered Single Page Applications and flag them with is_spa: true and custom warnings, ensuring AI agents understand if content was dynamically gated rather than failing silently.

High-Velocity Outbound

Can I run bulk lookups on large URL lists in parallel?

Yes. The /v1/extract/batch endpoint accepts up to 10 URLs per request, extracting clean markdown and token counts concurrently in under 1 second for fast Clay.com and n8n waterfall enrichment.

Billing & Quotas

What happens if I exceed my monthly extraction quota?

The API returns a standard HTTP 429 response when your allocation is reached. You can upgrade your plan or provision custom limits anytime from your self-serve console with instant prorated Stripe/Polar billing.