assurance-mcp
This server provides four read-only MCP tools for auditing coverage and freshness of files or retrieved sets without ever writing to disk.
check_set_coverage_tool: Compare any two sets of keys (e.g. expected vs. found documents/chunks/files) to see if the run covered everything; reports
complete,read of required, missing items, and unexpected items. No filesystem access needed.check_coverage_tool: Check whether every month/period in a folder span is present; can accept a period range or derive from dated filenames and returns the derivation with the ratio.
check_staleness_tool: Check whether a document's figures still match a named source file; returns
uncheckablewhen required recorded facts are missing.list_dated_files_tool: List which reporting periods a folder holds based on dated filenames, helping an agent decide what to ask next.
All tools are read-only by construction — no writes, deletes, network calls, or path escapes via ../symlinks.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@assurance-mcp Check coverage on ~/Downloads/monthly-reports"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
This code has moved
assurance-mcpnow lives in i-ops-hq/assurance, alongside the rest of the family, atpackages/mcp/.The PyPI package is unchanged —
pip install assurance-mcpinstalls the same thing from the same project, and every released version stays exactly where it was. Only the repository moved.This repository is archived and kept read-only so existing links keep working.
assurance-mcp
Related MCP server: flameox
For an agent that retrieves before it answers
If your agent can list the folder it is reasoning about, you probably do not need this. We A/B'd exactly that inside Cursor and the run without these tools did better: it listed the directory, spotted the odd filename, and checked itself. That is the right behaviour and we are not going to pretend otherwise.
Where it earns its place is where the agent cannot see the whole set. It performed a retrieval and
holds k results, and nothing in those results says what the other set contained. It cannot list what
it was not given, and neither can a better model.
check_retrieval_coverage_tool answers that, in arithmetic, with no model involved.
Read-only by construction. No writes, no deletes, no network. Proven by
test_the_server_never_writes: no tool opens a file for writing, and no requests, urllib,
shutil, os.remove, os.replace or symlink_to call exists in the package.
Install
python3 -m venv .venv && source .venv/bin/activate
pip install assurance-mcp{
"mcpServers": {
"assurance": {
"command": "/absolute/path/to/.venv/bin/python",
"args": ["-m", "assurance_mcp.server"]
}
}
}Cursor (~/.cursor/mcp.json), Claude Desktop, or any MCP client. Restart it, and you get four tools.
The one that fits your problem
check_set_coverage_tool takes two lists the agent already holds. No folder, no filesystem.
You: Before you answer, check what you retrieved against what the question spans.
Agent: check_set_coverage_tool(
expected = ["msa.md", "amendment-1.md", "amendment-2.md", "amendment-3.md"],
found = ["msa.md", "amendment-1.md", "globex/msa.md"],
scope = "documents this question spans",
where = "the retrieved set")
→ complete: false · read 2 of 4
"2 of 4 documents this question spans — not in the retrieved set:
amendment-2.md, amendment-3.md"
unexpected: ["globex/msa.md"]
Agent: I've read 2 of the 4 documents this question spans. Amendment 2 and 3 weren't retrieved and
the terms may have changed in them, so I shouldn't answer yet. I also pulled in a Globex
document, which I've discarded.That's a sentence no agent produces on its own, and it's the one that stops a wrong answer.
Use it for: retrieved chunks vs. documents the question spans · files reviewed vs.
git diff --name-only · controls with evidence vs. controls in scope · partitions loaded vs.
declared · eval cases run vs. declared.
All four tools
answers | needs a folder | |
| did the run cover everything, over any two sets? | no |
| which periods are in this folder, and which aren't? | yes |
| do a document's figures still match a source you name? | yes |
| which periods does this folder hold? | yes |
check_coverage_tool handles monthly, quarterly, weekly, daily and numbered runs (INV-0001,
run_042), and returns the derivation with the ratio so the agent can surface a denominator you
can argue with. Works from a cold start: no state, no database, no key.
Honest limits
expectedis never inferred. A denominator the tool invents is one nobody can argue withCSV and TSV only for profiling — no XLSX dependency here
Staleness needs recorded facts, or the answer is
uncheckable— never silenceNo cross-document inference. It produced 21 false positives on a real corpus, so it's refused
The caller names the folder boundary; paths can't escape it via
..or a symlink
Family
assurance-core — the pure arithmetic, zero dependencies · assurance-cli — the same checks as a command
Upstream is I-Ops; this repo is a publication, never a source. Apache-2.0.
Available Tools
4 toolscheck_coverage_toolA
Check whether every month in a folder span is present.
Read-only. Names a folder and optionally a period range such as 'January 2024 to December 2025' or 'last 12 months'.
Inputs: folder (required), period_range. Returns: object
check_set_coverage_toolA
Check what a task required against what was actually read, over any two sets of keys.
Read-only, and touches no filesystem — the caller holds both lists. Use this when the thing you must account for is not dated files in a folder: documents the question spans against the chunks a retriever returned, files changed in a pull request against files reviewed, table partitions against partitions loaded, required controls against controls with evidence, declared eval cases against cases actually run.
expected is the caller's declaration and is never inferred here. scope names the items for
the sentence ("documents the question spans"); where names where they were looked for ("the
retrieved set"); derivation records how the expected set was arrived at, so a reader can
disagree with the denominator rather than only with the result.
Returns the coverage record: complete, read of required, and each way an expectation
failed to be evidence kept separate. Anything present that was not expected is reported under
unexpected and deliberately earns no credit against the denominator.
Inputs: found (required), expected (required), scope, where, +1 more. Returns: object
check_staleness_toolA
Check whether a document's figures still match a source file the caller names.
Read-only. Does not search for a plausible match — both paths are required. Returns UNCHECKABLE when recorded facts are missing and cannot be read.
Inputs: folder (required), source (required), document (required), recorded_facts. Returns: object
list_dated_files_toolA
List which reporting periods a folder holds from dated filenames.
Read-only. Helps an agent decide what to ask next.
Inputs: folder (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
The four tools mostly partition cleanly: staleness checking, dated-file listing, folder-month coverage, and arbitrary set coverage are distinct jobs. The two coverage tools have similar names and check_coverage_tool/list_dated_files_tool both read dated filenames, but the descriptions clarify when each is appropriate.
All tool names follow the same verb_noun_tool convention with lowercase snake_case and a consistent trailing _tool suffix. There is no mixing of camelCase, vauge verbs, or haphazard pattens.
Four tools is well within the well-scoped range and each tool earns its place as a distinct read-only assurance operation. The set feels compact without being thin.
The server covers the main assurance workflows: listing available dated periods, checking month-level folder coverage, checking arbitrary set coverage, and checking staleness against a named source. A minor gap is that there is no discovery tool for finding plausible source files for staleness checks, but the descriptions make clear that the caller is expected to supply both paths.
Related MCP Connectors
Read-only checks for proposed orders against evidence and policy; no trading or payment authority.
Read-only checks for DIDs, credentials, MCP servers, A2A cards and agent delegation.
Read-only finance and operations controls for AI agents with evidence and safe next actions.
Read-only agent-commerce audit, upgrade verification, diagnosis and x402 probing.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables read-only analysis of local disk usage to identify cleanup targets by size, type, recency, and duplicates.613 npm1MIT
- AlicenseCqualityBmaintenanceEnables coding agents to query, compare, and audit local profiler traces, benchmarks, memory captures, and execution evidence without uploading code or data, using CLI and MCP interfaces.11181 PyPI245MIT
- FlicenseNot gradedqualityDmaintenanceProvides read-only access to local SharePoint/OneDrive synced files, enabling listing, searching, and querying Excel workbooks with filters and aggregations, all within a strict sandbox.-
- FlicenseNot gradedqualityDmaintenanceEnables local folder analysis of unstructured documents (PDF, DOCX, PPTX, TXT, SVG, PNG, CSV, XLSX) by extracting structure, reading content, and generating reports, with a strict approval gate before any save operation.-