Installation Options

Using Morphik

You can use Morphik via our Python SDK, our Rest API, via Morphik Console, or via MCP.

1

Create a virtual environment

python3.12 -m venv .venv
2

Activate the virtual environment

source .venv/bin/activate
3

Install the SDK

pip install morphik
4

Ingest and Query your first file

from morphik import Morphik

# Initialize the Morphik client
morphik = Morphik(uri="your-morphik-uri")
# Ingest a file
doc = morphik.ingest_file(file_path="super/complex/file.pdf")
doc.wait_for_completion()

# Query the file
response = morphik.query(query="What percentage of Morphik users are building something cool?")
print(response) # Responds with 100% :)

You can find our entire SDK documentation here.

Community Support

We have an open community with lots of discussion where you can get help, report bugs, and share your experiences with Morphik. If you need assistance or want to contribute, please join our community!

Join our Discord

Get help, report bugs, and connect with other Morphik users.

Next Steps

Now that you have the server running, you can explore the different ways to interact with the server.