Skip to main content
Pre-release

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

Predictika Validator MCP

An MCP (Model Context Protocol) server for validating Predictika models and launching Predictika Validator/Configurator servers on the Predictika platform.

Note: the MCP server itself runs locally (or wherever you host it), but the validator/configurator servers it launches and deletes are remote -- they are provisioned on and torn down from Predictika's own infrastructure, not on the machine running this MCP server.

Installation

uv tool install pdtk-val-mcp

Configuration

The server uses the following environment variables.

Required

Variable Description
PREDICTIKA_API_KEY Predictika API key used for authentication.
PREDICTIKA_API_BASE_URL Predictika validator endpoint, e.g. https://partner.predictika.com/validator.

Example:

export PREDICTIKA_API_KEY=<your-api-key>
export PREDICTIKA_API_BASE_URL=<your-validator-base-url>

Optional

Variable Default Description
PREDICTIKA_MCP_LOG_FILE Logging disabled Write server logs to the specified file.
PREDICTIKA_MCP_LOG_LEVEL INFO Logging level.

MCP Client Setup

Claude Code

claude mcp add predictika-validator \
  --env PREDICTIKA_API_KEY="$PREDICTIKA_API_KEY" \
  --env PREDICTIKA_API_BASE_URL="$PREDICTIKA_API_BASE_URL" \
  -- predictika-validator-mcp

Codex CLI

codex mcp add predictika-validator \
  --env PREDICTIKA_API_KEY="$PREDICTIKA_API_KEY" \
  --env PREDICTIKA_API_BASE_URL="$PREDICTIKA_API_BASE_URL" \
  -- predictika-validator-mcp

Updating

To upgrade to the latest released version:

uv tool upgrade pdtk-val-mcp

Tools

The server exposes the following MCP tools:

  • validate_model — Validates a Predictika model.
  • launch_validator — Creates a remote Predictika Validator/Configurator server for a Predictika project on Predictika's infrastructure: uploads the model files, then starts the server.
  • validate_choices — Validates a set of user choices against a running Predictika Validator/Configurator session.
  • reset_session — Resets a running Predictika Validator/Configurator session.
  • list_validators — Lists remote validator servers (all_users=true for everyone, default only the current user), with name, project, status and owner.
  • start_validator — Starts an already-created remote validator server. Uploads nothing.
  • stop_validator — Shuts down a remote validator server but keeps it and its files, so it can be started again.
  • delete_validator — Stops a remote validator server and removes all files associated with it. Destructive and not reversible.

Lifecycle: launch / start / stop / delete

Tool Uploads model Starts server Stops server Deletes files
launch_validator yes yes no no
start_validator no yes no no
stop_validator no no yes no
delete_validator no no yes yes

Use launch_validator the first time (or to deploy a changed model), stop_validator/start_validator to pause and resume an existing server, and delete_validator only when the server is no longer needed.

Metadata

Release files for pdtk-val-mcp 0.2.0rc1

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

Source distribution (sdist)

Source distribution for pdtk-val-mcp 0.2.0rc1
File Size Uploaded Provenance Actions
pdtk_val_mcp-0.2.0rc1.tar.gz 6.9 kB Without provenance Details for pdtk_val_mcp-0.2.0rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pdtk-val-mcp 0.2.0rc1
File Interpreter ABI Platform Actions
pdtk_val_mcp-0.2.0rc1-py3-none-any.whl Python 3 none any Details for pdtk_val_mcp-0.2.0rc1-py3-none-any.whl

Total release size: 14.2 kB

Release files / pdtk_val_mcp-0.2.0rc1.tar.gz

Download URL pdtk_val_mcp-0.2.0rc1.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4780c3151c5531a2adbdc68177bf2176806020f213ebbba6f332606cbac61156
BLAKE2b-256 checksum
How to use checksums
976788de5754461e206786c59939f6f0f5bd5dc55bcc54450da6bdd157ad895a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / pdtk_val_mcp-0.2.0rc1-py3-none-any.whl

Download URL pdtk_val_mcp-0.2.0rc1-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2201e4972522976ce46a6548aba90f79a7b4217001b092de5bc0155d712a5b1
BLAKE2b-256 checksum
How to use checksums
4d2ddc54c9bae4c8f2e1e07244210b7457c927a2a70464e06262d3cf32fa6e28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for pdtk-val-mcp 0.2.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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