Universal AI Converter

Universal AI Converter

Converts documents, images, audio, and video into Markdown or structured JSON. Compatible with MCP-compatible AI agents as a stdio server providing a convert_file tool.

Category
Visit Server

README

Universal AI Converter

Convert documents, images, audio, and video into Markdown or structured JSON. The core is agent-agnostic: use it from a terminal, Python, an HTTP API, an MCP-compatible AI agent, Docker, or your own application.

One-command Codex installation

The installer creates an isolated environment, installs all conversion features, installs the Codex plugin, and enables automatic file routing.

Windows PowerShell:

irm https://raw.githubusercontent.com/KOLRNCH/Universal-AI-Converter/main/install.ps1 | iex

macOS or Linux:

curl -fsSL https://raw.githubusercontent.com/KOLRNCH/Universal-AI-Converter/main/install.sh | sh

Requirements: Python 3.10+ and Codex. Restart Codex and open a new task after installation. Attach a file and ask a normal question; the plugin selects the converter automatically.

FFmpeg and Tesseract are system programs. The Python features are installed automatically, while the installer reports any missing system executable when that format is first used.

Why it is portable

  • No dependency on Codex, ChatGPT, Claude, or a specific LLM.
  • A stable Python API and command-line interface form the core.
  • MCP is an optional adapter for compatible agents.
  • HTTP is an optional adapter for everything else.
  • Heavy document, OCR, and speech dependencies are installed only when needed.

Install

Python 3.10 or newer is required.

pip install universal-ai-converter
pip install "universal-ai-converter[documents]"
pip install "universal-ai-converter[ocr]"
pip install "universal-ai-converter[media]"
pip install "universal-ai-converter[all]"

Until the first PyPI release, install directly from GitHub:

pip install "universal-ai-converter[all] @ git+https://github.com/KOLRNCH/Universal-AI-Converter.git"

OCR additionally requires the Tesseract executable. Video additionally requires FFmpeg. Both must be available in PATH.

For development from this repository:

python -m venv .venv
pip install -e ".[dev]"
pytest

Command line

uac convert report.pdf -o report.md
uac convert interview.mp4 -o transcript.md --whisper-model small
uac convert scan.png --format json -o result.json

Python

from universal_ai_converter import Converter

result = Converter().convert("report.pdf")
print(result.text)

HTTP API

pip install "universal-ai-converter[api,documents]"
uac serve --host 127.0.0.1 --port 8765
curl -F "file=@report.pdf" http://127.0.0.1:8765/convert

Any MCP-compatible agent

pip install "universal-ai-converter[mcp,documents]"
uac-mcp

Register uac-mcp as a stdio MCP server in the agent's configuration. The agent receives a convert_file tool. Exact configuration differs between clients, so examples for popular agents will live in docs/integrations/.

See the generic MCP setup for a reusable configuration example.

Docker

docker build -t universal-ai-converter .
docker run --rm -p 127.0.0.1:8765:8765 universal-ai-converter

Then upload a file to http://127.0.0.1:8765/convert. Model files downloaded by faster-whisper should be mounted in a persistent cache for repeated media conversions.

Format routing

Input Backend
PDF, DOCX, PPTX, XLSX, HTML, EPUB, ZIP, MSG MarkItDown
PNG, JPEG, TIFF, WebP Tesseract OCR
MP3, WAV, M4A, FLAC, OGG faster-whisper
MP4, MKV, MOV, WebM, AVI FFmpeg + faster-whisper
TXT, Markdown, CSV, JSON, XML, YAML Built-in text reader

Security

The HTTP server binds to localhost by default. Conversion libraries process untrusted files, so public deployments should run in an isolated container with file-size, time, CPU, and memory limits. Do not expose the development server directly to the internet.

Roadmap

  • Plugin entry points for third-party converters
  • Recursive archives and batch conversion
  • URL and YouTube adapters
  • Docker image and cross-platform desktop app
  • Configurable OCR languages and timestamped transcripts
  • Sandboxed production worker

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured