MCP wrapper around Apache Tika for document parsing and metadata extraction.
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"tika-mcp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# tika-mcp `tika-mcp` is an MCP (Model Context Protocol) server that wraps [Apache Tika](https://github.com/apache/tika) and exposes document parsing tools over `streamable-http`. It supports local files and optional remote URL ingestion with SSRF protections, plus extraction for plain text, metadata, HTML, MIME detection, and recursive archive content. ## Features - Async direct Tika Server HTTP integration (`/tika`, `/meta`, `/detect/stream`, `/rmeta`) - MCP tools: `extract_text`, `extract_metadata`, `detect_mime_type`, `extract_html`, `extract_documents` - Local file controls (`TIKA_ALLOW_LOCAL_FILES`, `TIKA_ALLOWED_LOCAL_ROOTS`) - Optional remote URL ingestion with blocked private/internal targets by default - Bounded input and output sizes with clear tool-facing errors - Optional bearer-token protection for exposed MCP HTTP deployments ## Requirements - Python 3.11+ - Apache Tika Server reachable at `TIKA_URL` (default `http://localhost:9998`) ## Installation ```bash pip install tika-mcp ``` Or from source: ```bash pip install . ``` ## Quick Start 1. Install tika-mcp: ```bash pip install tika-mcp ``` 2. Start Apache Tika Server: ```bash docker run --rm -p 9998:9998 apache/tika:3.3.1.0 ``` 3. Start tika-mcp: ```bash export TIKA_URL=http://localhost:9998 tika-mcp ``` It now listens at `http://127.0.0.1:8000/mcp` (transport: `streamable-http`). ## Tools Every tool takes a single argument, `source` - a local file path, or an `http(s)://` URL (remote URLs must be enabled). All tools are read-only. | Tool | What it does | |---|---| | `extract_text` | Extract plain text from a document (PDF, Office, HTML, and other Tika-supported formats). | | `extract_metadata` | Return document metadata (author, title, content type, page count, …) without the body text. | | `detect_mime_type` | Detect the file's MIME/content type from its bytes, without full parsing. | | `extract_html` | Extract structured XHTML with headings, t…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.