Spiral gives your agent every tool with one account. Browse the tools →

Hermes · DataReleased 2025-12-18

How to Use Mistral document text extraction in Hermes

Mistral OCR 3 extracts text, tables, and embedded images from PDFs and images into page-based Markdown. Use it to turn scanned reports and complex tables into material an agent can search, compare, or analyze.

Prompts to try with Mistral document text extraction in Hermes

Copy an example into Hermes, or ask in your own words.

Each quarter, check Microsoft's investor relations publications and use Mistral document text extraction on any new earnings PDF to extract its financial tables.

Mistral document text extractionHermes
Try asking
  • Each month, check Apple's investor relations publications and use Mistral document text extraction on new financial report PDFs to collect their product sales tables.

  • Each year, use Mistral document text extraction on Berkshire Hathaway's newly published annual report PDF and compare its extracted section headings with the previous year's.

  • Each week, check NVIDIA's investor relations publications and use Mistral document text extraction on newly posted earnings PDFs to extract the income statement.

  • Each month, check for a revised PDF of the Mistral 7B paper at https://arxiv.org/pdf/2310.06825 and use Mistral document text extraction to compare its extracted tables with the previous copy.

How to set up Mistral document text extraction in Hermes

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send Hermes this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Add the server and sign in

    Hermes opens your browser: sign in to Spiral and click Authorize. No API key. When Hermes asks Enable all tools? \[Y/n/select], answer Y: n cancels without saving the server, and select hides the tools you leave out.

    hermes mcp add spiral \
      --url https://api.spiral.ai/mcp \
      --auth oauth \
      --connect-timeout 300
  2. Check it

    In a chat that was already open, run /reload-mcp.

    hermes mcp list
    hermes mcp test spiral

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Mistral document text extraction

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "mistral",
        "model": "mistral-ocr-3-0",
        "input": {
          "document": {
            "document_url": "<document_url>"
          }
        }
      }'

Then paste one of the prompts above: Hermes finds Mistral document text extraction on Spiral, shows the price and runs it.

Mistral document text extraction providers and prices

Spiral runs Mistral document text extraction through Mistral. Open a card for today's price, with every fee included.

MistralData
Mistral OCR 3.0
mistral-ocr-3-0

Settings you can ask for

Mistral document text extraction works from your document annotation prompt. Ask Hermes for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Image limita whole number

Max images to extract

Table formatmarkdown or html
Extract footeron or offoff

Extract the page footer into the response's footer field and remove it from the markdown content

Extract headeron or offoff

Extract the page header into the response's header field and remove it from the markdown content

Image min sizea whole number

Minimum height and width of image to extract

Include blockson or offon

Return paragraph-level bounding boxes for all content blocks in the response

Include image base64on or off

Include image URLs in response

Confidence scores granularityword, page, or block

Granularity for confidence scores: 'page' (aggregate only), 'word' (per-word scores), or 'block' (per-block scores). Defaults to None (no confidence scores) to keep response payload small.

Every API field of Mistral OCR 3.0 is on its tool page: open its card above.

What can you do with Mistral document text extraction in Hermes?

Maintain a searchable record of newly published company reports by extracting each new PDF. A scheduled agent can compare the extracted text and tables with the previous edition after it obtains the documents.

Search scanned business archives

Extract page text from archived company reports, then index it so staff can find passages without reading every scan.

Compare annual report tables

Extract financial tables from successive public annual reports and compare rows while retaining their column headings.

Prepare research papers for retrieval

Convert technical PDFs into page-based text for a research search tool, keeping extracted figures available alongside the text.

Extract operational document fields

Turn authorized supplier invoices into structured records for a reviewer to check before entering them into accounting software.

Compare manual revisions

Extract text and tables from two editions of a product manual, then identify changed specifications and instructions.

Make historical publications searchable

Transcribe scanned institutional publications into searchable text, including handwritten annotations where present.

Catalog figures in technical reports

Extract embedded figures and request captions to help readers locate relevant diagrams within a report collection.

Questions about Mistral document text extraction in Hermes

Can Hermes use Mistral document text extraction?

Yes. Add Spiral to Hermes as an MCP server, and Hermes can find and run Mistral document text extraction like any built-in tool.

How much does Mistral document text extraction cost in Hermes?

$0.0026 per page ($0.0039 with document or bounding-box annotations). You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Hermes plan is separate.

Do I need a Mistral account to use Mistral document text extraction in Hermes?

No. Spiral runs Mistral document text extraction on its own Mistral account. You sign in to Spiral once and never paste a key.

How long does it take to set up Mistral document text extraction in Hermes?

About two minutes: add the server and sign in, then check it.

Does Hermes wait while Mistral document text extraction runs?

Mistral document text extraction runs in the background. Hermes starts the run, checks on it and gives you the json when it's ready.

Where does the extracted information come from?

It comes from the PDF or image submitted for processing. A report's contents therefore reflect that document's edition, including any outdated figures it contains.

How large a document can Mistral OCR process?

Mistral's chunking cookbook lists typical limits of approximately 50 MB and 1,000 pages per processing call. It recommends splitting larger documents into smaller parts and combining their results.

Can OCR 3 extract tables with merged cells?

Yes. Mistral documents support for merged cells, multi-row blocks, table headers, and column hierarchies.

Does OCR 3 handle handwriting?

Mistral describes support for cursive, mixed-content annotations, and handwriting layered over printed forms. These are supported document types, rather than a published guarantee of perfect transcription.

Does OCR 3 return paragraph bounding boxes?

Mistral's current documentation says paragraph-level block extraction requires OCR 4 or newer. Do not build an OCR 3 workflow that depends on those paragraph coordinates.

Get started

Start using Mistral document text extraction in Hermes

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Hermes:

Set up Hermes

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options