Polyglot document intelligence with a Rust core: extract text, metadata, images, tables, and structured data from 106 formats across 140 file extensions, plus code intelligence for 371 languages. Fifteen bindings, with CLI, REST API, and MCP server.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add xberg -- python path/to/your/main.py~/.codex/config.toml
[mcp_servers.xberg]
command = "python"
args = ["path/to/your/main.py"]
# codex mcp add xberg -- python path/to/your/main.py~/.cursor/mcp.json
{
"mcpServers": {
"xberg": {
"command": "python",
"args": [
"path/to/your/main.py"
]
}
}
}.vscode/mcp.json
{
"servers": {
"xberg": {
"type": "stdio",
"command": "python",
"args": [
"path/to/your/main.py"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"xberg": {
"command": "python",
"args": [
"path/to/your/main.py"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"xberg": {
"command": "python",
"args": [
"path/to/your/main.py"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"xberg": {
"command": "python",
"args": [
"path/to/your/main.py"
]
}
}
}