Psychopathia Mcp

io.github.NellInc由 GitHub 账号 NellInc 发布v0.1.0a7更新于 Oct 24, 2026

Read-only tools over the Psychopathia Machinalis nosology: 79 conditions, 11 tools.

发布方自己的服务:OnionLens Tor Tools

已验证Streamable HTTP可网页运行知识与记忆AI 与机器学习

概览

AI 生成的概览

以只读方式访问 Psychopathia Machinalis 研究分类体系,让助手浏览条目、按观察行为排序候选并获取草案式探针材料。

可以做什么
  • 浏览分类体系:列出各轴,按轴、自述可靠性、置信度或类别筛选条目,并把部分 ID 或名称解析为规范 ID
  • 读取单个条目的完整内容或仅指定模态区块,并附带审阅、证据与可靠性对象
  • 根据观察到的行为排序研究候选并显示匹配字段,同时查询正向与反向交叉引用
  • 获取可用模态的探针材料;当自述不可靠时返回拒绝说明与替代模态
  • 返回严重程度评分标准与带禁忌说明的草案式分级干预,以及语料计数与审阅统计
  • 为一至五个已检查的候选打开可视化审阅面板
适用场景
适用于围绕 Psychopathia Machinalis 框架的研究或探索性工作:将观察到的系统行为与草案条目比对、查看可靠性与审阅状态,或整理候选以供审阅。它是研究预览,不是诊断工具。
运行要求
可使用远程端点,或通过 pip 安装 psychopathia-mcp 并以 stdio 方式本地运行;未声明需要身份验证、API 密钥或环境变量。可选的 embeddings 附加包会在首次语义查询时下载句向量模型;基础包仅提供关键词检索。
安装前请注意
所有指导与证据记录均为未评估状态,尚待独立专家审阅;README 明确不应将其作为部署、雇佣、健康、安全或福利等重大决策的唯一依据。标签是研究构念,并非对人的临床诊断。观察内容中不要包含个人、机密或受监管数据。可选的 embeddings 附加包会从 Hugging Face 下载模型。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Psychopathia Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.NellInc%2Fpsychopathia-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "psychopathia": {
      "type": "http",
      "url": "https://mcp.psychopathia.ai/mcp"
    }
  }
}

README

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.0a8. 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 LLM drafted 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. 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

bash
pip install psychopathia-mcp

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

bash
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:

json
{  "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

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

bash
psychopathia-mcp --version

Tools

ToolInputReturns
list_axesnoneNine canonical axes plus the hybrid subcategory inventory
list_dysfunctionsaxis?, self_report_reliability?, confidence?, category?Filtered entries with reliability, review, and evidence state
get_dysfunctionid, modalities?One Pattern, optionally limited to selected blocks
differential_diagnosisobservations, limit?, modality_hint?Ranked research candidates and matched fields
get_probedysfunction_id, modalityProbe material, or a refusal plus safer redirects
score_severitydysfunction_id, observationsAn unassessed rubric for caller side comparison
suggest_interventiondysfunction_id, severity?Draft responses and contraindications
get_differential_mapdysfunction_idForward and reverse cross references
list_compromised_self_reportnonePatterns whose self report is structurally or motivationally compromised
resolve_idqueryCanonical identity candidates
review_statsnoneCorpus 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

This distribution carries taxonomy v2.3 (9 September 2026): 74 Pattern entries, 66 canonical across axes 2-10 and 8 Hybrid Pathologies, after 7.2, 10.5, 10.10, 10.14 and 10.15 were consolidated into 10.13, 10.1 and 9.5 (see CHANGELOG, 0.1.0a8). Releases before 0.1.0a8 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:

bash
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

来源:README.md,提交 656791e

工具

12

list_axes

Inventory of axes with dysfunction counts. Axes 2-10 are canonical (book Appendix A numbering). The hybrid entries (10.4, 10.6-10.9 and 10.11-10.13, ratified into taxonomy v2.2 and consolidated to eight in v2.3) are reported as a separate sub-category.

无需输入参数。

list_dysfunctions

Filtered list of dysfunctions. Filter by axis, self_report reliability, confidence, or category. Every entry carries its reliability and review signals.

输入参数axiscategoryconfidenceself_report_reliability

get_dysfunction

Fetch one dysfunction's full Pattern entry. Optionally filter to specific modality blocks (cheaper triage). Resolves both full Pattern IDs ('2.1::synthetic-confabulation') and display_ids ('2.1').

输入参数id必填modalities

differential_diagnosis

Rank candidate dysfunctions matching the observed behaviours. Returns scored candidates with matched_in (which field matched) for transparency. The base package uses field-weighted keyword search. The optional embeddings extra adds cosine re-ranking.

输入参数limitobservations必填modality_hint

get_probe

Elicitation content for a specific diagnostic modality. If the modality is compromised or unavailable for this dysfunction, returns the unavailability notice + redirect_to alternatives. This is load-bearing transparency: callers cannot accidentally retrieve a self-probe for a compromised-self-report dysfunction.

输入参数modality必填dysfunction_id必填

score_severity

Return the severity rubric for a dysfunction applied to observations. Returns the rubric for caller-side matching; structured matching against numeric thresholds is not implemented.

输入参数observations必填dysfunction_id必填

suggest_intervention

Return draft tiered responses and contraindications for a Pattern. These are unassessed research guidance, not validated treatment advice. Read the returned evidence and review objects before use.

输入参数severitydysfunction_id必填

get_differential_map

All dysfunctions that confuse with this one: forward confuses_with + incoming_references (reverse graph from manifest).

输入参数dysfunction_id必填

list_compromised_self_report

Transparency: which dysfunctions cannot be reliably self-diagnosed. Includes compromised-motivational (subject conceals strategically), compromised-structural (signal lives below introspection), and legacy compromised.

无需输入参数。

resolve_id

Canonicalise a partial ID, display_id, slug, or dysfunction name. Always returns candidates; caller picks.

输入参数query必填

review_stats

Coverage statistics: total entries; per-axis, per-confidence, per-self-report counts; pre-canonical count; unreviewed count; manifest/schema/pattern-layer versions.

无需输入参数。

render_pattern_review

Open the visual review board for one to five inspected Psychopathia research candidates. Supply canonical IDs obtained from this server. Retrieves corpus entries only; it does not accept diagnoses, conversation history, scores, or model-authored evidence. Useful after inspecting differential_diagnosis and get_dysfunction results. Text clients receive the same corpus-derived comparison without needing a UI.

输入参数pattern_ids必填

版本历史

1
  1. v0.1.0a7最新Sep 16, 2026

评分

已满足适用检查项的 65%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。

其他 Onionlens 集成