智能体文档抽取解析(ADP)

Laiye-ADP
0
## Quick Access ### 1. Obtain API Key Visit [https://adp.laiye.com/](https://adp.laiye.com/?utm_source=github) to register for an ADP account and obtain your API Key in the "My MCP" section under personal settings. <div align="center"> <img src=".img/adp-home.PNG" width="30%" /> <img src=".img/adp-mcp-url.PNG" width="30%" /> <img src=".img/adp-mcp-json.PNG" width="30%" /> </div> ### 2. Configure MCP Client #### Method 1: Visual Interface Configuration (Recommended) Most MCP clients (such as Cursor, Tongyi Lingma, Coze, etc.) support adding MCP services directly in their settings interface. Taking Cursor as an example: 1. Open **Settings → MCP** 2. Click **Add new MCP server** 3. Fill in the following information: - **Name**: `ADP` (customizable name) - **Type**: `streamable-http` - **URL**: `https://adp.laiye.com/mcp?key=<YOUR-ADP-API-Key>` 4. Save and use the ADP tool in your conversations. #### Method 2: Editing Configuration Files For example, in Claude Desktop, add the following to `claude_desktop_config.json`: ```json { "mcpServers": { "adp": { "url": "https://adp.laiye.com/mcp?key=<YOUR-ADP-API-Key>", "transport": "streamable-http" } } } ``` The core parameters for other clients are similar: | Parameter | Value | |------|---| | **Endpoint** | `https://adp.laiye.com/mcp` | | **Transport** | Streamable HTTP | | **Authentication Method** | URL Query `?key=<YOUR-ADP-API-Key>` | > For private deployment environments, replace the domain name with the actual service address. ### 3. Start Using After a successful connection, the AI client will automatically discover all available ADP tools. Simply describe your needs in the conversation, such as: - "Help me parse the structure of this PDF." - "Extract the information from this ID card." - "Extract the amount and date from this invoice." ## Tool List ### Document Parsing | Tool Name | Title | Description | |--------|------|------| | `parse_document` | General Document Parsing | Performs layout analysis on documents like PDFs, images, Word, Excel, and PPT files, returning structured text blocks, tables, reading order, and page coordinates. Suitable for scenarios where the document type is uncertain and further processing is needed based on the original structure. | ### Invoice and Order Extraction | Tool Name | Title | Description | |--------|------|------| | `extract_china_invoice` | Chinese Invoice | Covers over 30 common types of invoices in China: supports full electronic invoices, ordinary invoices, special invoices, taxi receipts, train tickets, flight itineraries, financial invoices, etc. Can extract key information such as invoice number, date of issuance, amount, purchaser, and seller, as well as verify invoice authenticity. | | `extract_global_invoice` | Overseas Invoice/Receipt | Extracts key fields (invoice number, date of issuance, amount, tax amount, currency, detailed rows, etc.) from PDF or image-format overseas invoices, receipts, and bills. Suitable for cross-border trade, reimbursement, accounts payable automation, and other scenarios. | | `extract_purchase_order` | Order | Extracts key fields (order number, buyer and seller information, order date, product details, quantity, unit price, total amount, delivery address, etc.) from PDF or image-format procurement orders and sales orders. Suitable for e-commerce order entry, supply chain reconciliation, inventory management automation, and other scenarios. | ### Card and Certificate Extraction | Tool Name | Title | Description | |--------|------|------| | `extract_id_card` | ID Card | Extracts key fields (name, gender, ethnicity, date of birth, ID number, address, issuing authority, validity period, etc.) from mainland Chinese resident ID card images, supporting front and back recognition. Suitable for real-name authentication, user registration, and other scenarios. | | `extract_bank_card` | Bank Card | Extracts key fields (card number, issuing bank, card type, validity period, etc.) from the front image of a bank card. Suitable for card binding, payment channel configuration, and other scenarios. | | `extract_vehicle_cert` | Vehicle Certificate | Extracts key fields (certificate number, vehicle brand, model, vehicle identification code VIN, engine number, manufacturing date, etc.) from vehicle whole factory certificate images. Suitable for vehicle registration, used car transactions, vehicle asset management, and other
##文档解析 ##发票抽取 ##订单抽取 ##卡证抽取 ##OCR ##文档识别 ##企业数据录入 ##批量文档汇总

Content