Kreuzberg

v1.0.0Search & Data Extractionstable

A polyglot document intelligence framework with a Rust core. Extract text, metadata, images, and structured information from PDFs, Office documents, images, and 97+ formats. Available for Rust, Python, Ruby, Java, Go, PHP, Elixir, C#, R, C, TypeScrip

buncsharpdocument-intelligenceelixirffi
Share:
8,356
Stars
0
Downloads
0
Weekly
0/5

What is Kreuzberg?

Kreuzberg is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to polyglot document intelligence framework with a rust core. extract text, metadata, images, and structured information from pdfs, office documents, images, and 97+ formats. available for rust, python, ...

A polyglot document intelligence framework with a Rust core. Extract text, metadata, images, and structured information from PDFs, Office documents, images, and 97+ formats. Available for Rust, Python, Ruby, Java, Go, PHP, Elixir, C#, R, C, TypeScrip

This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • A polyglot document intelligence framework with a Rust core.

Use Cases

Extract text, metadata, and images from PDFs and 97+ document formats.
Parse structured information from complex documents with multi-language support.
kreuzberg-dev

Maintainer

LicenseNOASSERTION
Languagerust
Versionv1.0.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx kreuzberg

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Kreuzberg

Kreuzberg is a polyglot document intelligence framework with a Rust core that extracts text, metadata, and structured content from over 96 file formats including PDFs, Office documents, images with OCR, code files across 306 programming languages, emails, and archives. Its MCP server mode exposes three tools — extract_file, extract_bytes, and batch_extract — that allow AI assistants to read and analyze documents that would otherwise be opaque binary files. Data engineers, researchers, and developers use it to give AI models access to document content in automated pipelines without writing custom parsers for each format.

Prerequisites

  • Python 3.9 or newer (for pip install) OR Docker OR the Rust toolchain
  • An MCP client such as Claude Desktop, Cursor, or Cline
  • Optional: Tesseract OCR installed for image text extraction
  • Optional: ONNX Runtime 1.24+ for embedding-based features
1

Install Kreuzberg

Install the Kreuzberg Python package using pip. This includes the CLI and MCP server mode.

pip install kreuzberg
2

Verify the installation

Confirm that the kreuzberg CLI is available and check the version.

kreuzberg --version
3

Start the MCP server

Run the MCP server in stdio mode (default), which is what Claude Desktop and most MCP clients use.

kreuzberg mcp
4

Configure your MCP client

Add Kreuzberg to your MCP client configuration. The server runs via the kreuzberg mcp command on stdio.

{
  "mcpServers": {
    "kreuzberg": {
      "command": "kreuzberg",
      "args": ["mcp"]
    }
  }
}
5

Optional: run with HTTP transport

For clients that prefer HTTP over stdio, start the server with the HTTP transport on a custom port.

kreuzberg mcp --transport http --host 127.0.0.1 --port 8001

Kreuzberg Examples

Client configuration

Claude Desktop or Claude Code configuration for Kreuzberg MCP server using stdio transport.

{
  "mcpServers": {
    "kreuzberg": {
      "command": "kreuzberg",
      "args": ["mcp"]
    }
  }
}

Prompts to try

Example prompts demonstrating document extraction across different file types.

- "Extract the text from /path/to/contract.pdf and summarize the key terms"
- "Read the Excel file at /reports/q3-data.xlsx and tell me the column headers"
- "Extract all text from these three scanned images and combine them into a single document"
- "Use batch_extract to process all PDF files in /documents/ and find any that mention 'compliance'"
- "Extract metadata from /presentation.pptx — who created it and when was it last modified?"

Troubleshooting Kreuzberg

OCR extraction returns empty text for image files

Kreuzberg uses Tesseract for OCR by default. Install it with 'brew install tesseract' on macOS or 'apt install tesseract-ocr' on Ubuntu. Alternatively, enable PaddleOCR or EasyOCR backends, or use VLM OCR with an API key from a provider like OpenAI or Anthropic.

kreuzberg command not found after pip install

Ensure your Python Scripts or bin directory is on your PATH. Run 'pip show kreuzberg' to find the install location. On macOS/Linux, you may need to add ~/.local/bin to your PATH. Alternatively, run 'python -m kreuzberg mcp' as the command in your MCP config.

Password-protected PDFs fail to extract

Kreuzberg supports RC4 and AES encrypted PDFs. Pass the password using the extract_file tool's password parameter. Check the tool schema in your MCP client for the exact parameter name.

Frequently Asked Questions about Kreuzberg

What is Kreuzberg?

Kreuzberg is a Model Context Protocol (MCP) server that polyglot document intelligence framework with a rust core. extract text, metadata, images, and structured information from pdfs, office documents, images, and 97+ formats. available for rust, python, ruby, java, go, php, elixir, c#, r, c, typescrip It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Kreuzberg?

Follow the installation instructions on the Kreuzberg GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Kreuzberg?

Kreuzberg works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Kreuzberg free to use?

Yes, Kreuzberg is open source and available under the NOASSERTION license. You can use it freely in both personal and commercial projects.

Browse More Search & Data Extraction MCP Servers

Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "kreuzberg": { "command": "npx", "args": ["-y", "kreuzberg"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Kreuzberg?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides