Free local MCP server · one command to install

Every AI answer, traced to its exact place on the page.

FactFrame converts your PDF, DOCX and XLSX files into Markdown where every paragraph, table row and figure has a stable id. Your assistant cites the id. One click opens the original with that passage highlighted.

  • Runs on your computer
  • No account, no API key
  • Citations checked before you see them
Terminal
curl -LsSf https://factframe.tech/install.sh | sh

Sets up Claude Desktop, Cursor, Windsurf, Claude Code, Codex and Grok, whichever it finds.

master-services-agreement.pdf · page 2 of 3
You ask

How much notice is needed to terminate for convenience?

Your assistant answers

Thirty (30) days' written notice.

“thirty (30) days' written notice”
✓ citation verified

The governing law is New York.

✕ a91c3e does not exist in this document. Not shown as sourced.

Click any paragraph or table row on the page

{{head:5e0c9d}}The problem

A cited answer nobody can check is a confident guess.

Most document parsers stop at text. Your assistant answers from a chunk, and the reader cannot see where in a 300-page contract, lab report or ledger that chunk came from.

So someone re-reads the source to be safe, and the time the assistant saved goes into checking it. A model writes a plausible quote as easily as a real one.

FactFrame keeps the link between every piece of text and its place on the page, and refuses citations that point at nothing.

What a plain parser hands your assistant

source: master-services-agreement.pdf

…may terminate this Agreement for convenience by giving the other party thirty (30) days' written notice.

Somewhere in these pages. Start reading.

The same sentence from FactFrame

id 8c21f4 · page 2 · bbox 1.00,1.55,7.50,2.40

…may terminate this Agreement for convenience by giving the other party thirty (30) days' written notice.

Page 2, this rectangle. One click.

{{head:a3f7c2}}How it works

Three steps from a file to an answer you can check.

  1. 01Convert

    Every block gets an id and a rectangle.

    Paragraphs, table rows and figures become Markdown. Each one carries an id derived from its content and the box it occupies on the page.

    factframe convert agreement.pdf -o out/
  2. 02Ask

    The answer cites ids.

    Your assistant searches and reads the converted files through MCP and cites the ids it used. An id that is not in the document does not pass.

    factframe ask out/ "Notice to terminate?"
  3. 03Verify

    One click lands on the source.

    The link opens a local viewer scrolled to the highlighted rectangle in the original file. Bookmark it or send it; it opens at the same place.

    factframe show out/ 8c21f4
document.mdids inline
{{para:8c21f4 bbox=1.00,1.55,7.50,2.40}}
8.1 Either party may terminate this
Agreement for convenience by giving…

{{table:9f8e7d bbox=1.00,3.80,7.50,5.20}}
| {{row:0a2f13 idx=0}} Term | Value |
| --- | --- |
| {{row:44c1a0 idx=1}} Notice | 30 days |
| {{row:b07e33 idx=2}} Liability cap | 12 mo |
elements.jsonid → page + box
"8c21f4": { "kind": "para", "page": 2,
  "bbox": [1.00, 1.55, 7.50, 2.40] }
MCP callsstdio · local
search_documents("terminate convenience")
  → 8c21f4, 44c1a0, 51d9ae
read_document("master-services…", 2–2)
get_element("8c21f4")
  → exists · page 2
Thirty (30) days' written notice. 8c21f4
✓ citation verified
127.0.0.1:47200/doc/master-services-agreement?highlight=8c21f4
factframe show out/ 8c21f4resolved
kind  para
page  2
bbox  1.00, 1.55, 7.50, 2.40
text  8.1 Either party may terminate…

The page on the left is the original PDF, with the cited rectangle lit.

{{head:d94b18}}Why it holds up

Built for people who get asked “where did that come from?”

Ids that survive a re-run

Ids come from the content, never from a random generator. Convert the same file next month and the citations you saved still resolve.

  • head3d70b28. Termination
  • para8c21f48.1 Either party may terminate this Agreement for convenience…
  • para51d9ae8.2 Either party may terminate this Agreement with immediate effect…
  • rowb07e33Liability cap · 12 months of Fees
run 1 · 4 ids assigned

Tables stay tables

Every row has its own id, in borderless tables too. A cited figure points at its row, with the unit and limits beside it.

TestResultReference
6f21d8Glucose, fasting11270–99
2e84a9Creatinine0.90.6–1.2
c58b92Cholesterol214< 200

It runs on your machine

Conversion, search and the viewer all run locally. FactFrame has no account, no key and no server of its own.

  • accountnone
  • api keynone
  • cost per page0
  • viewer127.0.0.1:47200

