◈

How to Analyze Legal Data in PDF Files Automatically

Analyze PDF agreements and compliance files on your own PC: red-flag clauses, risk scores, missing required sections, and drafting when gaps need filling.

Skills in this bundle

1/6

Agreement Lens

Deterministic red-flag clause scan for agreements and NDAs (level-filtered) + clause structure + risk score. (Action Co-pilot: generates next-best-actions (actions.json), follow-up tasks and calendar reminders on top of the analysis — what to act on today.)

Skill5 Nex
2/6

Agreement Drafter

Agreement Drafter via runtime LLM orchestration (focus x detail params; NL->structured artifact). (Action Co-pilot: generates next-best-actions (actions.json), follow-up tasks and calendar reminders on top of the analysis — what to act on today.)

Skill5 Nex
3/6

Compliance Lens

Deterministic compliance red-flag clause analysis (severity filter + structure + score). No LLM. (Action Co-pilot: generates next-best-actions (actions.json), follow-up tasks and calendar reminders on top of the analysis — what to act on today.)

Skill5 Nex
4/6

Compliance Drafter

Compliance Drafter via runtime LLM orchestration (focus x detail params; NL->structured artifact). (Action Co-pilot: generates next-best-actions (actions.json), follow-up tasks and calendar reminders on top of the analysis — what to act on today.)

Skill5 Nex
5/6

Compliance Maestro

Compliance Maestro via runtime LLM orchestration (focus x detail params; NL->structured artifact). (Action Co-pilot: generates next-best-actions (actions.json), follow-up tasks and calendar reminders on top of the analysis — what to act on today.)

Skill3 Nex
6/6

Compliance Auditor

Deterministic compliance completeness check (internal/ISO required sections). No LLM. (Action Co-pilot: generates next-best-actions (actions.json), follow-up tasks and calendar reminders on top of the analysis — what to act on today.)

Skill3 Nex
Quick answer

Open the PDF agreement or compliance file in Nexus Runner on your own PC and run Agreement Lens or Compliance Lens for a deterministic red-flag clause scan that returns level-filtered clauses, clause structure and a risk score, then run Compliance Auditor to list the internal or ISO required sections that are missing. Agreement Drafter and Compliance Drafter fill the gaps, Compliance Maestro turns the findings into staged remediation, and all six skills run locally so the PDF never leaves your machine.

  • Agreement Lens and Compliance Lens use no LLM: rule-driven red-flag scanning with severity filtering, so the same PDF and the same parameters give the same result on every run.
  • Compliance Auditor checks the file against internal and ISO required sections and returns a missing-item list plus a completeness score.
  • When text is genuinely missing, Agreement Drafter and Compliance Drafter generate structured output by focus (standard, brief, detailed) and depth, and never invent facts the file does not contain.
  • Compliance Maestro turns findings into an ordered set of stages, so remediation has a follow-up plan rather than an unsorted backlog.
  • Everything runs in Nexus Runner 1.0.10 on Windows 10/11 x64. The free tier includes 200 Nex per month, reset at the start of each month.

What legal PDF analysis looks like in MCP Nexus

This is not one all-purpose contract bot. It is six skills with clear jobs. Agreement Lens and Compliance Lens read: they break the PDF into clause structure, flag red-flag clauses at the severity level you choose, and return a risk score. Compliance Auditor compares: it checks the file against internal or ISO required sections and reports what is missing. Agreement Drafter and Compliance Drafter write: they produce structured text at the focus and depth you select. Compliance Maestro sequences: it breaks remediation into stages. Agreement Lens, Compliance Lens and Compliance Auditor are pure code and call no LLM, so identical input yields identical output; the drafting and orchestration skills use a runtime LLM and will not fabricate data the source does not contain. MCP Nexus classifies everything as either a skill or an agent, and all six here are launched by your local Nexus Runner, with the PDF staying on your disk.

The full path for one PDF

