Skip to main content
Glama

therapie-mcp

An unofficial MCP server for therapie.de's therapist directory. Search therapists in Germany and inspect public contact details, qualifications, billing options, treatment methods and reported availability. No login or API key is needed. A private local workflow adds profile comparison, a shortlist, editable email drafts, mail-app exports, contact history and follow-up dates.

Run

With uv:

git clone https://github.com/slopmaxxer/therapie-mcp.git
cd therapie-mcp
uv run therapie-mcp                    # MCP over stdio (default)
uv run therapie-mcp --version

Or run directly from the public repository:

uvx --from git+https://github.com/slopmaxxer/therapie-mcp.git therapie-mcp

Claude Code:

claude mcp add therapie -- uv --directory /absolute/path/to/therapie-mcp run therapie-mcp

For MCP clients with a JSON server configuration:

{
  "mcpServers": {
    "therapie": {
      "command": "uv",
      "args": ["--directory", "/absolute/path/to/therapie-mcp", "run", "therapie-mcp"]
    }
  }
}

Optional Streamable HTTP transport, bound to loopback by default:

uv run therapie-mcp --transport streamable-http --host 127.0.0.1 --port 8001

The MCP endpoint is http://127.0.0.1:8001/mcp. The server provides no HTTP authentication; keep it on loopback or behind your own authenticated gateway.

Related MCP server: MCP SearXNG Enhanced

Tools

Tool

Returns

get_search_filters

Current option IDs and German labels for all seven filter categories

search_therapists

One page of listings, profile IDs/URLs, addresses, phone numbers, distances, total count and next-page URL

get_therapist

Public contact details, qualifications/billing, focuses, methods, audiences, availability, memberships and profile update date

search_therapists requires location (town or postcode). Optional parameters:

  • radius_km: 1–200 km; omitted uses the website's default radius. The response reports the actual radius.

  • focus, method, billing, audience, gender, language, availability: an ID or exact German label from get_search_filters. IDs are resolved from the live search form rather than guessed.

  • keyword: free-text directory keyword or therapist name.

  • page: website page number, starting at 1. Request the next page when next_page_url is present.

For example:

{
  "location": "Berlin",
  "radius_km": 25,
  "billing": "GKV: Kassenleistung",
  "method": "Verhaltenstherapie",
  "language": "Englisch",
  "availability": "Freie Plätze vorhanden"
}

Pass a returned profile_id or /profil/.../ URL to get_therapist. The therapeutensuche prompt helps a client collect search preferences and compare sourced listings. Reported free places and billing are the directory's statements; confirm them with the practice.

Find, compare and contact

  1. workflow_overview shows your saved list, drafts and follow-ups. Use update_preferences to save sender name/email/phone, insurance, city and preferred language locally. get_preferences reads them; set a field to null to remove it.

  2. Use the live search filters. compare_therapists fetches up to ten profiles and compares explicit billing, methods, focuses, audiences, languages, availability and optional approbation requirements. Alternatives within a field are OR; different fields are AND. This is a factual comparison, not a medical suitability or quality ranking. Missing information stays unknown. Statutory coverage and statutory cost reimbursement are kept distinct.

  3. save_therapist stores a public profile snapshot plus private notes. get_shortlist lists saved entries and contact history; update_saved_therapist changes notes/status. Statuses are shortlisted, contacted, waiting, appointment, not_available, declined, archived. Refreshing a snapshot preserves existing notes/status unless you explicitly replace notes.

  4. draft_enquiry prepares an initial enquiry, waiting-list request or follow-up in German/English. It uses local sender/insurance preferences and only additional health/context details you supply. A missing public email requires a verified recipient; no address is guessed. Follow-up drafts require a recorded earlier enquiry. get_email_draft reads a draft; update_email_draft edits its recipient, subject or body.

  5. export_email_draft returns .eml content (with X-Unsent: 1) and a mailto link where its length permits. Save the returned text as the suggested .eml filename and open it in your mail app, or use the mailto link. Review and send there. The server does not connect to a mail provider.

  6. log_contact records actual enquiries, calls, replies, waitlist outcomes or appointments, with optional follow_up_on dates. complete_follow_up resolves a reminder. Drafting/export never marks an email sent or invents a contact. workflow_overview lists reminders due today or earlier.

  7. delete_saved_therapist removes that entry and its local notes, drafts and contact history.

Example comparison requirements:

{
  "profiles": ["profile.id.from.search"],
  "requirements": {
    "billing": ["GKV: Kassenleistung"],
    "methods": ["Verhaltenstherapie"],
    "languages": ["Englisch"]
  },
  "require_approbation": true
}

