Sprachmemo

Model Context Protocol (MCP)

Plug Sprachmemo into Claude, Cursor, and any other MCP-aware AI tool.

MCP is the open protocol AI assistants use to talk to external tools. This server is auto-built from the Sprachmemo data models - one install line, configure your AI host, and your assistant can list, read, create, update, and delete data on your behalf. Auth uses the same personal access tokens the rest of the API accepts, so you control exactly which models the assistant can touch.

Install

One line, one file. The script lands under your home directory - no pip install, no system-wide changes. Pick your OS in the tabs below.

curl -fsSL https://sprachmemo.de/xapi2/mcp/install.sh | bash
Download script manuallyVersion: 1.0.3·Command: voicemcp·Tools: 16·checksum: 7f21a059d5

Provide a token

Create a personal access token (PAT) from the Integrations menu and tick the scopes the AI should have - read-only for safe exploration, or read + write for hands-on editing. PATs are revocable and scoped, so a leaked token can't outlive a single revocation. Pass the token via the VOICEMCP_TOKEN environment variable in your AI host's server config (recommended), or run voicemcp login --token pat_... once and the token persists for every future invocation.

export VOICEMCP_TOKEN=pat_...
voicemcp doctor

Configure your AI client

Every MCP-capable AI host accepts a small JSON config that tells it which servers to launch. Drop the snippet below into the host's MCP config file and restart it. The server runs locally as a subprocess of the host - it never accepts inbound connections from the network.

{
"mcpServers": {
"voicemcp": {
"command": "voicemcp",
"args": [],
"env": {
"VOICEMCP_TOKEN": "pat_..."
}
}
}
}
ClientConfig file
Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.json

macOS · Windows: %APPDATA%\Claude\claude_desktop_config.json

Cursor~/.cursor/mcp.json

Per-project alt: <repo>/.cursor/mcp.json

Cline (VS Code)~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Linux/Windows: equivalent globalStorage path

Continue~/.continue/config.json

MCP servers under `experimental.modelContextProtocolServers`

Restart the client after editing - MCP servers are loaded at client launch.

What the assistant can do

Each data model exposes one tool per available operation. Read tools ({type}_list, {type}_get) are safe to call freely; write tools ({type}_create, {type}_update, {type}_delete) mutate data and should be confirmed with the user. The server cannot create users, manage tokens, or change billing - those happen in the Sprachmemo web UI.

ModelTools
whoami
whoami

Returns the currently signed-in user - useful as the first call.

recording
recording_list (list)recording_get (get)recording_create (create)recording_update (update)recording_delete (delete)
voice_note
voice_note_list (list)voice_note_get (get)voice_note_create (create)voice_note_update (update)voice_note_delete (delete)
voice_tag
voice_tag_list (list)voice_tag_get (get)voice_tag_create (create)voice_tag_update (update)voice_tag_delete (delete)
Read toolWrite tool (confirmation recommended)

Example prompts

Once the server is registered in your AI client, the model picks up the tool list automatically. These prompts show how to work with the data models together with the AI.

Confirm you can talk to the Sprachmemo server, then list the
five most recently created recordings. Summarise the result.

Environment variables

VariablePurpose
VOICEMCP_TOKENPersonal access token used for every API call. Recommended.
VOICEMCP_BASE_URLOverride the baked-in server URL (testing only).
VOICEMCP_NO_AUTOUPDATESkip the once-per-day version check + self-replace.
VOICEMCP_NO_TELEMETRYSkip the anonymous usage analytics.

Local diagnostics

The same script is runnable directly from a shell - useful when the AI client reports that the server failed to start.

# Server reachable? Token valid? Tool surface rendered?
voicemcp doctor

Security

The server runs locally as a subprocess of your AI client and never accepts inbound connections from the network. Tool calls only target the official API URL baked into your script; a cross-origin redirect would have its Authorization header stripped before the next hop. Revoke the token any time from the Integrations menu.

  • No user or token management. The server cannot create accounts, change passwords, mint or revoke tokens, or touch billing - only data models.
  • PAT scopes are the brake. Grant exactly the scopes the assistant needs. A read-only PAT turns the server into a safe exploration session.
  • Write tools are marked destructive. Most AI clients prompt before calling - leave the confirmation switch on.
  • Server checks still run. Validation, access rules, and audit logging fire on every tool call exactly as they do for the web UI.

Telemetry + auto-update

The server sends one anonymous analytics event per tool call (tool name, version, OS - no arguments, no field values) so the team running this app can see how it's used. Disable with VOICEMCP_NO_TELEMETRY=1. Separately, the server checks for a newer version at most once every 24 hours and replaces itself in place; VOICEMCP_NO_AUTOUPDATE=1 disables that. Updated bytes activate on the next host restart - the running session keeps the old code so an in-flight request can't break.