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 74 Pattern entries, compare observed behaviour with draft operational guidance, retrieve bounded probe material, and see reliability, evidence, and review status before use.
Version: this distribution is 0.1.0a12. What changed in it is recorded in
CHANGELOG.md, and which versions are publicly available is shown by the PyPI
and Official MCP Registry pages linked below — this file ships inside the
distribution, so it cannot say which release is current without going out of
date. The Official MCP Registry record and the MCPB and container artifacts are
updated separately. All 74 Pattern guidance entries and all 74 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. In cloud mode, the API key is held only in
the open page's memory, separately for each provider, and is cleared on
reload, navigation or tab close; it is sent with the complete request directly
to the selected provider and never to this project. (Earlier Clinic versions
used sessionStorage; the Clinic now deletes those entries on load.) 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 research tools and one review presentation tool. 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 MCP Python SDK version is pinned in requirements-base.lock, and the
server is exercised with both the SDK's 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. axis follows the current taxonomy, so axis=10 returns all eleven Axis 10 entries; category narrows to one sub-category |
get_dysfunction |
id, modalities? |
One Pattern with aliases, the draft analysis block, systemic_risk and systemic_risk_meaning, optionally limited to selected blocks |
differential_diagnosis |
observations, limit?, modality_hint? |
Research candidates ranked by text similarity (retrieval_relevance), with matched fields and aliases; case_sufficiency is not assessed by this server |
get_probe |
dysfunction_id, modality |
Probe material, or a refusal plus safer redirects |
score_severity |
dysfunction_id, observations |
The unassessed draft rubric, returned unscored. Computes no grade: result_kind is rubric_only and computed_grade is null. The name is kept for existing clients |
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, including exact alias matches |
review_stats |
none | Corpus counts, versions, and independent review dimensions |
render_pattern_review |
pattern_ids (one to five distinct IDs) |
Corpus-derived comparison and an optional MCP Apps review board |
The review board uses self-contained HTML with no network connections, browser persistence, inference API, or transcript collection. Compatible hosts render the UI; other MCP clients receive the same canonical entries as text. User-initiated controls retrieve existing read-only corpus tools through the host. Evidence assessment, independent review and self-report reliability remain distinct. Compromised probes cannot be reconstructed by the renderer.
The OpenAI plugin source is plugins/psychopathia/ in the main project.
Plugin submission, hosted upgrade, domain verification and publication remain
separate actions. The package candidate never implies those actions occurred.
Safe use sequence
- Record external observations without personal or confidential material.
- Call
differential_diagnosisto produce research candidates. - Inspect each candidate with
get_dysfunctionand read itsreview,evidence, anddiagnostic_reliabilityobjects. - Use
get_probeonly for an available modality. A compromised or unavailable self probe returns no probe content and supplies redirect modalities. - 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_leveland the structuredevidenceobject under PM EVIDENCE 1;diagnostic_reliability.self_reportwhere applicable;matched_inandmatched_aliasesfor lexical provenance in search output;redirect_towhen requested probe content is withheld.
Beside those, explicit fields carry the distinctions as plain values:
retrieval_relevance (search ranking; text similarity, not probability),
construct_evidence (evidence.assessment_status), guidance_review
(review.pattern_guidance.status), detection_accuracy (unmeasured),
threshold_validation (provisional-heuristic; calibration unestablished,
on every returned threshold and severity band), case_sufficiency (not assessed by this server, wherever candidates are returned), and
systemic_risk_meaning (the risk rating is a typical-case editorial
estimate; consequences, spread, persistence and detectability depend on the
deployment). confidence is the drafter's rating of the guidance, not
evidence strength or a diagnostic probability. Older fields are unchanged.
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
This distribution carries taxonomy v2.3 (9 September 2026): 74 Pattern entries,
66 with category canonical across axes 2-10 and 8 Hybrid Pathologies with
category hybrid (10.4, 10.6-10.9, 10.11-10.13), after 7.2, 10.5, 10.10,
10.14 and 10.15 were consolidated into 10.13, 10.1 and 9.5 (see the
CHANGELOG). Releases before taxonomy v2.3 carried 79 entries. Every release is
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.
What the HTTP transport logs
Run with MCP_TRANSPORT=http, the server is stateless: no sessions, no event
store, no database, no accounts. Uvicorn's access log is disabled
(access_log=False) and the server does not log tool arguments or results.
When a tool call fails internally, it logs the tool's name (only if it is a
known tool) and a stack trace to the process error stream; the error message
in a trace could quote part of the failing input. The public
endpoint at mcp.psychopathia.ai sits behind a TLS proxy that receives
ordinary request metadata such as client IP addresses. How long the proxy's
logs and the host's system journal are kept is set in host configuration
outside this repository; that period is not yet documented here or in the
site's privacy policy.
Licence
Software in psychopathia_mcp/, scripts, and build files is MIT licensed.
The pattern corpus data bundled under psychopathia_mcp/_data/ is
CC BY-NC 4.0: you may translate and adapt it, including adapted criteria and
modified benchmarks, for non-commercial use with credit. Commercial use of the
data is by request. The operational schema (_data/schema.yaml) is CC BY 4.0.
Earlier releases bundled the data under CC BY-NC-ND 4.0 and keep those terms.
See LICENSE, LICENSE-DATA, and NOTICE for the exact boundary. Rights and
licence review 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
- Browser clinic (no install): https://psychopathia.ai/clinic/
- Documentation: https://psychopathia.ai/mcp.html
- Main project: https://psychopathia.ai/
- Issues / contact: https://psychopathia.ai/contact/
Metadata
Release files for psychopathia-mcp 0.1.0a12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| psychopathia_mcp-0.1.0a12.tar.gz | 1.3 MB | Without provenance | Details for psychopathia_mcp-0.1.0a12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| psychopathia_mcp-0.1.0a12-py3-none-any.whl | Python 3 | none | any | Details for psychopathia_mcp-0.1.0a12-py3-none-any.whl |
Total release size: 2.5 MB
Release files / psychopathia_mcp-0.1.0a12.tar.gz
| Download URL | psychopathia_mcp-0.1.0a12.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3525619802a4d4d95f2f74c01b6c8441a0d23eefefa6ffa2c775365e646b5a1a
|
|
BLAKE2b-256 checksum How to use checksums |
2a5b986034ac8c115250c8ed1efbfba7dd499dd50332feb4f684215690107dd6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.16
|
Release files / psychopathia_mcp-0.1.0a12-py3-none-any.whl
| Download URL | psychopathia_mcp-0.1.0a12-py3-none-any.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
47962c963427966cbfd3eb916e45361167e0105f2098763631f69ae0329be77b
|
|
BLAKE2b-256 checksum How to use checksums |
afcd17aa78848aad00bac55ff2490afc5dd06b6e015a469c5dcfeeee8474f556
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.16
|
Security for psychopathia-mcp 0.1.0a12
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.