# Doktor (npm · doktor-mcp)

Turkish health law for physicians: official legislation and high court decisions, source-grounded.

- Trust score: 74/100 (medium)
- Change this week: +5
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-10-24

## Components

- npm · `doktor-mcp`: 74/100 (this document), [markdown](https://verifymcp.io/servers/afsozer-doktor-mcp/doktor-mcp.md), [page](https://verifymcp.io/servers/afsozer-doktor-mcp/doktor-mcp)

## Channel facts

- Registry: `npm`
- Package: `doktor-mcp`
- Version: `0.59.2`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-10-24.

- **Supply Chain Security**: 99/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - 30 of 117 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 48/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (AGPL-3.0-only).
  - Actively maintained (last published 0 days ago).
  - Publishes a security disclosure policy (SECURITY.md).
- **Schema Quality & AI Usability**: 79/100
  - 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 1044 tokens (~104/item across 10 items; 8 tools + 2 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 33/100
  - Stability observed for 10 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 67/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 0% of tool parameters carry a description.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 8 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 9 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### How do I install the Doktor MCP server?

Doktor runs locally as an npm package, launched with npx -y doktor-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add afsozer-doktor-mcp -- npx -y doktor-mcp
```

### Cursor

```json
{
  "mcpServers": {
    "afsozer-doktor-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "doktor-mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "afsozer-doktor-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "doktor-mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add afsozer-doktor-mcp -- npx -y doktor-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "afsozer-doktor-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "doktor-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add afsozer-doktor-mcp --command npx --arg -y --arg doktor-mcp
```

### Hermes

```yaml
mcp_servers:
  afsozer-doktor-mcp:
    command: "npx"
    args: ["-y", "doktor-mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "afsozer-doktor-mcp": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "doktor-mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add afsozer-doktor-mcp -t stdio -c npx -a -y doktor-mcp
```

### Other

```json
{
  "mcpServers": {
    "afsozer-doktor-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "doktor-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-10-24 (score 74, +16)

- [security improvement] Malware scan: unverified → pass

### 2026-10-23 (score 58, −14)

- [security regression] Malware scan: pass → unverified
- [functional] Package version: 0.59.1 → 0.59.2

### 2026-10-22 (score 72, +3)

- [functional improvement] Stability: unverified → 0.27

### 2026-10-14 (score 69, +30)

- [security improvement] Injection markers: unverified → pass
- [security] First check of Judged manipulation: pass
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] Schema quality: unverified → 100
- [functional improvement] MCP protocol: unverified → pass
- [functional] First check of Tool coverage: 0
- [functional] First check of Schema quality: fail
- [functional] First check of Destructive annotations: pass
- [functional] First check of Schema quality: pass
- [functional] First check of Schema quality: good

### 2026-10-13 (score 39, +1)

- [functional improvement] Security disclosure: unverified → pass

### 2026-10-12 (score 38, −1)

- [functional regression] Security disclosure: pass → unverified

### 2026-10-09 (score 39)

First indexed and scored.

## MCP tools (8)

### `classify_medical_legal_question` (~117 tokens)

Advanced/granular tool: prefer prepare_doctor_legal_information_pack for end-to-end questions; use this only when you specifically need medical-legal question classification in isolation. Classifies a physician question into legal dimensions (patient_rights, professional_ethics, criminal, privacy_kvkk, civil_compensation, etc.) and extracts search terms. Example: { "question": "Hasta onami olmadan mudahale edilirse ne olur?" }

Input parameters:

- `question` (string, required)
- `sourceMode` (string)

### `search_health_legislation` (~101 tokens)

Advanced/granular tool: prefer prepare_doctor_legal_information_pack for end-to-end questions; use this only when you specifically need legislation search in isolation. Searches health-related legislation by keywords. Returns legislation titles, document IDs, and matched provisions. Example: { "searchTerms": ["hasta haklari", "tedaviyi red"], "sourceMode": "mock" }

Input parameters:

- `question` (string, required)
- `sourceMode` (string)

### `get_legislation_provisions` (~109 tokens)

Advanced/granular tool: prefer prepare_doctor_legal_information_pack for end-to-end questions; use this only when you specifically need legislation provisions by document ID in isolation. Fetches full text of legislation provisions by document IDs. Example: { "documentIds": ["mevzuat:hastahaklari-yonetmelik:madde-5"], "sourceMode": "mock" }

Input parameters:

- `documentIds` (array, required)
- `sourceMode` (string)

### `search_health_precedents` (~114 tokens)

Advanced/granular tool: prefer prepare_doctor_legal_information_pack for end-to-end questions; use this only when you specifically need court precedent search in isolation. Searches health-related court decisions from Yargitay and Danistay. Returns decision summaries, document IDs, and relevance scores. Example: { "searchTerms": ["hekim sorumlulugu", "tedaviyi red"], "sourceMode": "mock" }

Input parameters:

- `question` (string, required)
- `sourceMode` (string)

### `filter_reasoned_precedents` (~126 tokens)

Advanced/granular tool: prefer prepare_doctor_legal_information_pack for end-to-end questions; use this only when you specifically need to filter/classify court decisions for reasoned analysis. Takes a list of decisions and filters them by eligibility (full text, legal reasoning, relevance). Optionally accepts a packId to operate on a previously prepared pack's decisions. Example: { "decisions": [...], "query": "hekim ihmal" }

Input parameters:

- `decisions` (array)
- `packId` (string)
- `query` (string)

### `prepare_doctor_legal_information_pack` (~188 tokens)

PRIMARY ENTRY POINT — use this tool first for any physician legal question. Prepares a complete source-grounded legal information pack: classification, verbatim legislation provisions, verified high-court precedents, missing information, and lawyer review points. Returns a packId for follow-up drill-down. Set sourceMode:'live' to query official sources (mevzuat.gov.tr, Yargitay, Danistay); this is the default mode; sourceMode='mock' returns clearly-marked fixture data for testing only. Example: { "question": "Hasta tedaviyi reddederse hekimin sorumluluğu nedir?", "sourceMode": "live" }

Input parameters:

- `assessmentTone` (string)
- `includeDiagnostics` (boolean)
- `precedentSources` (array)
- `question` (string, required)
- `sourceMode` (string)

### `drill_down_pack_item` (~117 tokens)

Follow-up tool — call ONLY after prepare_doctor_legal_information_pack. Pass the packId from that response plus a follow-up question mentioning a specific article number, law name, chamber, or decision number to retrieve just that item without rebuilding the pack. Example: { "packId": "pack-3f9a2c", "followUpQuestion": "madde 24 ne diyor?" }

Input parameters:

- `followUpQuestion` (string, required)
- `pack` (object)
- `packId` (string)

### `get_decision_full_text` (~100 tokens)

Fetch the full verbatim text of a single court decision by its documentId (from search_health_precedents or a pack's verifiedHighCourtPrecedents). Use for deep-dive into one decision instead of re-running the whole pack. Example: { "documentId": "yargitay:99001", "sourceMode": "live" }

Input parameters:

- `documentId` (string, required)
- `sourceMode` (string)

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/afsozer-doktor-mcp/doktor-mcp#diagnostics

## Score history

- 2026-10-24: 74
- 2026-10-23: 58
- 2026-10-22: 72
- 2026-10-21: 69
- 2026-10-20: 69
- 2026-10-19: 69
- 2026-10-18: 69
- 2026-10-17: 69
- 2026-10-16: 69
- 2026-10-15: 69
- 2026-10-14: 69
- 2026-10-13: 39
- 2026-10-12: 38
- 2026-10-09: 39

## Common questions

### What is the Doktor MCP server?

Doktor is an MCP server listed in the public MCP registry as io.github.afsozer/doktor-mcp. Turkish health law for physicians: official legislation and high court decisions, source-grounded. This page covers its npm package (doktor-mcp).

### Is the Doktor MCP server safe to use?

Doktor scores 74 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 24 October 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the Doktor MCP server expose?

Doktor exposes 8 tools: classify_medical_legal_question, search_health_legislation, get_legislation_provisions, search_health_precedents, filter_reasoned_precedents, and 3 more. Their descriptions and schemas cost roughly 972 tokens of context every time the server is loaded.

### Is the Doktor MCP server still maintained?

Doktor is still listed as active in the MCP registry. We last reached this channel on 24 October 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the Doktor MCP server under?

Doktor declares the AGPL-3.0-only licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

## Links

- npm package: https://www.npmjs.com/package/doktor-mcp
- Socket report: https://socket.dev/npm/package/doktor-mcp
- Repository: https://github.com/afsozer/doktor-mcp
- Website: https://avfatihsozer.com/projeler/doktor-mcp
- Changelog RSS feed: https://verifymcp.io/servers/afsozer-doktor-mcp/doktor-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/afsozer-doktor-mcp/doktor-mcp.json
- HTML version of this page: https://verifymcp.io/servers/afsozer-doktor-mcp/doktor-mcp
