Skip to main content

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.0

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.0
File Size Uploaded Provenance Actions
pdtk_val_mcp-0.2.0.tar.gz 6.9 kB Without provenance Details for pdtk_val_mcp-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 14.2 kB

Release files / pdtk_val_mcp-0.2.0.tar.gz

Download URL pdtk_val_mcp-0.2.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a0de0a852cba207b15e536d9844f615c72985cb347215bad1d40f002d2a94bf2
BLAKE2b-256 checksum
How to use checksums
ddde4368d8e155416c73493881450b5fdfd939ebcb9e8693eb6d0369b4afe0de
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.0-py3-none-any.whl

Download URL pdtk_val_mcp-0.2.0-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db3b8e6971def9d527fcfb57095e1d797ba59b067f9068ba1da9ea6fa7dae192
BLAKE2b-256 checksum
How to use checksums
2d946041ab6c4bbd25fefe8ee2c4ad9a78807d6600ad892ba52aa238d426ab30
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.0

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