1Step 1
Hand the PDF to your local Runner
Select the PDF agreement or compliance file in Nexus Runner 1.0.10. Reading and processing happen on that Windows 10/11 x64 machine, with no upload step in front of the analysis.
2Step 2
Scan red-flag clauses and get a risk score
Send agreements through Agreement Lens and policy or compliance documents through Compliance Lens. Both filter red-flag clauses by severity and return clause structure plus a risk score, so you know which clauses to read first. 5 Nex per run each.
3Step 3
Check the required sections
Compliance Auditor walks the internal or ISO required-section list and returns the missing items and a completeness score. It answers whether the sections that should exist are there, which complements the red-flag view of the clauses that do exist. 3 Nex per run.
4Step 4
Draft what is missing
Use Agreement Drafter for missing contract language and Compliance Drafter for missing compliance text, choosing focus (standard, brief, detailed) and depth. Facts absent from the source are not padded into confident-sounding sentences. 5 Nex per run each.
5Step 5
Sequence the remediation
Compliance Maestro takes the findings and lays them out as process orchestration or a stage breakdown, giving the follow-up work an order instead of a flat list of problems. 3 Nex per run.

One PDF, three ways to handle it

MCP NexusManual workGeneric cloud AI
Red-flag detectionAgreement Lens and Compliance Lens scan by deterministic rules with severity filtering; rerunning the same file gives the same resultPage-by-page reading, where what gets missed depends on experience and the dayThe model reads ad hoc, so asking twice about the same file can produce different conclusions
Missing required sectionsCompliance Auditor checks internal and ISO required sections item by item and returns a missing list plus a scoreTicking boxes on a printed checklist that drifts out of sync with the documentYou have to paste the checklist into the chat yourself, and item-by-item coverage is not guaranteed
Where the file goesSkills run in local Nexus Runner and the PDF is never uploadedFiles travel through email and external drives, with versions hard to trackThe file has to be uploaded to a third-party server first
From finding to fixScan, audit, draft and sequence chain together on the same machineAnalysis, drafting and follow-up are split across different people and toolsMostly single-turn answers that are hard to feed into the next step
How it is billedPer skill run: 5 Nex for the lens and drafter skills, 3 Nex for Compliance Auditor and Compliance Maestro, with 200 Nex free each monthBilled by the hour, regardless of how hard the document isBilled by subscription or usage, with no link to a specific deliverable

Real use cases

Screening an inbound NDA before filing it
Feed in the PDF NDA a counterparty sent over and Agreement Lens returns level-filtered red-flag clauses, clause structure and a risk score, so review starts at the flagged clauses instead of page one.
One run returns three outputs (red-flag list, clause structure, risk score) at 5 Nex
Annual self-check of internal compliance policies
Feed in the PDF of an internal policy or management-system document. Compliance Lens scans red-flag clauses and scores risk, then Compliance Auditor lists the internal and ISO sections that are missing. Together they form the self-check record for that file.
Two stages (scan plus required-section check) on one file for 8 Nex total
Closing the loop on supplier agreement fixes
Compliance Lens locates the problem clauses, Compliance Drafter writes the missing text at the chosen focus and depth, and Compliance Maestro breaks the fixes into stages the owner can work through in order.
Three stages in one pass (scan, draft, sequence) for 13 Nex total

FAQ

Can risky clauses in a PDF contract be detected automatically?

Yes. Agreement Lens and Compliance Lens scan the PDF for red-flag clauses using deterministic rules, filter them by severity, and return clause structure and a risk score alongside. They call no LLM, so the same file with the same parameters produces the same conclusion on every run.

Does analyzing a PDF send it to the cloud?

No. All six skills run in Nexus Runner 1.0.10 on your own machine and the PDF stays on your disk. Nexus Runner supports Windows 10/11 x64 only.

How much Nex does analyzing one PDF cost?

Agreement Lens, Agreement Drafter, Compliance Lens and Compliance Drafter are 5 Nex per run; Compliance Maestro and Compliance Auditor are 3 Nex per run. The free tier includes 200 Nex per month, reset at the start of each month; Pro is 49 CNY per month with 3000 Nex; Enterprise is 299 CNY per month with 50000 Nex.

Do these skills replace a lawyer's review?

No. They produce a reviewable red-flag list, clause structure, risk score and missing-section list that narrow down what a person has to read. The judgment call still belongs to your legal team or counsel.

How reliable is the drafted text?

Agreement Drafter and Compliance Drafter use a runtime LLM with focus and depth parameters and will not invent facts the source does not contain. Treat the output as a draft for review, and confirm it before anything is signed.

Related use cases