FMF Tools Shoe Count
Тренажёр по подсчёту карт: истинный счёт, оставшиеся колоды, схема ставок и оверлей. API-ключ не требуется.
Размещённый MCP-сервер
npx add-mcp 'https://shoe-count.fmf-x402.workers.dev/mcp'Устанавливается в Claude Code, Codex, Cursor и другие
Документация
Pay-per-call Hi-Lo, KO, Omega II, Hi-Opt I, Zen and Wong Halves shoe counts, with true count, decks remaining, Illustrious 18 deviations, a training advantage estimate, and a compact HUD / TTS readout for glasses and video review. The API takes already-detected cards — not raw camera video. Intended use: training, home practice, streaming and video review only. Using a counting device at a live casino table may be illegal (for example in Nevada) and is typically against casino rules. Do not use this API for live casino play.
Try it free first, no wallet: add ?sample=1 or ?test=1 (whichever the route documents) for a labelled sample. Your first real call on a read/check route is free: one per network (IPv4 address or IPv6 /64), for life; ask for it with header X-FMF-Trial: 1 or ?fmf_trial=1. A call that fails does not use it up.
Paid calls take USDC on Base via x402 where the route offers it (about $0.001–$0.01). A funding guide is at tools.fmf-x402.workers.dev/funds. Some routes also accept MPP. Invalid input or an upstream failure returns 402 and is not charged.
Routes
| Route | Price | What you get |
|---|---|---|
POST /v1/count | $0.001 | Shoe count and training overlay Takes already-detected cards (not raw video), keeps the chosen count, and returns true count, decks left, a training bet, Illustrious 18 deviations, an advantage estimate, plus a compact HUD and TTS line for glasses. For training, home practice, streaming and video review only. Live casino use may be illegal or against casino rules. |
POST /v1/events | $0.001 | Wearable / RTMP detection webhook Same as /v1/count, for a frame id or timestamp plus detections from a glasses SDK, phone camera, or RTMP capture. Deduplicates frame.id and track_id. Takes already-detected cards (not raw video), keeps the chosen count, and returns true count, decks left, a training bet, Illustrious 18 deviations, an advantage estimate, plus a compact HUD and TTS line for glasses. For training, home practice, streaming and video review only. Live casino use may be illegal or against casino rules. |
POST /v1/webhook | $0.001 | Webhook alias Alias of /v1/events. Takes already-detected cards (not raw video), keeps the chosen count, and returns true count, decks left, a training bet, Illustrious 18 deviations, an advantage estimate, plus a compact HUD and TTS line for glasses. For training, home practice, streaming and video review only. Live casino use may be illegal or against casino rules. |
Copy-paste examples
These call POST /v1/count ($0.001) — Shoe count and training overlay. Swap the path for any other route in the table.
mppx CLI
npx mppx https://shoe-count.fmf-x402.workers.dev/v1/count -X POST -H 'content-type: application/json' -d '{"decks":8,"system":"hi-lo","cards":["5h","5s","6d","Ah"],"output":"full"}'
mppx can pay the 402 (Base x402, or MPP where the route offers it). See mpp.dev/sdk. Prefer a free sample first: add ?test=1 or ?sample=1.
curl (unpaid — shows the 402, not charged)
curl -i -X POST https://shoe-count.fmf-x402.workers.dev/v1/count -H 'content-type: application/json' -d '{"decks":8,"system":"hi-lo","cards":["5h","5s","6d","Ah"],"output":"full"}'
TypeScript SDK (mppx)
import { Mppx, tempo } from 'mppx/client'
import { privateKeyToAccount } from 'viem/accounts'
Mppx.create({
methods: [tempo({ account: privateKeyToAccount(process.env.TEMPO_PRIVATE_KEY) })],
})
// Global fetch now pays the 402 automatically.
const res = await fetch('https://shoe-count.fmf-x402.workers.dev/v1/count', {
method: 'POST', headers: {
'content-type': 'application/json',
},
body: JSON.stringify({"decks":8,"system":"hi-lo","cards":["5h","5s","6d","Ah"],"output":"full"}),
})
console.log(await res.json())
Python SDK (pympp)
# pip install pympp
# Docs: https://mpp.dev/sdk/python
import asyncio
from mpp.client import Mpp
from mpp.methods.tempo import TempoAccount
from mpp.methods.tempo import client as tempo
account = TempoAccount.from_key("0x...")
async def main():
async with Mpp(methods=[tempo.charge(account=account)]) as mpp:
response = await mpp.fetch("https://shoe-count.fmf-x402.workers.dev/v1/count", method="POST", json={"decks":8,"system":"hi-lo","cards":["5h","5s","6d","Ah"],"output":"full"})
print(await response.json())
asyncio.run(main())
MCP config (Cursor, Claude Desktop, VS Code)
{
"mcpServers": {
"fmf-mpp-shoe-count": {
"url": "https://shoe-count.fmf-x402.workers.dev/mcp"
}
}
}
Transport is Streamable HTTP at https://shoe-count.fmf-x402.workers.dev/mcp. tools/list is free. Paid tools/call needs an MPP Payment header, or just use mppx against the HTTP route.
Sources and licences
Wearable integration (Meta Wearables Device Access Toolkit, Snap Spectacles, Vuzix, Xreal, phone camera, RTMP): the camera stream stays in the caller's app. Run your own vision model, then POST detections here. DAT docs: https://wearables.developer.meta.com/docs/develop/dat/streaming/ — start a DeviceSession, addCamera, stream frames at 7 or 15 FPS, assign frame.id or ts_ms, and post committed cards to /v1/events?output=wearable. Count systems: Hi-Lo (2-6 +1, 7-9 0, ten/face/ace -1); KO (2-7 +1, 8-9 0, ten/face/ace -1, IRC 4×(1−decks), true count is the KO-preferred equivalent); Omega II; Hi-Opt I (ace-neutral, ace side count reported); Zen; Wong Halves. True count = running count ÷ decks remaining (balanced systems). Default training bet is 1 unit at a true count of 1 or below, otherwise round(true count) units. Advantage estimate is about 0.5% per true-count unit minus a 0.5% off-the-top house edge (training rule of thumb, not a result guarantee). Illustrious 18 indexes are Schlesinger's Hi-Lo multi-deck set, using the floored Hi-Lo true count. For training, home practice, streaming and video review only. Using a device to count cards at a live casino table may be illegal (for example in Nevada) and is typically against casino rules. Do not use this API for live casino play. Brand: FMF Tools. OpenAPI: see /openapi.json.
Sister services
- Doc Tools — Pay-per-call PDF, Office, OCR, speech-to-text, voice memo and meeting notes · llms.txt · OpenAPI
- Web & Data — Pay-per-call scrape, extract, SEC filings, weather and FX · llms.txt · OpenAPI
- Utility Tools — Tempo chain, attestation, QR, DNS, email, IP, geo, timezone, tech detect, math · llms.txt · OpenAPI
- AI Tools — Pay-per-call chat, translation, embeddings and rerank, no API key · llms.txt · OpenAPI
- Browser — Pay-per-call headless Chrome screenshots, JS render and page-to-PDF · llms.txt · OpenAPI
- Research — Papers, FDA drug labels, recalls, clinical trials and LEI · llms.txt · OpenAPI
- EVM Decoder — Pay-per-call calldata and event-log decoder, selectors, verified ABIs, no RPC · llms.txt · OpenAPI
- Deepgram-compatible STT — Drop-in /deepgram/transcribe and /v1/listen speech-to-text at $0.008, no API key · llms.txt · OpenAPI
- Compat APIs — OpenWeather-, Mapbox- and EDGAR-compatible routes at a third of the price (MPP + x402) · llms.txt · OpenAPI
- Domain & Web Checks — RDAP WHOIS, domain age and availability, HTTP status, security headers, SPF/DMARC (MPP + x402) · llms.txt · OpenAPI
- Dev & Data Utils — IBAN, GTIN, ISIN, crypto address, JWT, hash, cron, RRULE, semver, CSV at $0.001 (MPP + x402) · llms.txt · OpenAPI
- MTG Sim — Magic: The Gathering deck check, draw odds, land count and goldfish simulator · llms.txt · OpenAPI
- Control-plane — Who controls this contract? MPP + x402 snapshots and Tempo token data · llms.txt · OpenAPI
- Pokémon TCG Sim — Pokémon TCG simulator: goldfish, prize and draw sims, free Standard/Expanded deck check · llms.txt · OpenAPI
- Yu-Gi-Oh Sim — Yu-Gi-Oh! simulator: goldfish, combo and hand-trap odds, free TCG/OCG/GOAT banlist deck check · llms.txt · OpenAPI
- Crypto Tax Calculator — Crypto capital gains, cost basis (FIFO/HIFO/ACB), Form 8949 boxes G-L, Canada Schedule 3, tax-loss harvesting · llms.txt · OpenAPI
- Business Docs & Data — Invoice/receipt PDFs with pay-in-crypto QR, payment URIs, phone validation, barcodes · llms.txt · OpenAPI
- Lorcana Sim — Disney Lorcana simulator: goldfish, ink and draw sims, free Core/Infinity deck check · llms.txt · OpenAPI
- One Piece Sim — One Piece Card Game simulator: goldfish, DON!! curve, Life and draw odds, free deck check · llms.txt · OpenAPI
- Hearthstone Sim — Hearthstone simulator: mulligan odds, curve goldfish, draw odds, free deck check · llms.txt · OpenAPI
- Chess Sim — Chess tools: forced-mate finder, best move, legal moves, free opening names and position check · llms.txt · OpenAPI
- Dota 2 Sim — Dota 2 simulator: right-click duel sim, build stats, EHP and DPS calculator · llms.txt · OpenAPI
- CS2 Sim — CS2 economy simulator: loss bonus, buy or eco, half simulation · llms.txt · OpenAPI