The local SQLite database defaults to ~/.local/share/therapie-mcp/workflow.sqlite3 (file 0600, new containing directory 0700). Override with --db PATH or THERAPIE_MCP_DB. Notes and draft bodies can contain private information; they remain on the machine running the MCP server and are returned only through its tools. Public searches never automatically include these notes. Local deletion removes records, not a promise of forensic erasure from SQLite journals or filesystem backups.

Appointment records and calendar export

record_appointment stores an appointment you have arranged, using an ISO date/time, duration and IANA timezone (default Europe/Berlin). list_appointments lists records; update_appointment reschedules or marks them completed/cancelled. Nothing books a visit or notifies the practice. export_appointment returns private .ics content for manual calendar import, with a stable UID, revision counter and UTC event times. The default title is simply “Termin”. Daylight-saving gaps are rejected; ambiguous local times require an explicit offset. Deleting a saved therapist also removes its appointment records. Back up the private workflow database if you need to preserve them.

Data access and privacy

The public-data tools read the same HTML pages as the website. It is not affiliated with therapie.de and does not use a documented official API. Parser failures are reported explicitly instead of silently returning an empty directory. Website changes can require updates.

All network access is by GET to HTTPS on therapie.de / www.therapie.de; redirects to other hosts are refused. Links to practice websites are returned as data and never fetched. Public contact email addresses use the same decoding as the site's own contact button. Email tools create drafts/exports locally. Nothing sends emails, makes appointments, signs in or submits contact forms.

Search locations, keywords and filters go to therapie.de. Avoid putting personal health histories or other unnecessary private information in the keyword field. Public directory results are cached only in memory: searches for 60 seconds, profiles for five minutes, filters for one hour, at most 32 pages. Requests are serialized and spaced at least one second apart. There is no bulk crawl or public-page disk cache; only explicitly saved shortlist snapshots persist in the private workflow database. Access refusals and rate limits are surfaced without attempts to bypass them.

Each response includes source_url and retrieved_at; profiles also include the site's update date when available. Source text is untrusted content, not instructions for an MCP client.

Tests

uv sync
uv run pytest                    # offline fixtures, mock HTTP, tool schemas and real stdio handshake
uv run pytest -m live             # a few real directory requests
uv build                         # wheel and source distribution

Fixtures use synthetic therapist details. Live tests check current filters, a filtered radius search and one result profile; they do not assert unstable result counts or copy profile content into the repo.

MIT license. Source: https://github.com/slopmaxxer/therapie-mcp.

Nix packaging

nix build builds the therapie-mcp executable and its Python runtime from uv.lock using uv2nix. nix run . -- --help shows the CLI. No network access is required when running the application build after its pinned inputs have been fetched. nix flake check runs the offline test suite (45 tests at introduction); live directory/API requests are excluded. Linux x86_64 and aarch64 packages are defined; builds were verified on x86_64.

nix develop provides an editable Python environment plus uv. Run pytest or therapie-mcp directly there; changes under src/ take effect immediately. Run uv lock when changing Python dependencies and commit uv.lock; update Nix inputs with nix flake update and commit flake.lock.

This project is a per-user stdio tool by default. It has no NixOS service module; there is no public authenticated HTTP deployment. Private databases and user configuration stay outside the Nix store and repository at the paths documented above.

Available Tools

21 tools
compare_therapistsA
Read-onlyIdempotent

Compare profiles against explicit directory facts. OR within a field, AND across fields.

Unknown/not_listed needs direct confirmation. No medical suitability/quality ranking is inferred.

Inputs: profiles (required), requirements (required), require_approbation. Returns: object

complete_follow_upB

Mark a recorded follow-up as resolved, removing it from the due list.

Inputs: contact_id (required). Returns: object

delete_saved_therapistA
Destructive

Delete a local saved therapist and all associated notes, drafts and contacts. Does not affect therapie.de.

Inputs: profile_id (required). Returns: object

draft_enquiryA

Create an editable email draft for a saved therapist, using local sender/insurance preferences.

Only include health details explicitly supplied for this email. Does not send or log a contact. Follow-up drafts require a recorded earlier enquiry. Missing email needs a verified recipient.

Inputs: profile_id (required), kind, language, recipient, +1 more. Returns: object

export_appointmentA
Read-onlyIdempotent

Return a private .ics calendar file for manual import. No booking or invitation is sent.

Inputs: appointment_id (required). Returns: object