It works where your assistant lives

The installer registers the server with every MCP client it finds. Any other client takes one line of JSON.

  • Claude Desktop
  • Cursor
  • Windsurf
  • Claude Code
  • Codex
  • Grok
{"mcpServers":{"factframe":{"command":"uvx",
  "args":["factframe-mcp","--root","~/Documents"]}}}

{{table:61be0f}}MCP server

Six tools. One job.

The server reads only the folders you name. Your assistant gets what it needs to convert, find, read and cite, and nothing else.

  • convert_folderConverts every PDF, DOCX and XLSX in a folder and its subfolders. Unchanged files are skipped on the next run.
  • list_documentsShows what is already converted.
  • search_documentsKeyword search across all documents, one folder or one file. Returns element ids.
  • read_documentA document's Markdown with ids inline, a range of pages at a time.
  • get_elementOne element's text by id, to check a citation before it is shown.
  • make_linkA URL that opens the viewer scrolled and highlighted to one element.

{{head:0b77e4}}Where it helps

Where a wrong number costs more than a slow answer.

A clause someone will quote back

contracts · policies · regulationsLand on the exact clause, with the sentence the answer was drawn from, before it goes into a filing.

A value that sits next to its limits

lab results · tolerances · thresholdsSee the number beside its unit and its reference range, on the page where it was reported.

A figure someone has to sign off

statements · invoices · reconciliationsEvery figure traces to its row and page, so a reviewer ticks it off in seconds.

An agent that has to cite its sources

RAG pipelines · internal toolsClean Markdown in, and a citation format your UI turns into a link. Build the “show source” button once.

See the six tools

{{head:e18a35}}Install

Three steps. About two minutes.

  1. Paste one command

    Open Terminal, paste the line and press Return. It asks which folder holds your documents.

    curl -LsSf https://factframe.tech/install.sh | sh
  2. Restart your assistant

    Quit it completely and open it again. Closing the window is often not enough.

    On a Mac press ⌘ Q.

  3. Ask it this

    The installer ends with a question to paste into your assistant. Use your own folder.

    Convert the folder /Users/you/Documents with FactFrame and tell me what is in it, with links to the sources.

Already have uv? uvx factframe-mcp install --root <folder> --client cursor skips the question and sets up one client. Run the command again to change the folder.

{{head:9c4d71}}Plainly

What it does not do.

  • Read scans

    The local version has no OCR. A PDF needs a text layer. Scanned files need the Azure provider.

  • Check the outside world

    A citation proves the passage is in your document and shows you where. It says nothing about case law or facts that are not in your files.

  • Share links by itself

    The viewer runs on your computer while your assistant is open. A team that needs shared links needs a hosted viewer.

{{head:4a6e02}}FAQ

Questions before you install.

Is it really free?

Yes, for use on your own computer. Teams that need Google Drive or SharePoint connected, or a secured deployment, can write to [email protected].

Do my documents leave my computer?

FactFrame converts, searches and serves the viewer locally and sends nothing anywhere. The passages your assistant reads go to that assistant, the same as anything you type into it.

What if the model invents a citation?

An id that does not exist in the document does not resolve, so the link opens nothing. With factframe ask every citation is validated first, and an invented one is never presented as sourced.

Which files does it read?

PDF with a text layer, DOCX and XLSX. Spreadsheets open in a sheet viewer with search across rows and cells.

What happens when I convert a file again?

The same file gives the same ids, so saved citations keep working. Files that have not changed are skipped.

Which assistants does it work with?

Claude Desktop, Cursor, Windsurf, Claude Code, Codex and Grok are set up by the installer. Any other MCP client takes one JSON entry.

{{head:f02d5b}}Check us

The short version, with sources.

This page is checkable too. Click an id and it shows you where on this page the claim is made.

  • Every block of a converted file resolves to a rectangle on the original page.
  • Ids stay the same when you convert the same file again.
  • Conversion, search and the viewer run on your computer.
  • It does not read scanned PDFs without a text layer.

Convert one folder. Click one citation.

curl -LsSf https://factframe.tech/install.sh | sh

Free on your own computer. Need your team's Google Drive or SharePoint connected, or a secured deployment? Talk to us.

{{head:5a0c17}}Talk to us

Bring it to your team's documents.

FactFrame is free on your own computer. If you need Google Drive or SharePoint connected, a secured deployment, or a walk-through on your own files, tell us what you are working with.

Prefer email? [email protected]

What is it about