Back to Browse

Askonce MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Checks CSV folders against answers a person gave once: HOLDS, VIOLATED or NOT EVALUATED.

About

Checks CSV folders against answers a person gave once: HOLDS, VIOLATED or NOT EVALUATED.

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.

6 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

env_vars

Check that this permission is expected for this type of plugin.

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "askonce": {
      "command": "uvx",
      "args": [
        "askonce==5.5.2"
      ]
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

askonce

Your pipeline or your model changed, and the CSV still parses. askonce tells you whether it still keeps the promises your first batch made.

askonce asks you a few questions about a folder of CSV files once: the form of each column, the keys, and which files refer to which. After that it checks every later batch against your answers, and gives one of three verdicts.

uvx askonce demo                 # real public data, about a second, nothing to set up
uvx askonce check ./out/         # your own folder: first time it asks, after that it checks
ExitVerdictMeaning
0HOLDSevery check held
1VIOLATEDa check you confirmed failed, with the file, line and value (this wins over NOT EVALUATED)
4NOT EVALUATEDnothing failed, but something could not be checked; it is never a pass
3erroraskonce could not run; never a verdict

It is one Python file, standard library only, and it works offline. Status: alpha. It has been tested by its author on synthetic fixtures and on the public data below. There is no independent verification yet.

The demo

The data is South Africa's National Treasury eTenders, as published by the Open Contracting Partnership (public domain). There are four linked files: tenders, awards, suppliers and contracts.

1. First read of Jan to Jun 2026 (1,508 tenders, 369 awards, 61 contracts)
   askonce showed what it read and asked 5 questions; this demo answered yes to each.
   The contract now holds every column's form, the keys, and 7 references between files.

2. Jul to Sep 2026, as published: HOLDS

3. Jul to Sep 2026 again, with 3 changes planted to look like a different model re-extracting it:
   NOT EVALUATED: awards.csv, column 'value_amount' is blank on line 3; the first file had no blank there, so a person must say whether a blank is allowed
   VIOLATED: main.csv, column 'date', line 2 holds '03/07/2026', but the column was confirmed as date-times with a time zone (ISO 8601) by demo (answered yes to every question)
   VIOLATED: contracts.csv line 2: awardID '74332' is not among the id values in awards.csv
   VIOLATED: contracts.csv line 2: awardID '74332' is not among the awards_id values in awards_suppliers.csv
   Verdict: VIOLATED, exit code 1 (VIOLATED wins over NOT EVALUATED)

4. Receipt: /tmp/askonce-demo-…/.invar/receipts/receipt-….json
   Re-checked offline from the exact bytes: HOLDS (the receipt reproduces)
   Signed with a throwaway key made for this demo: signature verifies
   Changed one byte of awards.csv and re-checked: NOT EVALUATED (not the bytes the receipt names)

The three changes in step 3 are planted by the demo. They are not in the published data, which HOLDS.

On your own folder

uvx askonce check ./out/

The first time. askonce prints what it read in each file: whole numbers, money, dates, ISO 8601 date-times, codes or text. It also prints how many cells were blank, the keys it saw, and the references between files that held on every line. It asks once whether to hold later batches to them. Your answers are written to .invar/layout-contract.json, so keep that file in git.

Every later time. The same command checks the new batch against that contract, and writes a receipt to .invar/receipts/.

uvx askonce verify .invar/receipts/receipt-….json --in ./out/

This re-checks a receipt from the exact bytes, offline.

Blank cells. A blank in a checked column that had no blank in the first file is NOT EVALUATED, never a pass. In a terminal, askonce asks once whether a blank is allowed there, or is a mistake. With nobody there to answer, as in CI, it stays NOT EVALUATED, and the rest of the run is still reported. A changed byte, or a different contract, gives NOT EVALUATED, never a quiet pass. askonce sign adds a signature with your own SSH key.

In CI, fail the job on exit 1 and on exit 4.

With your coding agent

claude mcp add askonce -- uvx askonce mcp

The server is local, over stdio, and offers one tool, check_layout. The agent can check a folder, but it can never answer the first-read questions for you: a file nobody has confirmed comes back NOT EVALUATED. Its state lives in the folder the agent starts it in.

To have the agent run it after every step that writes data, paste docs/AGENTS-SNIPPET.md into your AGENTS.md or CLAUDE.md.

Without uv

curl -O https://raw.githubusercontent.com/Ramesh-35/askonce/main/askonce.py
python3 askonce.py check ./out/

Python 3.8 or later. The single file is the whole engine.

What it does not do yet

  • Date-time forms. A date-time with a space instead of T (2026-01-30 00:00:00) is read as text and not checked.
  • Formats. CSV only. There is no JSON or JSONL yet.
  • Text columns. Columns read as text are not checked, and that includes their blanks.
  • What it checks. It checks form, blanks, keys, arithmetic between columns and references between files. It does not check whether a value is true.
  • State across batches. Uniqueness is checked within a batch, not across batches.

Exit codes and receipts are a promise

The exit codes above will not change meaning. A receipt states:

  • the sha256 of every input file;
  • the sha256 of the contract;
  • the sha256 of the engine;
  • every finding.

Licence

MIT OR Apache-2.0. The demo data is under the ODC Public Domain Dedication and License; see src/askonce_kit/demo_data/SOURCE.md.

Found a wrong verdict? Please open an issue with the files, if you can share them. A wrong HOLDS is the bug that matters most.

Reviews

No reviews yet

Be the first to review this server!