Gestiona buzones, campos de extracción, documentos, exportaciones y webhooks para automatizar el procesamiento de documentos a escala.
También conocido como parseur/parseur-py, parseur-py
- Stars
- 8
- Herramientas
- —
- Descargas, 30 días
- 1448
- Última versión
- 1.6.0
- Último commit
- 11 nov 2026
- Licencia
- MIT
¿Qué es Parseur MCP?
Parseur es un MCP server. Gestiona buzones, campos de extracción, documentos, exportaciones y webhooks para automatizar el procesamiento de documentos a escala.
Resumen generado a partir del README del proyecto
Acerca del MCP server de Parseur
Parseur ofrece un cliente de Python y un MCP server remoto para automatizar el procesamiento de documentos a escala. Los desarrolladores pueden usar la librería para gestionar buzones, extraer datos de documentos y manejar webhooks. El servicio es accesible a través de una interfaz de línea de comandos o como una librería estándar de Python, y requiere una API key de Parseur para la autenticación. Los usuarios pueden configurar sus credenciales mediante un archivo de configuración local o pasando las claves directamente a llamadas de métodos específicos.
La herramienta permite una gestión exhaustiva del ciclo de vida de los documentos, incluyendo la subida de archivos, el reprocesamiento de documentos o su eliminación. Soporta búsquedas y filtrado avanzado tanto para buzones como para documentos, permitiendo a los usuarios ordenar por estado, fecha o metadatos específicos. Para integraciones en tiempo real, el cliente puede crear webhooks personalizados o usar una función de escucha para monitorear eventos como el procesamiento de documentos. Esto lo hace ideal para construir flujos de trabajo automatizados que reaccionen instantáneamente a los datos procesados entrantes.
Qué puedes hacer con él
- 1Automatizar la subida de documentosSube un archivo PDF local a un buzón específico y espera a que el proceso de procesamiento termine.
- 2Gestionar el ciclo de vida de los documentosRealiza tareas administrativas en documentos existentes como copiarlos, dividirlos o eliminarlos.
Escrito a partir del README del proyecto. Cada caso de uso se verifica con una cita del mismo.
Cómo instalar Parseur MCP
Formatos verificados el 10 nov 2026Añadir a CursorAñadir a GooseInstalar Parseur MCP en Claude Code
$ claude mcp add --env 'PARSEUR_API_KEY=<YOUR_PARSEUR_API_KEY>' parseur-py -- uvx parseur-pyInstalar Parseur MCP en Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"parseur-py": {
"command": "uvx",
"args": [
"parseur-py"
],
"env": {
"PARSEUR_API_KEY": "<YOUR_PARSEUR_API_KEY>"
}
}
}
}Instalar Parseur MCP en VS Code
.vscode/mcp.json
{
"servers": {
"parseur-py": {
"type": "stdio",
"command": "uvx",
"args": [
"parseur-py"
],
"env": {
"PARSEUR_API_KEY": "<YOUR_PARSEUR_API_KEY>"
}
}
}
}Instalar Parseur MCP en VS Code CLI
$ code --add-mcp '{"name":"parseur-py","type":"stdio","command":"uvx","args":["parseur-py"],"env":{"PARSEUR_API_KEY":"<YOUR_PARSEUR_API_KEY>"}}'Instalar Parseur MCP en Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"parseur-py": {
"command": "uvx",
"args": [
"parseur-py"
],
"env": {
"PARSEUR_API_KEY": "<YOUR_PARSEUR_API_KEY>"
}
}
}
}Instalar Parseur MCP en Codex
$ codex mcp add parseur-py --env 'PARSEUR_API_KEY=<YOUR_PARSEUR_API_KEY>' -- uvx parseur-pyInstalar Parseur MCP en Codex config.toml
~/.codex/config.toml
[mcp_servers.parseur-py] command = "uvx" args = ["parseur-py"] [mcp_servers.parseur-py.env] PARSEUR_API_KEY = "<YOUR_PARSEUR_API_KEY>"
Instalar Parseur MCP en Gemini CLI
$ gemini mcp add -s user -e 'PARSEUR_API_KEY=<YOUR_PARSEUR_API_KEY>' parseur-py uvx -- parseur-pyInstalar Parseur MCP en Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"parseur-py": {
"command": "uvx",
"args": [
"parseur-py"
],
"env": {
"PARSEUR_API_KEY": "<YOUR_PARSEUR_API_KEY>"
}
}
}
}Configuración
PARSEUR_API_KEYObligatorioSecretoYour Parseur API key (from https://app.parseur.com/account/api).
PARSEUR_API_BASEOverride the Parseur API base URL (defaults to https://api.parseur.com).
| Nombre | Descripción | Tipo |
|---|---|---|
| PARSEUR_API_KEY | Your Parseur API key (from https://app.parseur.com/account/api). | ObligatorioSecreto |
| PARSEUR_API_BASE | Override the Parseur API base URL (defaults to https://api.parseur.com). |
Verificaciones automáticas
Ejecutado 13 nov 2026Informe completo →Pasó nuestras verificaciones automáticas. Esto no es una auditoría de seguridad: lee el código y dale al servidor el acceso más limitado que necesite. Cómo funcionan las verificaciones
- Repositorio de origen vinculado y accesibleAprobado
- Licencia de código abierto (OSI)Aprobado
- Commit o lanzamiento en el último añoAprobado
- El nombre del paquete no es similar a un paquete popularAprobado
- El endpoint remoto usa HTTPSNo verificado
- Las herramientas destructivas están etiquetadasNo verificado
- Sin instrucciones ocultas para el modeloAprobado
- No hay avisos críticos en el paquete ni en sus dependenciasAprobado
README
Ver en GitHub🤖🧙parseur-py
parseur-py is a modern Python client for the Parseur API.
It lets you manage mailboxes, documents, uploads, and webhooks programmatically or from the command line.
Built to help you automate document parsing at scale, parseur-py makes integrating with Parseur fast, easy, and Pythonic.
✨ Features
✅ List, search, and sort mailboxes
✅ Get mailbox details and schema
✅ List, search, filter, and sort documents
✅ Upload documents by file or email content
✅ Reprocess, skip, copy, or delete documents
✅ Manage custom webhooks for real-time events
✅ Listen to events in real time with a temporary webhook & tunnel
✅ Fully-featured Command Line Interface (CLI)
⚠️ Disclaimer about Localtunnel
When using the parseur listen command (with event listener support), your data is forwarded through localtunnel servers.
These servers are not affiliated with Parseur and are not covered by Parseur’s Privacy Policy or Data Processing Agreement.
Data transmitted through localtunnel is not encrypted end-to-end.
➡️ Use this feature at your own risk.
For production-grade setups, we strongly recommend configuring your own secure webhook endpoint instead of relying on localtunnel.
🚀 Quick Start
Install the package
pip install parseur-py
With event listener support (Flask + localtunnel)
pip install "parseur-py[listener]"
Install the package from source
pip install -e .
Build documentation
pip install -r requirements-doc.txt
cd docs
make html
Run the tests
Unit tests run fully offline:
pytest
Integration tests hit the real Parseur API. They create and delete real
resources, so they're skipped unless credentials are provided via the
environment (never committed or stored in ~/.parseur.conf):
PARSEUR_API_BASE=https://api.parseur.com \
PARSEUR_API_KEY=sk_your_key \
pytest tests/integration -v
Initialize your configuration
Store your Parseur API credentials securely:
parseur init --api-key YOUR_PARSEUR_API_KEY
Your config is saved (by default) in:
~/.parseur.conf
Example usage
List all your mailboxes:
parseur list-mailboxes
List documents in a mailbox:
parseur list-documents 12345
Upload a file to a mailbox (add --wait to block until it is parsed, with a live progress bar):
parseur upload-file 12345 ./path/to/document.pdf
parseur upload-file 12345 ./path/to/document.pdf --wait
Download a mailbox's results as a file (stdout by default, or --output):
parseur download-mailbox 12345 --format csv -o results.csv # whole mailbox
parseur list-parser-fields 12345 # find a table field id
parseur download-field 12345 PF951 --format xlsx -o lines.xlsx # a table field
Register a custom webhook:
parseur create-webhook --event document.processed --target-url https://yourserver.com/webhook --mailbox-id 12345
Listen to events in real time (requires [listener]):
parseur listen --event document.processed --mailbox-id 12345
With forwarding:
parseur listen --event document.processed --mailbox-id 12345 --redirect-url http://localhost --redirect-port 8000
📜 CLI Commands
Run:
parseur --help
for a full list of available commands.
Highlights
- init: Set your API token and (optional) base URL
- list-mailboxes: Search and sort mailboxes
- get-mailbox: Fetch a mailbox by ID
- get-mailbox-schema: Get the mailbox parsing schema
- list-parser-fields: List the fields extracted by a mailbox
- download-mailbox / download-field / download-export: Download results as a file (csv/json/xlsx)
- list-export-configs: List a mailbox's custom export configurations
- list-documents: Advanced document search, filtering, sorting
- get-document / get-document-logs: Fetch document details and processing logs
- reprocess-document / skip-document / copy-document / split-document / reverse-split-document / delete-document: Document lifecycle operations
- upload-file / upload-text: Upload new documents (add
--waitfor synchronous parsing) - upload-folder: Upload every file matching a glob path
- create-webhook / get-webhook / list-webhooks / delete-webhook: Create, get, list, and delete custom webhook integrations.
- enable-webhook / pause-webhook: Activate or pause a webhook for a specific mailbox.
- listen: Create a temporary webhook and listen to events in real time (with optional redirect & silent mode)
🔎 Advanced Search & Filtering
Mailbox listing supports:
- Search by name or email prefix
- Sort by:
- name
- document_count
- template_count
- PARSEDOK_count (processed)
- PARSEDKO_count (failed)
- QUOTAEXC_count (quota exceeded)
- EXPORTKO_count (export failed)
Document listing supports:
- Search in:
- document ID
- document name
- template name
- email addresses (from, to, cc, bcc)
- document metadata header
- Sort by:
- name
- created (received date)
- processed date
- status
- Filter by:
- received_after / received_before dates
- Include parsed result in response
⚡ Webhooks Support
Easily register custom webhooks for events like:
document.processeddocument.processed.flatteneddocument.template_neededdocument.export_failedtable.processedtable.processed.flattened
Your webhook endpoint will receive POST notifications with Parseur payloads, enabling real-time integrations with your systems.
🤖 MCP Server (AI assistants)
Parseur hosts an MCP server at https://api.parseur.com/mcp. Add this URL to any MCP-compatible AI assistant (Claude, Codex, Cursor, …) to drive Parseur from it. No local install is needed.
🛠️ Configuration
Your API token and settings are stored in a simple INI file:
[parseur]
api_token = YOUR_API_KEY
base_url = https://api.parseur.com
You can customize the path by setting `--config-path` in your calls if needed.
🐍 Python Client Usage
Beyond the CLI, parseur-py is a standard Python library. Example:
import parseur
parseur.api_key = "YOUR_API_KEY"
for mailbox in parseur.Mailbox.list():
print(mailbox.name)
Per-call API key override
Every method accepts an optional api_key argument that takes priority over
the global parseur.api_key for that single call — useful for multi-account
or multi-tenant code:
parseur.Mailbox.list(api_key="sk_account_a")
parseur.Document.upload_file(123, "invoice.pdf", api_key="sk_account_b")
📖 Documentation
- Parseur Official API Docs
- This package mirrors Parseur’s REST API, adding pagination handling, schema support, and convenient CLI commands.
💼 License
MIT License
🤝 Contributing
We welcome contributions! Please:
- Fork the repo
- Create your feature branch (
git checkout -b feature/foo) - Commit your changes (
git commit -am 'Add foo') - Push to the branch (
git push origin feature/foo) - Open a pull request
✨ Credits
Developed with ❤️ by the Parseur team.
Parseur is the easiest way to automatically extract data from emails and documents. Stop copy-pasting data and automate your workflows!
Preguntas sobre Parseur MCP
¿Cómo agrego Parseur MCP a Claude Code?
Ejecuta claude mcp add --env 'PARSEUR_API_KEY=<YOUR_PARSEUR_API_KEY>' parseur-py -- uvx parseur-py en tu terminal. Añade --scope user para que esté disponible en todos los proyectos.
¿Cómo agrego Parseur MCP a Cursor?
Abre ~/.cursor/mcp.json y añade el servidor en mcpServers, usando la configuración de Cursor que se muestra en la sección de instalación de arriba.
¿Puedo escuchar eventos de Parseur en tiempo real?
Sí, puedes usar el comando 'listen' para crear un webhook temporal y escuchar eventos en tiempo real mediante un túnel.
¿Cómo inicializo mi configuración de Parseur?
Puedes guardar tus credenciales de API de forma segura usando el comando 'parseur init --api-key YOUR_PARSEUR_API_KEY'.