Document intelligence MCP server for extracting text, metadata, OCR output, structured data, embeddings, chunks, cache state, and supported-format information from PDFs, Office files, images, code, and many other formats.
Kreuzberg MCP can read local files supplied to extraction tools and can process batches of files when paths are provided., OCR, structured extraction, embeddings, and VLM features may invoke local or provider-hosted models depending on configuration., Cache tools can warm, inspect, or clear model/cache state; review cache directories and mounted volumes in shared environments., Docker deployments should mount only the directories the agent is allowed to read., Treat extracted text, metadata, structured fields, embeddings, and chunks as sensitive outputs when source documents are private.
Privacy notes
Documents may contain PII, contracts, invoices, source code, screenshots, medical data, financial data, credentials, or proprietary design information., Extracted metadata can reveal filenames, authors, timestamps, document structure, attachments, image details, and software fingerprints., OCR and structured extraction can expose text that was not previously copyable from scanned PDFs or images., Embedding and VLM/LLM configuration may send document-derived content to external model providers if configured that way., Cache directories, logs, model downloads, and MCP transcripts may retain document-derived context.
Author
Kreuzberg
Submitted by
oktofeesh1
Claim status
unclaimed
Last verified
2026-06-06
Decision playbook
Review trust signals before you adopt
Signals are present but mixed. Use the checklist below to confirm the source and operational safety for your environment.
Compare context
Selected
0
Current score
63
Baseline
—
Delta
No baseline selected
No major trust-signal divergence detected in the current selection.
Source and provenance checks
Needs review
Confirm ownership and provenance before trusting install instructions.
Source link availableRequired
Open the canonical repository and verify ownership.
Done
Source provenance statusRequired
Marked as source-backed.
Done
Metadata reviewed
No reviewed flag detected in metadata.
Pending
Safety and privacy checks
Complete
Validate risk disclosures before installation or API wiring.
Safety notes presentRequired
Review the listed safety guidance before running commands.
Done
Privacy notes presentRequired
Review data handling notes before connecting accounts or secrets.
Done
Trust level risk gateRequired
Trust level does not block evaluation.
Done
Package and install checks
Needs review
Check package metadata and artifact integrity signals.
Install payload available
Install or copy payload is available for review.
Done
Package verification flag
No package verification flag provided.
Pending
Checksum metadata
No checksum provided for downloaded artifact.
Pending
Compare-driven decision checks
Needs review
Use compare context to validate trade-offs before adoption.
Compare tray has multiple entries
Add at least one more entry to compare trust differences.
5 safety and 5 privacy notes across 6 risk areas. Review closely: credentials & tokens, network access, third-party handling.
6 areas
SafetyLocal filesKreuzberg MCP can read local files supplied to extraction tools and can process batches of files when paths are provided.
SafetyThird-party handlingOCR, structured extraction, embeddings, and VLM features may invoke local or provider-hosted models depending on configuration.
SafetyData retentionCache tools can warm, inspect, or clear model/cache state; review cache directories and mounted volumes in shared environments.
SafetyGeneralDocker deployments should mount only the directories the agent is allowed to read.
SafetyGeneralTreat extracted text, metadata, structured fields, embeddings, and chunks as sensitive outputs when source documents are private.
PrivacyCredentials & tokensDocuments may contain PII, contracts, invoices, source code, screenshots, medical data, financial data, credentials, or proprietary design information.
PrivacyLocal filesExtracted metadata can reveal filenames, authors, timestamps, document structure, attachments, image details, and software fingerprints.
PrivacyGeneralOCR and structured extraction can expose text that was not previously copyable from scanned PDFs or images.
PrivacyThird-party handlingEmbedding and VLM/LLM configuration may send document-derived content to external model providers if configured that way.
PrivacyNetwork accessCache directories, logs, model downloads, and MCP transcripts may retain document-derived context.
Safety notes
Kreuzberg MCP can read local files supplied to extraction tools and can process batches of files when paths are provided.
OCR, structured extraction, embeddings, and VLM features may invoke local or provider-hosted models depending on configuration.
Cache tools can warm, inspect, or clear model/cache state; review cache directories and mounted volumes in shared environments.
Docker deployments should mount only the directories the agent is allowed to read.
Treat extracted text, metadata, structured fields, embeddings, and chunks as sensitive outputs when source documents are private.
Privacy notes
Documents may contain PII, contracts, invoices, source code, screenshots, medical data, financial data, credentials, or proprietary design information.
Extracted metadata can reveal filenames, authors, timestamps, document structure, attachments, image details, and software fingerprints.
OCR and structured extraction can expose text that was not previously copyable from scanned PDFs or images.
Embedding and VLM/LLM configuration may send document-derived content to external model providers if configured that way.
Cache directories, logs, model downloads, and MCP transcripts may retain document-derived context.
Prerequisites
Python environment suitable for installing `kreuzberg[all]`, or Docker if using the container path.
MCP-capable client such as Claude Desktop, Cursor, or a custom stdio MCP client.
Local file paths or mounted volumes limited to documents you are authorized to process.
Optional OCR, embeddings, VLM OCR, and LLM provider dependencies configured only when those features are needed.
Understanding of document sensitivity before extracting, OCRing, embedding, or chunking private files.
Schema details
Install type
cli
Troubleshooting
No
Source repository stats
Scope
Source repo
Collection metadata
Estimated setup
10 minutes
Difficulty
intermediate
Full copyable content
pip install "kreuzberg[all]"
kreuzberg mcp
About this resource
Content
Kreuzberg MCP Server exposes Kreuzberg's document intelligence engine through
the Model Context Protocol. It lets Claude, Cursor, and custom MCP clients
extract content from files, generate embeddings, chunk text, manage cache state,
detect formats, and inspect supported extraction capabilities without writing
custom extraction code.
The upstream MCP guide documents stdio mode with kreuzberg mcp as the default
local setup. Docker can also run the same MCP mode when file access and cache
volumes need to be controlled more explicitly.
These sources were reviewed on 2026-06-06. Prefer the live MCP integration
guide, CLI usage docs, Docker guide, repository README, container package, and
PyPI metadata for current install commands, server modes, feature flags, and
runtime dependencies.
Features
Run an MCP server over stdio with kreuzberg mcp.
Extract file content and metadata from PDFs, Office documents, images, HTML,
XML, email, archives, academic formats, text files, and code.
Detect MIME types and list supported formats.
Batch-extract several files.
Generate embeddings and chunk text when configured.
Extract structured data when the required LLM feature is available.
Inspect and clear cache state.
Use config files to apply extraction defaults.
Run the MCP server through Docker with controlled file and cache mounts.
Installation
Install Kreuzberg with its optional feature bundle:
pip install "kreuzberg[all]"
Start the stdio MCP server:
kreuzberg mcp
Configure an MCP client with the documented command:
For containerized setups, mount only the document directories and config files
the agent should access.
Use Cases
Extract text and metadata from PDFs, Office files, images, and email for
analysis in Claude.
OCR scanned documents or screenshots before summarization.
Chunk long documents for RAG and agent workflows.
Generate embeddings for document-derived text when configured.
Detect file types before choosing an extraction path.
Build a local document-processing MCP workflow without exposing documents to
a hosted extraction service.
Safety and Privacy
Kreuzberg can turn private files into model-visible text. That is useful, but it
also means access boundaries matter. Mount or expose only approved directories,
avoid broad workspace paths, and start with a small file before batch
processing.
Review OCR, embedding, VLM, and LLM provider configuration before enabling
features that can send document-derived content outside the local machine. Keep
cache directories, logs, and extracted outputs out of shared repos unless they
are approved for publication.
Duplicate Check
No kreuzberg-dev/kreuzberg entry, Kreuzberg MCP entry, or matching Kreuzberg
source URL was found in content/mcp.
Show that Kreuzberg MCP Server is listed on HeyClaude. Paste this Markdown into your README — it renders the badge and links back to this page.
[](https://heyclau.de/entry/mcp/kreuzberg-mcp-server)
How it compares
Kreuzberg MCP Server side by side with 3 alternatives on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.
Document intelligence MCP server for extracting text, metadata, OCR output, structured data, embeddings, chunks, cache state, and supported-format information from PDFs, Office files, images, code, and many other formats.
MCP server for connecting Claude to AFFiNE Cloud or self-hosted AFFiNE workspaces, documents, databases, comments, collections, folders, tags, notifications, blobs, access tokens, semantic page composition, templates, edgeless canvas data, and workspace organization workflows over stdio or HTTP.
✓Kreuzberg MCP can read local files supplied to extraction tools and can process batches of files when paths are provided.
OCR, structured extraction, embeddings, and VLM features may invoke local or provider-hosted models depending on configuration.
Cache tools can warm, inspect, or clear model/cache state; review cache directories and mounted volumes in shared environments.
Docker deployments should mount only the directories the agent is allowed to read.
Treat extracted text, metadata, structured fields, embeddings, and chunks as sensitive outputs when source documents are private.
✓Markdownify MCP Server can read local files and convert documents, spreadsheets, presentations, images, audio files, and Markdown files.
File conversion tools should be restricted with MD_ALLOWED_PATHS or container mounts before using the server with sensitive directories.
Audio transcription, image OCR, document conversion, and webpage extraction can expose hidden text, metadata, comments, and embedded content.
Webpage, YouTube, and Bing tools retrieve external content that can contain prompt-injection text or unsafe instructions.
Review converted Markdown before using it as source material for decisions, publications, or further tool calls.
✓The full tool surface can create, update, publish, revoke, move, replace, and delete AFFiNE workspaces, documents, folders, collections, comments, database rows, blobs, surface elements, tags, and access tokens.
Start with AFFINE_TOOL_PROFILE=read_only or disable groups such as destructive, admin, blobs, users, access_tokens, docs.database, or write when the assistant only needs discovery or reading.
HTTP mode exposes MCP endpoints and must be protected with bearer or OAuth authentication, HTTPS, allowed origins, and deployment-level access controls.
AFFiNE Cloud requires API tokens for MCP usage; avoid trying to automate email/password login against Cloud deployments.
Cookie and password-based auth can grant broad account access and should be avoided for unattended or shared deployments.
✓MarkItDown MCP exposes one `convert_to_markdown(uri)` tool that accepts `http:`, `https:`, `file:`, and `data:` URIs.
The server runs with the privileges of the user that starts it and can read any file that user can access when given a matching file URI.
Streamable HTTP and SSE modes are local-use alternatives to stdio; the README warns not to bind them to non-localhost interfaces unless the security implications are understood.
The HTTP and SSE server modes have no authentication, so any local process or user that can reach the bound interface can use the conversion tool.
Use a container, virtual machine, or dedicated low-privilege user when converting untrusted documents or when file access must be tightly bounded.
Privacy notes
✓Documents may contain PII, contracts, invoices, source code, screenshots, medical data, financial data, credentials, or proprietary design information.
Extracted metadata can reveal filenames, authors, timestamps, document structure, attachments, image details, and software fingerprints.
OCR and structured extraction can expose text that was not previously copyable from scanned PDFs or images.
Embedding and VLM/LLM configuration may send document-derived content to external model providers if configured that way.
Cache directories, logs, model downloads, and MCP transcripts may retain document-derived context.
✓File paths, file contents, extracted text, OCR output, audio transcripts, webpage text, search results, prompts, tool arguments, and conversion errors may be visible to the MCP client and model provider.
Documents and media can contain personal data, customer material, credentials, internal plans, meeting recordings, legal drafts, and proprietary screenshots.
Avoid pointing the server at broad home, workspace, downloads, or cloud-sync directories unless every file in scope is approved for model access.
✓Workspaces, document titles, document bodies, comments, tags, database schemas, database rows, edgeless canvas data, notifications, user profiles, access-token metadata, blobs, and exported markdown can be sent to the MCP client and model.
API tokens, cookies, passwords, bearer tokens, OAuth config, and saved config files should be treated as secrets and kept out of prompts, logs, screenshots, issues, and committed MCP config.
Generated or modified documents can persist in AFFiNE and may become visible to collaborators depending on workspace permissions and sharing state.
Blob upload, cleanup, export, and publish/revoke workflows can expose files, generated content, or collaboration state beyond the current prompt.
✓File paths, file contents, extracted Markdown, conversion errors, remote URLs, data URIs, and document metadata may become visible to the MCP client and model provider.
Converting Office files, PDFs, media, web pages, or archives can reveal hidden text, comments, tracked changes, metadata, notes, image text, links, and embedded objects.
Docker mounts make every mounted file readable to the MCP server path inside the container; mount only approved directories and prefer read-only mounts when possible.
Remote URI conversion can reveal research targets, customer URLs, internal endpoints, or private document locations to upstream servers and to the model transcript.
Prerequisites
Python environment suitable for installing `kreuzberg[all]`, or Docker if using the container path.
MCP-capable client such as Claude Desktop, Cursor, or a custom stdio MCP client.
Local file paths or mounted volumes limited to documents you are authorized to process.
Optional OCR, embeddings, VLM OCR, and LLM provider dependencies configured only when those features are needed.
Node.js and npx available to the MCP client runtime.
Python and markitdown dependencies available for file conversion features.
Optional Docker setup if you want mounted read-only directories and explicit allowed paths.
MD_ALLOWED_PATHS configured when the server should be restricted to specific file directories.
Node.js and npm for installing the affine-mcp-server package.
AFFiNE Cloud API token or approved self-hosted AFFiNE credentials.
AFFiNE base URL for the Cloud or self-hosted deployment.
Clear workspace scope and least-privilege tool profile before enabling write, admin, destructive, blob, or access-token tools.
Python 3.10 or newer and the `markitdown-mcp` package installed, or a locally built Docker image from the package Dockerfile.
Local files or remote resources that the MCP server's user is allowed to read and convert.
Sandboxed user, virtual machine, or container setup when exposing document conversion to an agent.
Explicit file and directory boundaries before mounting local data into a container.