Intelligent Document Extraction - ComIDP
@ComPDFKit
ComIDP MCP Server is a lightweight Model Context Protocol (MCP) server designed for seamless integrating ComIDP with AI chatbots, providing unstructured document processing functionalities, such as extracting data from PDF files. The service returns results in structured plain-te
概要
What is Intelligent Document Extraction - ComIDP?
Intelligent Document Extraction - ComIDP is a lightweight MCP server that integrates ComIDP’s intelligent document extraction capabilities with AI chatbots. It automatically extracts key information from unstructured PDF files, converts it into structured plain-text, and supports batch processing to improve document handling efficiency.
How to use Intelligent Document Extraction - ComIDP?
Setup requires Python 3.10+, pip, and uv. Configure Claude Desktop by editing claude_desktop_config.json with the command, arguments (pointing to the virtual environment’s Python and comidp_tools.py), and an IDPKEY environment variable. Use the data_extraction() function to process a list of PDF files or data_extraction_from_folder() to process all PDFs in a folder (with optional recursive search). Results are saved as TXT files in a specified output folder.
Key features of Intelligent Document Extraction - ComIDP
- Extracts key information from PDF files.
- Returns structured plain-text results in TXT format.
- Supports batch processing of multiple files or folders.
- Designed for seamless integration with AI chatbots.
- Requires an IDPKEY API key for authentication.
Use cases of Intelligent Document Extraction - ComIDP
- Automate data extraction from invoices, receipts, or contracts.
- Process batches of PDF documents for downstream archival or analysis.
- Provide structured data to AI chatbots for immediate user feedback.
FAQ from Intelligent Document Extraction - ComIDP
What dependencies are required to run the server?
Python 3.10 or higher, pip, uv, and a virtual environment. All required Python packages are listed in requirements.txt.
How do I configure Claude Desktop to use ComIDP MCP Server?
Edit claude_desktop_config.json to add a comidp-mcp server entry with the command uv, arguments pointing to the virtual environment’s Python and comidp_tools.py, and the IDPKEY environment variable set to your API key.
What file formats are currently supported for extraction?
Currently only PDF files are supported. Future updates will add support for JPG, PNG, and other formats.
How does data extraction work?
Two functions are provided: data_extraction(filenames, save_dir_path, key, err_msg_lang) for a list of PDF files, and data_extraction_from_folder(folder, save_dir_path, recursive, key, err_msg_lang) for a folder of PDFs. They return a dictionary mapping input paths to output TXT file paths.
Is a license required to use the server?
Yes, the project is licensed under Apache License 2.0. A trial license key is required; contact the team via the provided link to obtain one.