Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

pytauargus-mcp

A Model Context Protocol (MCP) server for Tau-Argus, the statistical disclosure control engine. It is the agent front-end of the D2.6 architecture: an LLM or agent (for example OpenCode) drives the stateless engine over MCP, one tool call per task, with no server-side session. The .arb batch file is the state carrier of the batch flow. It is a thin wrapper over the pytauargus Python API; it re-implements no engine behaviour. Installing it also gives you the pytauargus package.

What it does

This is the first slice: the core loop, six tools.

  • tauargus_version reports the pytauargus package version and the native engine version.
  • tauargus_explore inspects a microdata dataset and returns its variables with their types. It reads .parquet files directly and .asc/.rda files through the engine metadata parser.
  • tauargus_build_arb writes a .arb batch file from the dataset description (wraps micro_arb).
  • tauargus_run_arb runs a .arb batch and reports the table files it writes.
  • tauargus_protect protects one or more tables from microdata in a single call (wraps protect). It returns per-table cell counts, status counts, the unsafe and secondary cells, and all produced file paths.
  • tauargus_audit audits the suppressed cells of a table computed by a batch and returns their realised feasibility intervals.

Each tool call carries its inputs and returns a full result, so long solves can be backgrounded by the client. The server runs on the stdio transport.

Later slices add the expertise layer (MCP prompts for the standard SDC procedures, tauargus://doc/... resources pointing at the 4.1 manual and the D2.6 vision) and the plain-language reporting contract.

Install

Python 3.11 to 3.14, on the platforms the pytauargus wheel covers (macOS arm64, Linux x86_64 and aarch64, Windows x86_64). The wheel bundles the native engine and HiGHS, so no compiler, CMake, R or Java is needed.

pip install pytauargus-mcp
# or, as an extra of the engine package:
pip install "pytauargus[mcp]"

Installing it also gives you the pytauargus package and the tauargus CLI. To try it without installing anything (requires uv), run it with uvx:

uvx pytauargus-mcp

Run

tauargus-mcp   # starts the server on stdio

Point an MCP client at the console script. For OpenCode, add a tauargus server to the project or user config:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "servers": {
      "tauargus": {
        "type": "local",
        "command": ["tauargus-mcp"]
      }
    }
  }
}

With a pip install the console script is on the PATH; without one, point the command at uv instead ("command": ["uvx", "pytauargus-mcp"]).

Other MCP clients use the standard mcpServers shape:

{
  "mcpServers": {
    "tauargus": { "command": "tauargus-mcp" }
  }
}

When the server connects, the client lists its six tools. In OpenCode, /mcps shows ✓ tauargus connected.

Develop (monorepo)

cd mcp
uv sync --extra test
.venv/bin/python -m pytest tests -q

The uv sync step installs the parent package editable and builds its native extension, so the pinned engine checkout's superbuild output (engine/build/lib) must exist first. scripts/sync-venv.sh builds it if needed (it reads the sibling ../tauargus-engine checkout; point TAUARGUS_ENGINE_DIR at it for the mcp venv too, so the editable build uses the same checkout). The tests read their fixtures from $TAUARGUS_ENGINE_DIR/data (default: the sibling checkout).

Metadata

Release files for pytauargus-mcp 0.1.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pytauargus-mcp 0.1.0rc1
File Interpreter ABI Platform Actions
pytauargus_mcp-0.1.0rc1-py3-none-any.whl Python 3 none any Details for pytauargus_mcp-0.1.0rc1-py3-none-any.whl

Release files / pytauargus_mcp-0.1.0rc1-py3-none-any.whl

Download URL pytauargus_mcp-0.1.0rc1-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0734aa880b17048e1f772732a386eb2648cfdfc5eeda2e09c5143d3043da83bd
BLAKE2b-256 checksum
How to use checksums
bca1c473a467b429fa70dd5a0c0da67b952777e26bf053227378d104ef677b30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Security for pytauargus-mcp 0.1.0rc1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for pytauargus_mcp-0.1.0rc1-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page