Documents your coding agent can actually read.
mdfi turns PDFs, Office files and scans into clean markdown your agent reads page by page. Every page is scored, weak pages get a second read, and a table mdfi is unsure of is labelled as uncertain instead of passed off as clean. Your agent reads fewer tokens, you spend less on your model, and you pay mdfi a small part of what you save.
$uvx mdfi-connect
## HOUSEHOLD DATA Summary table A. Household data, seasonally adjusted[Numbers in thousands][table p4-t1 — 41 rows × 6 cols]Category Sept. 2025 July 2026 Aug. 2026 Sept. 2026 Change from: Aug. 2026- Sept. 2026Employment status Civilian noninstitutional population 1 274,226 275,282 275,415 275,554 139Civilian labor force 171,261 169,094 169,777 170,262 485Participation rate 62.5 61.4 61.6 61.8 0.2
p4 · score 100 · ready
Real output: page 4 of the US Bureau of Labor Statistics jobs report, read by mdfi.
Outline first, then only the pages it needs
Add mdfi-connect to Claude Code or Cursor and your agent gets three tools. It reads the outline, asks for the pages that answer the question, and exports a table when it needs the numbers.
The connector docs walk through setup and every tool. It can start reading a long PDF while the rest is still converting. Reading the same file again is free for 7 days: mdfi keeps one conversion per file per account.
read_document("./annual-report.pdf")Outline, quality line, uncertain tables, and the first pages.
read_pages(id, section="Revenue")Only those pages, each with its concerns written underneath.
export_table(id, "p13-t1")A CSV beside your code, with any problems in a notes file.
Every page scored. Only weak pages read again.
Each page gets a score from 0 to 100. Pages under 85 get a second read with enhanced OCR or a vision model, and you pay for what that read used: 1 weighted page for the text layer, 2 for enhanced OCR, 5 for vision.
A table whose rows don't add up or whose cells were merged is labelled uncertain, with the reason, so your agent can say so instead of quoting it. A 200-page PDF with three bad pages costs at most 212 weighted pages, not 1,000.
- p1100
- p2100
- p3100
- p4100
- p5vision
- p6100
- p7100
- p8100
- p9100
- p10100
- p11100
- p12100
p5 · first read 70, table uncertain · read by vision — verify
12 pages · ready16 weighted pages
Real Tier 1 scores for pages 1–12 of the same report.
Fewer tokens, so less money
mdfi removes what carries no information — table padding, dot leaders, separator rows, page numbers — and keeps every word and number. Tested with Claude on five public documents: 1.7–2.8× fewer input tokens than sending the PDF itself, with the same answers to 12 of 12 questions.
The bigger saving is the pages your agent never reads. It starts from the outline and asks only for the pages that answer its question, so most of a long document never reaches the model at all.
## HOUSEHOLD DATA Summary table A. Household data, seasonally adjusted [Numbers in thousands] Category Sept. 2025 July 2026 Aug. 2026 Sept. 2026 Change from: Aug. 2026- Sept. 2026 Employment status Civilian noninstitutional population 1 274,226 275,282 275,415 275,554 139 Civilian labor force 171,261 169,094 169,777 170,262 485 Participation rate 62.5 61.4 61.6 61.8 0.2
128,000 as a PDF 52,100 with mdfi · Claude input tokens
BLS Employment Situation, 39 pages, measured 2026-10-13
The excerpt is cleaned by mdfi itself; the token counts are for the whole 39-page report.
Priced in weighted pages
A page read from its text layer counts 1, enhanced OCR 2, vision 5. A weighted page costs half a cent on Starter and a fifth of a cent on Pro. You see what each document cost, page by page. Cancel any time from the dashboard.
The deal is simple: your agent spends fewer tokens, you spend less, and mdfi earns a part of that saving. We both win when the pages are read well, so that is where our work goes.
Starter
$10 a month
2,000 weighted pages a month, 2 API keys.
Pro
$20 a month
10,000 weighted pages a month, 10 API keys.
Enterprise
Talk to us
Pages agreed with you, unlimited keys, and mdfi inside your own infrastructure if you need it.
Status, honestly
mdfi is live. Here is what exists today, and what does not. We keep improving every part of document reading — scans, tables, layouts, formats — and every page's score shows where it stands.
| Capability | Today | Detail |
|---|---|---|
| Page-by-page conversion with scores | Live | PDF, Office, email, images, text; second reads only where a page scores under 85 |
| Uncertain-table labels and CSV export | Live | Merged cells, totals that don't add up, tables split across pages |
| Cloud API and mdfi-connect for agents | Live | uvx mdfi-connect for Claude Code, Cursor and other MCP clients; the API at api.mdfi.ai |
| SOC 2 / ISO 27001 | Not held | No certification claimed |
Questions
What is a weighted page?
A page read from its text layer counts 1, a page read again with enhanced OCR 2, a page read by vision 5. Re-reads can add at most 100 weighted pages to one document. Pricing has the details.
What happens when my pages run out?
A document that does not fit in the pages you have left is refused before it is converted, and nothing is charged. There is no overage billing; your pages come back on the first of the month.
Is there a free plan?
No. Starter is $10 a month, and you can cancel any time from the dashboard's Billing page.
What happens to my documents?
The file you upload is deleted as soon as its conversion ends, and the converted text is kept for 7 days so your agent can read it again. mdfi runs in the EU. Only pages that need vision are sent out, to the vision provider named in the Terms, which does not train on them and may process them outside the EU. Data and privacy says exactly what is kept and what leaves.
Which agents does it work with?
Any agent that speaks MCP, such as Claude Code and Cursor, through mdfi-connect. Anything else can call the API directly.
Questions, or Enterprise?
Tell us what your agent needs to read, or ask about Enterprise: pages agreed with you, and mdfi inside your own infrastructure if you need it. To start now, create an account.
We use what you send only to reply to you. No newsletter, no CRM — the form posts to this domain and is forwarded to us by our email provider (service providers); nobody else sees it. Ask us to delete it and we will, the same day. This page counts visits with cookieless, EU-hosted analytics that set no cookies and never see what you type here.