Skip to main content
Pre-release

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

psychopathia-mcp

Read only Model Context Protocol access to the Psychopathia Machinalis research framework. The server lets a caller inspect 79 Pattern entries, compare observed behaviour with draft operational guidance, retrieve bounded probe material, and see reliability, evidence, and review status before use.

Candidate status: 0.1.0a6 is a metadata-correcting release: its distribution is identical in content to 0.1.0a5, and it exists because Official MCP Registry versions are immutable and the registry's 0.1.0a5 record resolves to the 0.1.0a4 distribution. The Official MCP Registry record and the MCPB and container artifacts are updated separately. All 79 LLM drafted Pattern guidance entries and all 79 evidence records await independent expert review. The corpus evidence assessment is unassessed. Do not use this research preview as a sole basis for a consequential deployment, employment, health, safety, or welfare decision.

Existing public release

The previous public release may be available from:

The candidate preparation contract is in PUBLISHING.md. It requires an exact candidate receipt and separate publication authorization.

Browser interface

psychopathia.ai/clinic/ is the current public browser interface. It uses the previous deployed site until this candidate is explicitly approved and deployed. In cloud mode, the API key is kept in a provider specific sessionStorage slot and is sent with the complete request directly to the selected provider. Bounded structured conversation data is saved in localStorage for reload recovery. Local WebGPU mode sends no Clinic conversation to an inference provider, although model hosts receive ordinary request metadata when assets are downloaded. Do not enter personal, confidential, or regulated data.

Install after publication

pip install psychopathia-mcp

The base package provides deterministic field weighted keyword retrieval. Optional semantic retrieval is separate:

pip install "psychopathia-mcp[embeddings]"

The optional extra downloads a sentence transformer dependency set and, on the first semantic query, the pinned BAAI/bge-small-en-v1.5 model revision. The model cache is managed by Hugging Face. Keyword capability remains the release acceptance path when those optional dependencies are absent.

Configure

MCP clients using stdio

Point the client at the installed psychopathia-mcp executable. For example:

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

The server exposes eleven read only tools. Running the executable with no arguments starts the stdio protocol server and waits for client messages.

After the candidate is published, uvx psychopathia-mcp can fetch the package from PyPI. Do not use uvx to verify a local candidate because it resolves registry state rather than the accepted local artifact.

Verify

psychopathia-mcp --self-check --json

The self check reports the package and MCP SDK versions, data mode, corpus and bundle digests, exact counts, keyword capability, optional semantic capability, and non-sensitive error classes. Exit status zero means the base keyword path is ready. Semantic readiness is reported separately and is not required.

The current candidate uses MCP Python SDK 2.0 and is exercised with both its modern in-process client and the legacy stdio client protocol.

psychopathia-mcp --version

Tools

Tool Input Returns
list_axes none Nine canonical axes plus the hybrid subcategory inventory
list_dysfunctions axis?, self_report_reliability?, confidence?, category? Filtered entries with reliability, review, and evidence state
get_dysfunction id, modalities? One Pattern, optionally limited to selected blocks
differential_diagnosis observations, limit?, modality_hint? Ranked research candidates and matched fields
get_probe dysfunction_id, modality Probe material, or a refusal plus safer redirects
score_severity dysfunction_id, observations An unassessed rubric for caller side comparison
suggest_intervention dysfunction_id, severity? Draft responses and contraindications
get_differential_map dysfunction_id Forward and reverse cross references
list_compromised_self_report none Patterns whose self report is structurally or motivationally compromised
resolve_id query Canonical identity candidates
review_stats none Corpus counts, versions, and independent review dimensions

Safe use sequence

  1. Record external observations without personal or confidential material.
  2. Call differential_diagnosis to produce research candidates.
  3. Inspect each candidate with get_dysfunction and read its review, evidence, and diagnostic_reliability objects.
  4. Use get_probe only for an available modality. A compromised or unavailable self probe returns no probe content and supplies redirect modalities.
  5. Treat severity and intervention material as draft guidance pending expert review. Seek independent evidence before any consequential action.

