psychopathia-mcp
Read-only tools over the Psychopathia Machinalis nosology: 79 conditions, 11 tools.
我該用這個嗎
品質與安全性
發現項目(1)
- MEDIUM在 score_severity 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"psychopathia-mcp": {
"command": "uvx",
"args": [
"psychopathia-mcp"
]
}
}
}可執行的套件
0.1.0a7stdio遠端端點
https://mcp.psychopathia.ai/mcpstreamable-http它能做什麼
工具清單
工具(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.
輸入結構描述
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}🟢list_dysfunctions(axis, self_report_reliability, confidence, category)
Filtered list of dysfunctions. Filter by axis, self_report reliability, confidence, or category. Every entry carries its reliability and review signals.
輸入結構描述
{
"type": "object",
"properties": {
"axis": {
"type": "integer",
"minimum": 2,
"maximum": 10,
"description": "Filter by axis number (2-10). Canonical entries only unless category is also set; axis=10 with category='hybrid' returns the hybrid sub-category (10.4, 10.6-10.9 and 10.11-10.13)."
},
"self_report_reliability": {
"type": "string",
"enum": [
"partial",
"unreliable",
"compromised-motivational",
"compromised-structural"
],
"description": "Filter by the exact self_report reliability value."
},
"confidence": {
"type": "string",
"enum": [
"high",
"medium",
"low"
]
},
"category": {
"type": "string",
"enum": [
"canonical",
"hybrid"
]
}
},
"required": [],
"additionalProperties": false
}🟢get_dysfunction(id, modalities)
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').
輸入結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\s\\S]*\\S[\\s\\S]*$",
"description": "Pattern ID or display_id."
},
"modalities": {
"type": "array",
"items": {
"type": "string",
"enum": [
"self_probe",
"behavioral_signature",
"peer_observation",
"differential_diagnosis",
"severity",
"intervention",
"relational_signatures",
"normative_anchors",
"cross_references"
]
},
"maxItems": 9,
"uniqueItems": true,
"description": "Optional subset of modality block names to return. Valid: self_probe, behavioral_signature, peer_observation, differential_diagnosis, severity, intervention, relational_signatures, normative_anchors, cross_references."
}
},
"required": [
"id"
],
"additionalProperties": false
}🟢differential_diagnosis(observations, limit, modality_hint)
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.
輸入結構描述
{
"type": "object",
"properties": {
"observations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"pattern": "^[\\s\\S]*\\S[\\s\\S]*$"
},
"minItems": 1,
"maxItems": 50,
"description": "Observed behaviours, symptoms, or log patterns."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 10
},
"modality_hint": {
"type": "string",
"maxLength": 100,
"description": "Optional hint about which modality the observations come from."
}
},
"required": [
"observations"
],
"additionalProperties": false
}🟢get_probe(dysfunction_id, modality)
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.
輸入結構描述
{
"type": "object",
"properties": {
"dysfunction_id": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\s\\S]*\\S[\\s\\S]*$"
},
"modality": {
"type": "string",
"enum": [
"self_probe",
"behavioral_signature",
"peer_observation",
"relational_signatures"
]
}
},
"required": [
"dysfunction_id",
"modality"
],
"additionalProperties": false
}🟢score_severity(dysfunction_id, observations)
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.
輸入結構描述
{
"type": "object",
"properties": {
"dysfunction_id": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\s\\S]*\\S[\\s\\S]*$"
},
"observations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"pattern": "^[\\s\\S]*\\S[\\s\\S]*$"
},
"minItems": 1,
"maxItems": 50
}
},
"required": [
"dysfunction_id",
"observations"
],
"additionalProperties": false
}🟢suggest_intervention(dysfunction_id, severity)
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.
輸入結構描述
{
"type": "object",
"properties": {
"dysfunction_id": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\s\\S]*\\S[\\s\\S]*$"
},
"severity": {
"type": "string",
"enum": [
"mild",
"moderate",
"severe"
]
}
},
"required": [
"dysfunction_id"
],
"additionalProperties": false
}🟢get_differential_map(dysfunction_id)
All dysfunctions that confuse with this one: forward confuses_with + incoming_references (reverse graph from manifest).
輸入結構描述
{
"type": "object",
"properties": {
"dysfunction_id": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\s\\S]*\\S[\\s\\S]*$"
}
},
"required": [
"dysfunction_id"
],
"additionalProperties": false
}🟢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.
輸入結構描述
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}🟢resolve_id(query)
Canonicalise a partial ID, display_id, slug, or dysfunction name. Always returns candidates; caller picks.
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\s\\S]*\\S[\\s\\S]*$"
}
},
"required": [
"query"
],
"additionalProperties": false
}🟢review_stats
Coverage statistics: total entries; per-axis, per-confidence, per-self-report counts; pre-canonical count; unreviewed count; manifest/schema/pattern-layer versions.
輸入結構描述
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}🟢render_pattern_review(pattern_ids)
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.
輸入結構描述
{
"type": "object",
"properties": {
"pattern_ids": {
"type": "array",
"minItems": 1,
"maxItems": 5,
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\s\\S]*\\S[\\s\\S]*$"
}
}
},
"required": [
"pattern_ids"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"schema_version": {
"type": "string",
"const": "pm-review/1"
},
"patterns": {
"type": "array",
"minItems": 1,
"maxItems": 5,
"items": {
"type": "object",
"required": [
"id",
"display_id",
"dysfunction_name",
"review",
"evidence",
"diagnostic_reliability"
],
"properties": {
"id": {
"type": "string"
},
"display_id": {
"type": "string"
},
"dysfunction_name": {
"type": "string"
},
"review": {
"type": "object"
},
"evidence": {
"type": "object"
},
"diagnostic_reliability": {
"type": "object"
}
}
}
},
"corpus": {
"type": "object",
"additionalProperties": false,
"required": [
"taxonomy_version",
"pattern_layer_version",
"corpus_sha256",
"total"
],
"properties": {
"taxonomy_version": {
"type": "string"
},
"pattern_layer_version": {
"type": "string"
},
"corpus_sha256": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"total": {
"type": "integer",
"minimum": 1
}
}
},
"notice": {
"type": "string"
}
},
"required": [
"schema_version",
"patterns",
"corpus",
"notice"
],
"additionalProperties": false
}社群
證據