New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@samuraizer/mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@samuraizer/mcp-server

Local-first MCP server for meeting recordings: transcripts, summaries, action items, and decisions. Runs on your machine with whisper.cpp and Ollama — no cloud.

latest
Source
npmnpm
Version
0.1.7
Version published
Weekly downloads
63
10.53%
Maintainers
1
Weekly downloads
 
Created
Source

@samuraizer/mcp-server

Local-first MCP server that gives AI agents access to your meeting recordings — transcripts, summaries, action items, and decisions — without sending anything to the cloud.

Model Context Protocol server for Samuraizer — exposes processed meetings to AI agents (Claude Desktop, Claude Code, MCP Inspector, etc.) over stdio.

Tools at a glance

  • normalize_audio — Normalize an audio file to 16kHz mono PCM WAV format required by Whisper.
  • transcribe_audio — Transcribe an audio file using whisper.cpp. Returns the transcript text.
  • summarize_transcript — Generate a concise meeting summary from transcript text.
  • extract_action_items — Extract action items from a meeting transcript. Returns a JSON list of tasks with owner and due date.
  • extract_decisions — Extract confirmed decisions from a meeting transcript. Returns a JSON list of decisions.
  • process_recording — Run the full Samuraizer pipeline on an audio file. Returns summary, action items, decisions, and output file paths.
  • search_meetings — Search meetings by summary text, name, action items, and decisions. Transcripts are not searched — use get_meeting for those. Returns ranked results with snippets.
  • list_meetings — List all processed meetings, sorted newest first. Optionally limit results.
  • get_meeting — Retrieve the full processed output for a specific meeting by id.
  • meeting://{id} (resource) — A single processed meeting, accessible by its ULID.

Full input and output details for each tool are in Tools below.

The server provides two modes:

  • Query mode — list and retrieve previously processed meetings as structured data or as MCP resources. Read-only, no LLM or audio dependencies needed at runtime.
  • Process mode — run the full Samuraizer pipeline (normalize → transcribe → summarize → extract action items / decisions) on an audio file. Requires the same local toolchain as samuraizer itself: whisper-cli, ffmpeg, ffprobe, and a running Ollama instance.

Everything stays local. The server reads meetings from a directory on your machine and never sends data to any external service.

Prerequisites

This package depends on @samuraizer/cli for its config and pipeline. Before using the MCP server, install and initialize the CLI:

npm install -g @samuraizer/cli
samuraizer init

Edit the generated config (path printed by samuraizer config path) and make sure meetingsDir points to the directory where your processed meetings live. The MCP server reads from that same directory.

For process mode, you additionally need the Samuraizer runtime dependencies installed and configured: whisper-cli from whisper.cpp, ffmpeg / ffprobe, and a running Ollama server with a pulled model. See the main Samuraizer README for setup details.

For query mode only (list_meetings, get_meeting, meeting:// resources), none of the runtime dependencies are required — just a populated meetingsDir.

Installation

npm install -g @samuraizer/mcp-server

This exposes a samuraizer-mcp binary on your PATH.

Usage

Run the server directly

samuraizer-mcp

The server speaks MCP over stdio. It is not meant to be used interactively from a shell — it is intended to be launched by an MCP client such as Claude Desktop or MCP Inspector.

Inspect with MCP Inspector

npx @modelcontextprotocol/inspector samuraizer-mcp

Opens a browser UI where you can list tools and resources, call them with arguments, and see responses. Useful for debugging.

Connect from Claude Desktop

Add the server to your Claude Desktop configuration file:

  • macOS / Linux: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or ~/.config/Claude/claude_desktop_config.json (Linux)
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "samuraizer": {
      "command": "samuraizer-mcp"
    }
  }
}

If samuraizer-mcp is not found by Claude Desktop (PATH issues are common with version managers like fnm, nvm, or volta), use an absolute path instead. Find it with which samuraizer-mcp, then:

{
  "mcpServers": {
    "samuraizer": {
      "command": "/absolute/path/to/samuraizer-mcp"
    }
  }
}

You can also override the meetings directory per-server via environment variables:

{
  "mcpServers": {
    "samuraizer-personal": {
      "command": "samuraizer-mcp",
      "env": {
        "SAMURAIZER_MEETINGS_DIR": "/Users/me/personal-meetings"
      }
    },
    "samuraizer-work": {
      "command": "samuraizer-mcp",
      "env": {
        "SAMURAIZER_MEETINGS_DIR": "/Users/me/work-meetings"
      }
    }
  }
}

Restart Claude Desktop after editing the config.

Connect from Claude Code

claude mcp add samuraizer samuraizer-mcp

See the Claude Code MCP documentation for managing MCP servers from the CLI.

Configuration

The MCP server reads the same config file as @samuraizer/cli. There is no separate config for the server itself.

Environment variable overrides

All config fields accept env-var overrides, useful for running the server in different contexts (e.g. one MCP server per project):