The server never decides that a system has a disorder. Search ranks lexical or semantic resemblance to framework entries. The labels are research constructs, not clinical diagnoses of people or proof of intent, sentience, deception, or moral status.

Trust and evidence contract

Every relevant result exposes:

  • review.taxonomy, which records authorship or taxonomy ratification;
  • review.pattern_guidance, which records independent review of probes, signatures, rubrics, and interventions;
  • review.evidence, which records independent review of evidence claims;
  • evidence_level and the structured evidence object under PM EVIDENCE 1;
  • diagnostic_reliability.self_report where applicable;
  • matched_in for lexical provenance in search output;
  • redirect_to when requested probe content is withheld.

The three review dimensions are independent. Taxonomy authorship never implies expert approval of Pattern guidance or evidence. The current candidate reports all evidence assessments as unassessed, preserving earlier prose as a clearly labelled legacy statement rather than converting it into an expert grade.

Canonical data

The release contains 67 canonical Pattern entries and 12 Hybrid Pathologies, all governed by manifest.yaml and DATA_MANIFEST.json. The manifest binds every source path and digest, the corpus digest, the reverse reference graph, and independent review counts. Packaged execution uses bundled bytes even when invoked from a source checkout. An unexpected, missing, or modified bundled file causes loading to fail closed.

The author created the taxonomy. Becoming Mind collaborators drafted the operational Pattern layer. Independent expert review remains open for all Pattern guidance and evidence records. Authorship and future review fields are kept separate on every entry.

Explicit editable mode

Packaged data is the default. Repository hot reload requires an explicit opt in:

PSYCHOPATHIA_DATA_MODE=editable python -m psychopathia_mcp

PSYCHOPATHIA_DATA_DIR=/absolute/path provides an explicit test or alternative data root. Neither option should be set during wheel, sdist, MCPB, or container acceptance because it would invalidate packaged data proof.

Read only boundary

The MCP surface has no write tools. Source review changes happen in canonical YAML files and remain visible in version control. The optional HTTP transport is disabled by default and has a separate bounded deployment contract in PUBLISHING.md.

Licence

Software in psychopathia_mcp/, scripts, and build files is MIT licensed. Framework content bundled under psychopathia_mcp/_data/ is covered by CC BY NC ND 4.0. See LICENSE, LICENSE-DATA, and NOTICE for the exact boundary. Rights and licence review for this candidate remains a separate human gate.

Citing

Watson, N., and Hessami, A. Psychopathia Machinalis: A Nosological Framework for Understanding Pathologies in Advanced Artificial Intelligence. Electronics 14(16), 3162, 2025. https://doi.org/10.3390/electronics14163162

Links

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

psychopathia_mcp-0.1.0a6.tar.gz (664.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

psychopathia_mcp-0.1.0a6-py3-none-any.whl (744.4 kB view details)

Uploaded Python 3

File details

Details for the file psychopathia_mcp-0.1.0a6.tar.gz.

File metadata

  • Download URL: psychopathia_mcp-0.1.0a6.tar.gz
  • Upload date:
  • Size: 664.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.15

File hashes

Hashes for psychopathia_mcp-0.1.0a6.tar.gz
Algorithm Hash digest
SHA256 20be15e03b8708235cd534f42aab425a566f0cb9151696224157b123683cda4a
MD5 7d08983e42e4e1a1cded883e150e289f
BLAKE2b-256 6be42bac53ccddd1c603eaa8d07655198f79195ce12a04ff638fd1d7dc095b9b

See more details on using hashes here.

File details

Details for the file psychopathia_mcp-0.1.0a6-py3-none-any.whl.

File metadata

File hashes

Hashes for psychopathia_mcp-0.1.0a6-py3-none-any.whl
Algorithm Hash digest
SHA256 8747e0cedfbc2c375a817a54697638b3e0f2829ae454dc8d0677e69dc2e375c6
MD5 485e1aa409ce3598da153e0b530ca158
BLAKE2b-256 872f35c88de0ca7452ed8ea211c109c8f0ec5b0004fc5eaf795df6128d37cf6f

See more details on using hashes here.

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