# Morphik

> Multimodal RAG for visually rich documents — search text, diagrams, tables, and scanned PDFs

- Category: Retrieval & Knowledge (RAG) / RAG Frameworks & Platforms
- Language: Python
- Licence: BUSL-1.1
- Repository: https://github.com/morphik-org/morphik-core
- Website: https://morphik.ai/docs
- Canonical page: https://ai-tldr.dev/tools/morphik/

## In short

Morphik is a RAG (retrieval-augmented generation) toolset built for visually rich and multimodal documents. It sits in the RAG Frameworks & Platforms category of the Retrieval & Knowledge (RAG) tools and is open-source, written in Python and licensed BUSL-1.1. To get started: install the Python SDK.

## Overview

Morphik is a RAG (retrieval-augmented generation) toolset built for visually rich and multimodal documents. Instead of flattening a file into plain text, it indexes the visual content of pages, so charts, diagrams, tables, and scanned PDFs stay searchable rather than getting mangled into unreadable strings.

It is aimed at developers who need to feed complex documents into an LLM application and want one system for ingestion, search, and querying instead of stitching together separate OCR, embedding, and vector-database tools. You can run it self-hosted with Docker or direct install, or use the managed service with a free tier.

Within the RAG-framework category, Morphik focuses on the multimodal side of retrieval. It uses techniques such as ColPali to understand page visuals, and exposes its functionality through a Python SDK, a REST API, a web console, and the Model Context Protocol (MCP).

## What it does

- Multimodal search over images, PDFs, and videos through a single endpoint, using ColPali-style retrieval that understands page visuals
- Ingestion for unstructured and visually rich documents, including diagrams, tables, and scanned PDFs
- Metadata extraction with bounding boxes, labeling, and classification
- Integrations with existing tools and workflows such as Google Suite, Slack, and Confluence
- Multiple access paths: Python SDK, REST API, a web console, and Model Context Protocol (MCP)
- Self-hostable via Docker or direct install, plus a managed service with a free tier

## Getting started

The quickest path is the managed service: sign up for a free account at morphik.ai to get a Morphik URI, then use the Python SDK to ingest and query files. You can also self-host the open-source core via Docker or direct install.

1. Install the Python SDK

   Install the morphik package from PyPI.

```bash
pip install morphik
```

2. Ingest a file

   Create a client with your Morphik URI and ingest a document. Morphik handles complex, visually rich files like PDFs.

```python
from morphik import Morphik

morphik = Morphik("<your-morphik-uri>")
morphik.ingest_file("path/to/your/super/complex/file.pdf")
```

3. Query your data

   Ask questions in natural language and Morphik searches across the ingested content.

```python
morphik.query("What's the height of screw 14-A in the chair assembly instructions?")
```

## When to use it

- Building a Q&A or chat application over technical manuals where answers depend on diagrams, tables, and figures rather than plain text
- Searching across large collections of scanned PDFs and mixed text-and-image documents where traditional OCR pipelines lose accuracy
- Extracting structured metadata — bounding boxes, labels, classifications — from unstructured documents at scale
- Connecting an LLM to documents in tools like Google Suite, Slack, or Confluence through Morphik's integrations and MCP support