VariableMaps to
SAMURAIZER_MEETINGS_DIRmeetingsDir
SAMURAIZER_MODELmodel
SAMURAIZER_OLLAMA_BASE_URLollamaBaseUrl
SAMURAIZER_WHISPER_COMMANDwhisperCommand
SAMURAIZER_WHISPER_MODEL_PATHwhisperModelPath
SAMURAIZER_WHISPER_DEVICEwhisperDevice
SAMURAIZER_WHISPER_PROMPTwhisperPrompt
SAMURAIZER_WHISPER_CARRY_INITIAL_PROMPTwhisperCarryInitialPrompt
SAMURAIZER_LANGUAGElanguage
SAMURAIZER_FFMPEG_COMMANDffmpegCommand
SAMURAIZER_FFPROBE_COMMANDffprobeCommand
SAMURAIZER_LLM_CONCURRENCYllmConcurrency

Env vars override values from the config file. Booleans accept 1/0, true/false, yes/no, or on/off.

llmConcurrency defaults to 1, so process_recording runs summary, action-item, and decision extraction sequentially on all hardware. Values 2 and 3 explicitly opt into parallel Ollama requests and require enough spare VRAM for additional KV-cache slots.

Tools

Query mode

search_meetings

Search processed meetings by summary text, meeting name, action items, and decisions.

Transcripts are deliberately not searched — they are one to two orders of magnitude larger than the fields above, and scanning them on every query would not scale. Use get_meeting when you need the transcript.

Input:

  • query (string, required) — search query, case-insensitive. See Query syntax.
  • limit (integer, optional) — maximum results to return (default 10).

Returns: JSON array of ranked results, each with id, name, generated_at, duration_sec, score, matched_in (any of summary, name, action_items, decisions), and a snippet around the best match. Results are ranked by how many fields matched — a summary hit weighs more than a name, action-item, or decision hit — with ties broken by recency. Useful for finding a specific meeting without enumerating all of them.

Query syntax

The query is split into words, and a meeting matches only when every word is found. The words do not have to share a field, so patient id post log matches a meeting whose summary mentions the patient ID and whose action items mention the post log.

Each word matches as a substring, so export finds exporter.

Wrap the query in double quotes to require an exact phrase instead:

patient id post log      → all four words, anywhere in the searched fields
"patient id post log"    → that exact run of characters, in one field

A meeting containing the whole query verbatim scores above one that merely scatters the same words, so exact matches still surface first.

list_meetings

List processed meetings, sorted newest first.

Input:

  • limit (integer, optional) — maximum number of results to return.

Returns: JSON array of meeting summaries (id, name, generated_at, summary_preview, participant_count, duration_sec).

get_meeting

Retrieve the full processed output for a specific meeting.

Input:

  • id (string, required) — the meeting ID (ULID).

Returns: the full meeting JSON, including transcript, summary, action items, decisions, and provenance metadata. Returns an error if the meeting is not found.

Process mode

These tools run parts of the Samuraizer pipeline on demand. They have local runtime dependencies (whisper-cli, ffmpeg, Ollama).

process_recording

Run the full pipeline on an audio file. Recommended entrypoint for processing recordings via an agent.

Input:

  • filePath (string, required) — absolute path to the audio file.
  • model (string, optional) — Ollama model to use; falls back to the configured default.

Returns: JSON with summary, action items, decisions, and output file paths.

normalize_audio

Normalize an audio file to 16 kHz mono PCM WAV (the format Whisper expects).

Input: inputPath, outputPath (both required absolute paths).

transcribe_audio

Transcribe an audio file with whisper.cpp.

Input: filePath (required absolute path).

summarize_transcript

Generate a meeting summary from transcript text.

Input: transcriptText (required), model (optional).

extract_action_items

Extract action items from a transcript.

Input: transcriptText (required), model (optional).

extract_decisions

Extract confirmed decisions from a transcript.

Input: transcriptText (required), model (optional).

Resources

The server exposes each processed meeting as an MCP resource:

  • URI scheme: meeting://{id}
  • MIME type: application/json
  • Content: the full meeting JSON, identical to what get_meeting returns.

Listing resources returns one entry per meeting in meetingsDir. Reading a resource returns its full content. Resources are particularly useful for clients that surface them in their UI (e.g. Claude Desktop's resource picker).

Meeting output format

All meeting JSON conforms to the open Samuraizer meeting-output schema, which describes meeting structure, transcript segments, summaries, action items, decisions, and provenance metadata.

The schema and its specification live in the memnex-spec package:

Troubleshooting

Error: The config file is not created, please run 'samuraizer init'

The MCP server uses the same config as the CLI. Install @samuraizer/cli and run samuraizer init first.

Server starts but list_meetings returns an empty array

Either meetingsDir is empty, or all meeting.json files in it failed schema validation. The server logs structured warnings to stderr for each invalid meeting it skips — check the terminal where the MCP server is running (or the Claude Desktop logs at ~/Library/Logs/Claude/mcp-server-samuraizer.log on macOS).

EACCES when launching the server

After running npm run build from source, the executable bit on dist/index.js may need to be set. The package's postbuild script handles this automatically when installing from npm. If you cloned the repo, make sure chmod +x dist/index.js ran.

Claude Desktop says the server is not connected

Common causes:

  • samuraizer-mcp is not on the PATH that Claude Desktop sees. Use an absolute path.
  • The config file is invalid JSON. Validate it with jq . < claude_desktop_config.json.
  • The server is crashing on startup due to a missing config file or invalid config — check the Claude Desktop MCP logs.

License

MIT — see LICENSE.

Source

github.com/UladzKha/samuraizer-cli (monorepo)

Keywords

mcp

FAQs

Package last updated on 07 Sep 2026

Related posts