cd /news/ai-tools/shipping-16-ai-mcp-tools-at-0-mo-on-… · home › topics › ai-tools › article
[ARTICLE · art-182988] src=dev.to ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

Shipping 16 AI/MCP Tools at $0/mo on Cloudflare Workers + Apify: Dual-Channel Architecture & 6 Real Bugs

A developer shipped 12 deterministic data and utility tools across six categories—quant/trading math, document/RAG utilities, U.S. federal regulatory feeds, RSS/Atom aggregation, technical SEO/llms.txt auditing, and corporate DNS/RDAP auditing—on a dual-channel architecture of Cloudflare Workers Free Tier and Apify Store Actors at $0.00/month recurring cost. The writeup documents six production bugs found after launch, including Bybit CloudFront geo-blocking of edge requests (HTTP 403) and a 114x mark-price mismatch between two different assets sharing the ticker PURR, fixed with per-venue graceful degradation and a 0.80–1.25 mark-price ratio sanity guard.

recommendation

Wrap each external venue fetch in isolation and record degraded venues with their HTTP status, then gate cross-venue matches on a 0.80–1.25 mark-price ratio before emitting arbitrage signals.

more in playbook: Running AI in production
by read5 min views8 publishedDec 6, 2026

Over the last sprint, we built and shipped a portfolio of 12 deterministic data and utility tools spanning 6 completely different categories—Quant/Trading math & feeds, Document/RAG utilities, U.S. Federal Regulatory feeds (SEC Form D, OpenFDA, Federal Register), RSS/Atom aggregation, Technical SEO/llms.txt auditing, and Corporate Domain DNS/RDAP deliverability auditing—while keeping recurring cloud infrastructure cost at exactly $0.00/month.

Rather than keeping our mistakes behind closed doors, this post lays out the exact Dual-Channel architecture (Cloudflare Workers Free Tier + Apify Store Actors) and 6 real production traps we discovered only after pushing live traffic.

/llms.txt + all 10 zero-auth MCP URLs) Early on, we noticed a sharp trade-off between two distribution channels:

claude mcp add --transport http ..., 1ms cold start, zero login, zero card), but have no built-in marketplace search, dataset storage, scheduling UI, or usage billing.mcp.apify.com integration, Schedules, Webhooks, and CSV/JSON/Parquet Datasets—but has a cold-start discovery problem ("Publishing your Actor is not enough to bring users") and requires an account token to test. So we paired both channels from a single shared zero-dependency Web-Standards JS engine (fetch, URL, crypto.subtle):

Shared Zero-Dependency ESM Engine (Web Standards)
   ├── Channel 1: Cloudflare Workers Free Tier ($0.00/mo)
   │     ├── 7 Zero-Auth Streamable HTTP MCP Servers (protocol 2025-03-26)
   │     ├── Edge Cron -> Workers KV Snapshots (128 / 1,000 daily writes = 12.8%)
   │     └── Unified Product Hub + /llms.txt + /sitemap.xml + /connectors
   │
   └── Channel 2: Apify Store Actors (256 MB Cap, LIMITED_PERMISSIONS)
         ├── 11 Actors (Pay-Per-Event: $0.001 - $0.005 / record, FREE/BRONZE/SILVER/GOLD)
         ├── Standby MCP + Scheduled Datasets + Webhooks + n8n templates
         └── Thin Python/Node wrappers streaming prebuilt Edge KV JSONL snapshots

$0 egress. Currently using challenge-snapshots (hourly Crypto Perp + hourly Polymarket + 6h SEC Form 4): 104 writes/daysec-form-d-snapshots (35 */6 * * *): 8 writes/dayopenfda-recall-snapshots (40 */6 * * *, 75 latest Drug/Food/Device recalls): federal-register-snapshots (45 */6 * * *, 60 latest rules/notices): When our hourly crypto-perp-funding-arb Cron ran inside Cloudflare's edge network, Bybit's CloudFront distribution returned:

HTTP 403: The Amazon CloudFront distribution is configured to block access from your country (in 15ms), and shared edge IPs occasionally triggered HTTP 429 on OKX.

Fix — Graceful Venue Degradation: Never fail a multi-venue snapshot job because one venue blocks an edge PoP. Our snapshot producer isolates each venue's fetch, records explicit live_venues: ["hyperliquid", "okx"] and degraded_venues: ["bybit"] with per-venue http_status and error fields in summary.json, and continues publishing cross-venue spreads (in our 2026-12-06 empirical probe: Hyperliquid 179 contracts + OKX 544 contracts yielded 145 cross-venue matched symbols with zero downtime).

PURR 114x Price Mismatch) Naive cross-exchange perpetual arbitrage code joins contracts by canonical symbol string (BTC, ETH, SOL). On live data, we caught two completely different underlying assets sharing the ticker PURR, with a 114x mark-price discrepancy between venues. Without a guard, that produces absurd bogus basis and carry signals.

Fix — Mark-Price Ratio Sanity Guard: Every cross-venue match now enforces 0.80 <= venueA_mark / venueB_mark <= 1.25. Out-of-range pairs are rejected and counted transparently in price_mismatch_rejections_count (1 rejection logged on our live snapshot).