export_email_draftA
Read-onlyIdempotent

Return .eml file content and a mailto link for the user's mail app. Review and send there; this does not send or log a contact.

Inputs: draft_id (required). Returns: object

get_email_draftA
Read-onlyIdempotent

Read the full recipient, subject and body of a private email draft before editing or exporting.

Inputs: draft_id (required). Returns: object

get_preferencesA
Read-onlyIdempotent

Read private local sender/contact/search preferences; nothing is sent to therapie.de.

Inputs: no named parameters. Returns: object

get_search_filtersA
Read-onlyIdempotent

Get current filter IDs and German labels from the actual therapie.de search form.

Includes focus, method, billing, audience, gender, additional language and reported availability.

Inputs: no named parameters. Returns: object

get_shortlistA
Read-onlyIdempotent

List saved profiles, local notes and actual contact history, optionally filtered by status.

Inputs: status. Returns: object

get_therapistA
Read-onlyIdempotent

Get a therapist's public profile: contact, qualifications, billing, methods, focuses and reported availability.

Inputs: profile (required). Returns: object

list_appointmentsB
Read-onlyIdempotent

List locally recorded appointments in chronological order.

Inputs: profile_id, include_cancelled. Returns: object

log_contactA

Record an actual contact/reply/appointment and optional follow-up date (YYYY-MM-DD). Never use this to pretend a draft was sent.

Inputs: channel (required), outcome (required), profile_id (required), notes, +2 more. Returns: object

record_appointmentA

Record a user-arranged appointment locally. ISO local time + IANA zone or explicit offset. Does not book/contact anyone.

Inputs: starts_at (required), profile_id (required), notes, title, +3 more. Returns: object

save_therapistA

Fetch a public profile and save/refresh it in the private shortlist. Existing notes/status are preserved unless notes are provided.

Inputs: profile (required), notes. Returns: object

search_therapistsA
Read-onlyIdempotent

Search public therapist listings with contact details, distances, source URLs and pagination.

Pass filter IDs or exact German labels from get_search_filters. One website page is returned; use the next page number when next_page_url is present. Availability is not a booking guarantee.

Inputs: location (required), page, focus, gender, +7 more. Returns: object

update_appointmentB

Reschedule or update a local appointment record. Does not notify the practice.

Inputs: appointment_id (required), notes, status, location, +3 more. Returns: object

update_email_draftA

Edit a draft's recipient, subject or body. Nothing is sent.

Inputs: draft_id (required), body, subject, recipient. Returns: object

update_preferencesA

Save local sender_name, sender_email, sender_phone, insurance, city, preferred_language. null removes a field.

Inputs: fields (required). Returns: object

update_saved_therapistA

Update the user's local shortlist notes/status, without contacting the therapist.

Inputs: profile_id (required), notes, status. Returns: object

workflow_overviewA
Read-onlyIdempotent

Show local preferences, saved therapists, drafts and due follow-ups. Nothing is sent to the directory.

Inputs: no named parameters. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 21 tools

    Disambiguation4/5

    The tools split cleanly into search/profile, preferences, shortlist, drafts, contacts, appointments, and a workflow summary. A few pairs touch adjacent local state (save_therapist vs update_saved_therapist, log_contact vs record_appointment, get_shortlist vs workflow_overview), but the descriptions make their boundaries clear.

    Naming Consistency4/5

    Nearly all tools use snake_case verb_noun patterns such as get_, search_, save_, update_, delete_, draft_, log_, record_, list_, and export_. Minor deviations are workflow_overview as a noun phrase and mixing get_shortlist with list_appointments for listing operations.

    Tool Count3/5

    21 tools is heavy for one MCP server, even though they cover several distinct sub-workflows: search, shortlist, drafts, contacts, appointments, preferences, and overview. The grouping is logical, but the surface is large enough that splitting it would improve scoping.

    Completeness4/5

    The main workflow is well covered: search -> profile -> shortlist CRUD -> draft create/read/update/export -> contact/follow-up -> appointment record/list/update/export. Gaps are mostly deletion operations: there is no delete for drafts, contacts/follow-ups, or appointments, and no explicit list of all drafts or follow-ups beyond the overview.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      D
      maintenance
      A Model Context Protocol server that enables integration with the Teamtailor API, allowing users to list, filter, and retrieve candidate information from their Teamtailor recruitment platform.
      2
      7 npm
      5
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A comprehensive reference implementation demonstrating all features of the Model Context Protocol (MCP) specification, serving as documentation, learning resource, and testing tool for MCP implementations.
      1
      MIT