negRiskAugmented: true Fake Underrounds (and Kalshi ToS Sec 3.1) When scanning multi-outcome NegRisk prediction markets for sum-of-probabilities < 1.0 (underrounds), we found that Polymarket events flagged negRiskAugmented: true include an inactive placeholder "Other" bucket. Summing the visible active outcomes makes price_sum < 1.0 even though no riskless arbitrage exists.

Fix: We compute an explicit is_complete_outcome_set boolean on every multi-outcome basket and expose exclude_augmented: true as a first-class filter (empirical snapshot: 40 active events → 1,401 records, 14 multi-outcome baskets, 6 underrounds, 963 two-sided books). We also explicitly exclude Kalshi (kalshi_excluded: true) after reviewing Kalshi Developer Agreement Sec 3.1, which prohibits caching, aggregation, redistribution, and AI training.

finally { await Actor.exit(); } Silent Data Loss This was the nastiest debugging lesson of the sprint. On rss-atom-ai-digest-reader, our initial dataset_schema.json declared "podcast_duration": { "type": "string" }. When a regular blog RSS item had podcast_duration: null, Apify's Dataset API threw HTTP 400 schema-validation-error.

Because our Actor used:

try {
  // ... Actor.pushData(items) throws 400
} finally {
  await Actor.exit(); // <-- SWALLOWED THE EXCEPTION!
}

Apify reported the run as SUCCEEDED (exitCode 0) with an empty [] dataset!

Fix:

dataset_schema.json as JSON Schema union types (["string", "null"], ["integer", "null"]). try { ... await Actor.exit(); } catch (err) { await Actor.fail(err.message); }. 0 alone—always run apify-cli call --output-dataset and assert non-empty records after every push.4096 MB Default Memory Cap & Pre-PPE Actor.charge() Truncation Two Apify-specific traps we caught via direct GET /v2/acts/{slug} audits:

actor.json specifies minMemoryMbytes: 128 and maxMemoryMbytes: 512, Apify's API still defaults defaultRunOptions.memoryMbytes to 4096 MBactorStandby.memoryMbytes to 1024 MBprofit = 0.8 * revenue - platform costs), running a lightweight JSON filter Actor at 4 GB burns defaultRunOptions and actorStandby to 256 MB`` apify-actor-start: $0.00005 fixed the unit economics cleanly.charged_count=0, event_charge_limit_reached=False. If you slice your output array by charged_count, you return zero items! Checking Actor.get_charging_manager().get_pricing_info().is_pay_per_event first prevents accidental truncation.#1468 When rolling out Wave 3 (6 new Actors in one day), pushing the 6th public listing returned HTTP 400 daily-publication-limit-exceeded (5 public Actors / 24h cap). Because every utility already shipped Dual-Channel, 5 of those 6 Wave 3 tools went live immediately on Day 0 as zero-auth Cloudflare Workers MCP servers, while the Apify builds stay pre-verified (256 MB, LIMITED_PERMISSIONS) in queue for the 24h window reset.

Similarly, when preparing Official MCP Registry manifests (description <= 100 chars), we confirmed a documented upstream bug (modelcontextprotocol/registry#1468): interactive mcp-publisher login github cannot publish to GitHub Organization namespaces—only personal namespaces (io.github.<user>/*) work via device flow unless you use a read:org PAT or GitHub Actions OIDC.

No API key, no npm install, no Docker:

claude mcp add --transport http doc-to-llm https://doc-to-llm-markdown-mcp.ryu-7f5.workers.dev/mcp
claude mcp add --transport http dataset-etl https://dataset-etl-dedupe-normalizer.ryu-7f5.workers.dev/mcp
claude mcp add --transport http rss-digest https://rss-atom-ai-digest-reader.ryu-7f5.workers.dev/mcp
claude mcp add --transport http seo-llms-auditor https://website-seo-llms-sitemap-auditor.ryu-7f5.workers.dev/mcp
claude mcp add --transport http tech-sec-auditor https://tech-stack-security-headers-auditor.ryu-7f5.workers.dev/mcp
claude mcp add --transport http domain-dns https://domain-dns-rdap-deliverability-auditor.ryu-7f5.workers.dev/mcp
claude mcp add --transport http openfda-recalls https://openfda-recall-snapshots.ryu-7f5.workers.dev/mcp
claude mcp add --transport http federal-register https://federal-register-snapshots.ryu-7f5.workers.dev/mcp
claude mcp add --transport http quant-risk-calc https://quant-arb-risk-calc-mcp.ryu-7f5.workers.dev/mcp
claude mcp add --transport http academic-papers https://academic-research-papers-mcp.ryu-7f5.workers.dev/mcp

Full catalog, curl/Python/Node examples, and 4 BYOK n8n workflow templates: https://github.com/quantforge-data/quantforge-mcp-hub (and Web Hub: https://quantforge-hub.ryu-7f5.workers.dev). If you've hit other Cloudflare Workers or Apify Standby MCP edge cases in production, I'd love to compare notes in the comments.

── more in #ai-tools 4 stories · sorted by recency
── more on @cloudflare workers 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/shipping-16-ai-mcp-t…] indexed:0 read:5min 2026-12-06 · —