pdfco-mcp 0.0.1__tar.gz → 0.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pdfco_mcp-0.0.2/LICENSE +21 -0
- pdfco_mcp-0.0.2/PKG-INFO +198 -0
- pdfco_mcp-0.0.2/README.md +185 -0
- {pdfco_mcp-0.0.1 → pdfco_mcp-0.0.2}/pyproject.toml +1 -1
- pdfco_mcp-0.0.1/PKG-INFO +0 -30
- pdfco_mcp-0.0.1/README.md +0 -18
- {pdfco_mcp-0.0.1 → pdfco_mcp-0.0.2}/.github/workflows/release.yml +0 -0
- {pdfco_mcp-0.0.1 → pdfco_mcp-0.0.2}/.gitignore +0 -0
- {pdfco_mcp-0.0.1 → pdfco_mcp-0.0.2}/.python-version +0 -0
- {pdfco_mcp-0.0.1 → pdfco_mcp-0.0.2}/pdfco/mcp/__init__.py +0 -0
- {pdfco_mcp-0.0.1 → pdfco_mcp-0.0.2}/pdfco/mcp/models.py +0 -0
- {pdfco_mcp-0.0.1 → pdfco_mcp-0.0.2}/pdfco/mcp/server.py +0 -0
- {pdfco_mcp-0.0.1 → pdfco_mcp-0.0.2}/pdfco/mcp/services/__init__.py +0 -0
- {pdfco_mcp-0.0.1 → pdfco_mcp-0.0.2}/pdfco/mcp/services/client.py +0 -0
- {pdfco_mcp-0.0.1 → pdfco_mcp-0.0.2}/pdfco/mcp/services/pdf.py +0 -0
- {pdfco_mcp-0.0.1 → pdfco_mcp-0.0.2}/pdfco/mcp/tools/__init__.py +0 -0
- {pdfco_mcp-0.0.1 → pdfco_mcp-0.0.2}/pdfco/mcp/tools/apis/conversion.py +0 -0
- {pdfco_mcp-0.0.1 → pdfco_mcp-0.0.2}/pdfco/mcp/tools/apis/document.py +0 -0
- {pdfco_mcp-0.0.1 → pdfco_mcp-0.0.2}/pdfco/mcp/tools/apis/editing.py +0 -0
- {pdfco_mcp-0.0.1 → pdfco_mcp-0.0.2}/pdfco/mcp/tools/apis/extraction.py +0 -0
- {pdfco_mcp-0.0.1 → pdfco_mcp-0.0.2}/pdfco/mcp/tools/apis/file.py +0 -0
- {pdfco_mcp-0.0.1 → pdfco_mcp-0.0.2}/pdfco/mcp/tools/apis/form.py +0 -0
- {pdfco_mcp-0.0.1 → pdfco_mcp-0.0.2}/pdfco/mcp/tools/apis/job.py +0 -0
- {pdfco_mcp-0.0.1 → pdfco_mcp-0.0.2}/pdfco/mcp/tools/apis/modification.py +0 -0
- {pdfco_mcp-0.0.1 → pdfco_mcp-0.0.2}/pdfco/mcp/tools/apis/search.py +0 -0
- {pdfco_mcp-0.0.1 → pdfco_mcp-0.0.2}/pdfco/mcp/tools/apis/searchable.py +0 -0
- {pdfco_mcp-0.0.1 → pdfco_mcp-0.0.2}/pdfco/mcp/tools/apis/security.py +0 -0
- {pdfco_mcp-0.0.1 → pdfco_mcp-0.0.2}/uv.lock +0 -0
pdfco_mcp-0.0.2/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2025 PDF.co
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
pdfco_mcp-0.0.2/PKG-INFO
ADDED
@@ -0,0 +1,198 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: pdfco-mcp
|
3
|
+
Version: 0.0.2
|
4
|
+
Summary: Add your description here
|
5
|
+
License-File: LICENSE
|
6
|
+
Requires-Python: >=3.12
|
7
|
+
Requires-Dist: httpx>=0.28.1
|
8
|
+
Requires-Dist: langchain-community>=0.3.21
|
9
|
+
Requires-Dist: langchain[google-genai]>=0.3.23
|
10
|
+
Requires-Dist: langgraph>=0.3.30
|
11
|
+
Requires-Dist: mcp[cli]>=1.6.0
|
12
|
+
Description-Content-Type: text/markdown
|
13
|
+
|
14
|
+
# PDF.co MCP Server
|
15
|
+
|
16
|
+
PDF.co MCP Server provides [PDF.co API](https://pdf.co) functionality through the Model Context Protocol (MCP), enabling AI assistants to easily perform various PDF processing tasks.
|
17
|
+
|
18
|
+
## 🚀 Key Features
|
19
|
+
|
20
|
+
### 📄 PDF Conversion Tools
|
21
|
+
- **PDF → Various Formats**: Convert PDFs to JSON, CSV, Text, Excel (XLS/XLSX), XML, HTML, Images (JPG/PNG/WebP/TIFF)
|
22
|
+
- **Various Formats → PDF**: Convert documents (DOC/DOCX/RTF/TXT), spreadsheets (CSV/XLS/XLSX), images, web pages, HTML, emails (MSG/EML) to PDF
|
23
|
+
- **Excel Conversions**: Convert Excel files to CSV, JSON, HTML, TXT, XML, PDF
|
24
|
+
|
25
|
+
### 🛠️ PDF Editing & Modification
|
26
|
+
- **PDF Merging**: Combine multiple PDF files into one
|
27
|
+
- **PDF Splitting**: Split PDFs by specific pages or page ranges
|
28
|
+
- **Add Annotations & Images**: Add text, links, images, shapes to PDFs
|
29
|
+
- **Form Operations**: Read PDF form field information, fill forms, create new form elements
|
30
|
+
|
31
|
+
### 🔍 PDF Search & Analysis
|
32
|
+
- **Text Search**: Search text in PDFs (supports regular expressions)
|
33
|
+
- **Table Detection**: Find table locations and coordinates in PDFs
|
34
|
+
- **AI Invoice Parser**: Extract invoice data using AI
|
35
|
+
- **PDF Information**: Get detailed information including metadata, page count, security info
|
36
|
+
|
37
|
+
### 🔒 Security & Accessibility
|
38
|
+
- **Password Protection**: Add/remove password protection to PDFs
|
39
|
+
- **Searchability**: Make PDFs searchable via OCR or remove text layers
|
40
|
+
- **Attachment Extraction**: Extract attachments from PDFs
|
41
|
+
|
42
|
+
### 💼 File Management
|
43
|
+
- **File Upload**: Upload local files to PDF.co servers
|
44
|
+
- **Job Status Tracking**: Monitor progress and results of asynchronous operations
|
45
|
+
|
46
|
+
## ⚙️ Configuration
|
47
|
+
|
48
|
+
### 🔑 Get API Key
|
49
|
+
1. Sign up at [PDF.co website](https://pdf.co)
|
50
|
+
2. Get your API key from the dashboard
|
51
|
+
|
52
|
+
### MCP Server Setup
|
53
|
+
|
54
|
+
#### Cursor IDE Configuration
|
55
|
+
Add the following to your `.cursor/mcp.json` file:
|
56
|
+
|
57
|
+
```json
|
58
|
+
{
|
59
|
+
"mcpServers": {
|
60
|
+
"pdfco": {
|
61
|
+
"command": "uvx",
|
62
|
+
"args": ["pdfco-mcp"],
|
63
|
+
"env": {
|
64
|
+
"X_API_KEY": "YOUR_API_KEY_HERE"
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
```
|
70
|
+
|
71
|
+
#### Claude Desktop Configuration
|
72
|
+
Add the following to your `claude_desktop_config.json` file:
|
73
|
+
|
74
|
+
```json
|
75
|
+
{
|
76
|
+
"mcpServers": {
|
77
|
+
"pdfco": {
|
78
|
+
"command": "uvx",
|
79
|
+
"args": ["pdfco-mcp"],
|
80
|
+
"env": {
|
81
|
+
"X_API_KEY": "YOUR_API_KEY_HERE"
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
```
|
87
|
+
|
88
|
+
## 🔧 Available Tools
|
89
|
+
|
90
|
+
### PDF Conversion Tools
|
91
|
+
- `pdf_to_json`: Convert PDF and scanned images into JSON representation with text, fonts, images, vectors, and formatting preserved
|
92
|
+
- `pdf_to_csv`: Convert PDF and scanned images into CSV representation with layout, columns, rows, and tables
|
93
|
+
- `pdf_to_text`: Convert PDF and scanned images to text with layout preserved
|
94
|
+
- `pdf_to_xls`: Convert PDF and scanned images to XLS (Excel 97-2003) format
|
95
|
+
- `pdf_to_xlsx`: Convert PDF and scanned images to XLSX (Excel 2007+) format
|
96
|
+
- `pdf_to_xml`: Convert PDF and scanned images to XML format
|
97
|
+
- `pdf_to_html`: Convert PDF and scanned images to HTML format
|
98
|
+
- `pdf_to_image`: Convert PDF and scanned images to various image formats (JPG, PNG, WebP, TIFF)
|
99
|
+
|
100
|
+
### Document to PDF Conversion Tools
|
101
|
+
- `document_to_pdf`: Convert various document types (DOC, DOCX, RTF, TXT, XLS, XLSX, CSV, HTML, JPG, PNG, TIFF, WEBP) into PDF
|
102
|
+
- `csv_to_pdf`: Convert CSV or spreadsheet files (XLS, XLSX) to PDF
|
103
|
+
- `image_to_pdf`: Convert various image formats (JPG, PNG, TIFF) to PDF
|
104
|
+
- `webpage_to_pdf`: Convert external webpage URL to PDF
|
105
|
+
- `html_to_pdf`: Convert HTML to PDF
|
106
|
+
- `email_to_pdf`: Convert email to PDF
|
107
|
+
|
108
|
+
### Excel Conversion Tools
|
109
|
+
- `excel_to_csv`: Convert Excel(XLS, XLSX) to CSV
|
110
|
+
- `excel_to_json`: Convert Excel(XLS, XLSX) to JSON
|
111
|
+
- `excel_to_html`: Convert Excel(XLS, XLSX) to HTML
|
112
|
+
- `excel_to_txt`: Convert Excel(XLS, XLSX) to TXT
|
113
|
+
- `excel_to_xml`: Convert Excel(XLS, XLSX) to XML
|
114
|
+
- `excel_to_pdf`: Convert Excel(XLS, XLSX) to PDF
|
115
|
+
|
116
|
+
### PDF Editing Tools
|
117
|
+
- `pdf_add_annotations_images_fields`: Add text, images, forms, other PDFs, fill forms, links to external sites and external PDF files. You can update or modify PDF and scanned PDF files
|
118
|
+
- `pdf_merge`: Merge PDF from two or more PDF, DOC, XLS, images, even ZIP with documents and images into a new PDF
|
119
|
+
- `pdf_split`: Split a PDF into multiple PDF files using page indexes or page ranges
|
120
|
+
|
121
|
+
### PDF Form Tools
|
122
|
+
- `read_pdf_forms_info`: Extracts information about fillable PDF fields from an input PDF file
|
123
|
+
- `fill_pdf_forms`: Fill existing form fields in a PDF document
|
124
|
+
- `create_fillable_forms`: Create new fillable form elements in a PDF document
|
125
|
+
|
126
|
+
### PDF Search Tools
|
127
|
+
- `find_text`: Find text in PDF and get coordinates. Supports regular expressions
|
128
|
+
- `find_table`: Find tables in PDF and get their coordinates
|
129
|
+
|
130
|
+
### PDF Analysis Tools
|
131
|
+
- `ai_invoice_parser`: AI Invoice Parser: Extracts data from invoices using AI
|
132
|
+
- `extract_attachments`: Extracts attachments from a source PDF file
|
133
|
+
- `pdf_info_reader`: Get detailed information about a PDF document - number of pages, metadata, security, form fields, and more
|
134
|
+
|
135
|
+
### PDF Security Tools
|
136
|
+
- `pdf_add_password`: Add password protection to a PDF file
|
137
|
+
- `pdf_remove_password`: Remove password protection from a PDF file
|
138
|
+
|
139
|
+
### PDF Searchability Tools
|
140
|
+
- `pdf_make_searchable`: Convert scanned PDF documents or image files into a text-searchable PDF. Runs OCR and adds an invisible text layer that can be used for text search
|
141
|
+
- `pdf_make_unsearchable`: Make existing PDF document non-searchable by removing the text layer from it
|
142
|
+
|
143
|
+
### File Management Tools
|
144
|
+
- `upload_file`: Upload a file to the PDF.co API
|
145
|
+
- `get_job_check`: Check the status and results of a job. Status can be: working, success, failed, aborted, or unknown
|
146
|
+
- `wait_job_completion`: Wait for a job to complete
|
147
|
+
|
148
|
+
## 📖 Usage Examples
|
149
|
+
|
150
|
+
### Convert PDF to Text
|
151
|
+
```
|
152
|
+
Convert this PDF file to text: https://example.com/document.pdf
|
153
|
+
```
|
154
|
+
|
155
|
+
### Merge Multiple Images into PDF
|
156
|
+
```
|
157
|
+
Create a PDF from these images: image1.jpg, image2.png, image3.jpg
|
158
|
+
```
|
159
|
+
|
160
|
+
### Search for Specific Text in PDF
|
161
|
+
```
|
162
|
+
Find the word "contract" in this PDF document
|
163
|
+
```
|
164
|
+
|
165
|
+
### Fill PDF Form Fields
|
166
|
+
```
|
167
|
+
Fill the name field in this PDF form with "John Doe"
|
168
|
+
```
|
169
|
+
|
170
|
+
### Convert Web Page to PDF
|
171
|
+
```
|
172
|
+
Convert https://example.com webpage to PDF
|
173
|
+
```
|
174
|
+
|
175
|
+
### Extract Invoice Data
|
176
|
+
```
|
177
|
+
Extract invoice information from this PDF using AI
|
178
|
+
```
|
179
|
+
|
180
|
+
### Add Password Protection
|
181
|
+
```
|
182
|
+
Add password protection to this PDF file
|
183
|
+
```
|
184
|
+
|
185
|
+
|
186
|
+
## 📞 Support & Contact
|
187
|
+
|
188
|
+
- **PDF.co**: https://pdf.co
|
189
|
+
- **PDF.co API Documentation**: https://developer.pdf.co
|
190
|
+
- **Issue Reports**: Please report issues through GitHub Issues
|
191
|
+
|
192
|
+
## 📄 License
|
193
|
+
|
194
|
+
This project is distributed under the MIT License.
|
195
|
+
|
196
|
+
---
|
197
|
+
|
198
|
+
**Note**: A valid PDF.co API key is required to use this tool. Create a free account at [PDF.co](https://pdf.co) to get your API key.
|
@@ -0,0 +1,185 @@
|
|
1
|
+
# PDF.co MCP Server
|
2
|
+
|
3
|
+
PDF.co MCP Server provides [PDF.co API](https://pdf.co) functionality through the Model Context Protocol (MCP), enabling AI assistants to easily perform various PDF processing tasks.
|
4
|
+
|
5
|
+
## 🚀 Key Features
|
6
|
+
|
7
|
+
### 📄 PDF Conversion Tools
|
8
|
+
- **PDF → Various Formats**: Convert PDFs to JSON, CSV, Text, Excel (XLS/XLSX), XML, HTML, Images (JPG/PNG/WebP/TIFF)
|
9
|
+
- **Various Formats → PDF**: Convert documents (DOC/DOCX/RTF/TXT), spreadsheets (CSV/XLS/XLSX), images, web pages, HTML, emails (MSG/EML) to PDF
|
10
|
+
- **Excel Conversions**: Convert Excel files to CSV, JSON, HTML, TXT, XML, PDF
|
11
|
+
|
12
|
+
### 🛠️ PDF Editing & Modification
|
13
|
+
- **PDF Merging**: Combine multiple PDF files into one
|
14
|
+
- **PDF Splitting**: Split PDFs by specific pages or page ranges
|
15
|
+
- **Add Annotations & Images**: Add text, links, images, shapes to PDFs
|
16
|
+
- **Form Operations**: Read PDF form field information, fill forms, create new form elements
|
17
|
+
|
18
|
+
### 🔍 PDF Search & Analysis
|
19
|
+
- **Text Search**: Search text in PDFs (supports regular expressions)
|
20
|
+
- **Table Detection**: Find table locations and coordinates in PDFs
|
21
|
+
- **AI Invoice Parser**: Extract invoice data using AI
|
22
|
+
- **PDF Information**: Get detailed information including metadata, page count, security info
|
23
|
+
|
24
|
+
### 🔒 Security & Accessibility
|
25
|
+
- **Password Protection**: Add/remove password protection to PDFs
|
26
|
+
- **Searchability**: Make PDFs searchable via OCR or remove text layers
|
27
|
+
- **Attachment Extraction**: Extract attachments from PDFs
|
28
|
+
|
29
|
+
### 💼 File Management
|
30
|
+
- **File Upload**: Upload local files to PDF.co servers
|
31
|
+
- **Job Status Tracking**: Monitor progress and results of asynchronous operations
|
32
|
+
|
33
|
+
## ⚙️ Configuration
|
34
|
+
|
35
|
+
### 🔑 Get API Key
|
36
|
+
1. Sign up at [PDF.co website](https://pdf.co)
|
37
|
+
2. Get your API key from the dashboard
|
38
|
+
|
39
|
+
### MCP Server Setup
|
40
|
+
|
41
|
+
#### Cursor IDE Configuration
|
42
|
+
Add the following to your `.cursor/mcp.json` file:
|
43
|
+
|
44
|
+
```json
|
45
|
+
{
|
46
|
+
"mcpServers": {
|
47
|
+
"pdfco": {
|
48
|
+
"command": "uvx",
|
49
|
+
"args": ["pdfco-mcp"],
|
50
|
+
"env": {
|
51
|
+
"X_API_KEY": "YOUR_API_KEY_HERE"
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
```
|
57
|
+
|
58
|
+
#### Claude Desktop Configuration
|
59
|
+
Add the following to your `claude_desktop_config.json` file:
|
60
|
+
|
61
|
+
```json
|
62
|
+
{
|
63
|
+
"mcpServers": {
|
64
|
+
"pdfco": {
|
65
|
+
"command": "uvx",
|
66
|
+
"args": ["pdfco-mcp"],
|
67
|
+
"env": {
|
68
|
+
"X_API_KEY": "YOUR_API_KEY_HERE"
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
```
|
74
|
+
|
75
|
+
## 🔧 Available Tools
|
76
|
+
|
77
|
+
### PDF Conversion Tools
|
78
|
+
- `pdf_to_json`: Convert PDF and scanned images into JSON representation with text, fonts, images, vectors, and formatting preserved
|
79
|
+
- `pdf_to_csv`: Convert PDF and scanned images into CSV representation with layout, columns, rows, and tables
|
80
|
+
- `pdf_to_text`: Convert PDF and scanned images to text with layout preserved
|
81
|
+
- `pdf_to_xls`: Convert PDF and scanned images to XLS (Excel 97-2003) format
|
82
|
+
- `pdf_to_xlsx`: Convert PDF and scanned images to XLSX (Excel 2007+) format
|
83
|
+
- `pdf_to_xml`: Convert PDF and scanned images to XML format
|
84
|
+
- `pdf_to_html`: Convert PDF and scanned images to HTML format
|
85
|
+
- `pdf_to_image`: Convert PDF and scanned images to various image formats (JPG, PNG, WebP, TIFF)
|
86
|
+
|
87
|
+
### Document to PDF Conversion Tools
|
88
|
+
- `document_to_pdf`: Convert various document types (DOC, DOCX, RTF, TXT, XLS, XLSX, CSV, HTML, JPG, PNG, TIFF, WEBP) into PDF
|
89
|
+
- `csv_to_pdf`: Convert CSV or spreadsheet files (XLS, XLSX) to PDF
|
90
|
+
- `image_to_pdf`: Convert various image formats (JPG, PNG, TIFF) to PDF
|
91
|
+
- `webpage_to_pdf`: Convert external webpage URL to PDF
|
92
|
+
- `html_to_pdf`: Convert HTML to PDF
|
93
|
+
- `email_to_pdf`: Convert email to PDF
|
94
|
+
|
95
|
+
### Excel Conversion Tools
|
96
|
+
- `excel_to_csv`: Convert Excel(XLS, XLSX) to CSV
|
97
|
+
- `excel_to_json`: Convert Excel(XLS, XLSX) to JSON
|
98
|
+
- `excel_to_html`: Convert Excel(XLS, XLSX) to HTML
|
99
|
+
- `excel_to_txt`: Convert Excel(XLS, XLSX) to TXT
|
100
|
+
- `excel_to_xml`: Convert Excel(XLS, XLSX) to XML
|
101
|
+
- `excel_to_pdf`: Convert Excel(XLS, XLSX) to PDF
|
102
|
+
|
103
|
+
### PDF Editing Tools
|
104
|
+
- `pdf_add_annotations_images_fields`: Add text, images, forms, other PDFs, fill forms, links to external sites and external PDF files. You can update or modify PDF and scanned PDF files
|
105
|
+
- `pdf_merge`: Merge PDF from two or more PDF, DOC, XLS, images, even ZIP with documents and images into a new PDF
|
106
|
+
- `pdf_split`: Split a PDF into multiple PDF files using page indexes or page ranges
|
107
|
+
|
108
|
+
### PDF Form Tools
|
109
|
+
- `read_pdf_forms_info`: Extracts information about fillable PDF fields from an input PDF file
|
110
|
+
- `fill_pdf_forms`: Fill existing form fields in a PDF document
|
111
|
+
- `create_fillable_forms`: Create new fillable form elements in a PDF document
|
112
|
+
|
113
|
+
### PDF Search Tools
|
114
|
+
- `find_text`: Find text in PDF and get coordinates. Supports regular expressions
|
115
|
+
- `find_table`: Find tables in PDF and get their coordinates
|
116
|
+
|
117
|
+
### PDF Analysis Tools
|
118
|
+
- `ai_invoice_parser`: AI Invoice Parser: Extracts data from invoices using AI
|
119
|
+
- `extract_attachments`: Extracts attachments from a source PDF file
|
120
|
+
- `pdf_info_reader`: Get detailed information about a PDF document - number of pages, metadata, security, form fields, and more
|
121
|
+
|
122
|
+
### PDF Security Tools
|
123
|
+
- `pdf_add_password`: Add password protection to a PDF file
|
124
|
+
- `pdf_remove_password`: Remove password protection from a PDF file
|
125
|
+
|
126
|
+
### PDF Searchability Tools
|
127
|
+
- `pdf_make_searchable`: Convert scanned PDF documents or image files into a text-searchable PDF. Runs OCR and adds an invisible text layer that can be used for text search
|
128
|
+
- `pdf_make_unsearchable`: Make existing PDF document non-searchable by removing the text layer from it
|
129
|
+
|
130
|
+
### File Management Tools
|
131
|
+
- `upload_file`: Upload a file to the PDF.co API
|
132
|
+
- `get_job_check`: Check the status and results of a job. Status can be: working, success, failed, aborted, or unknown
|
133
|
+
- `wait_job_completion`: Wait for a job to complete
|
134
|
+
|
135
|
+
## 📖 Usage Examples
|
136
|
+
|
137
|
+
### Convert PDF to Text
|
138
|
+
```
|
139
|
+
Convert this PDF file to text: https://example.com/document.pdf
|
140
|
+
```
|
141
|
+
|
142
|
+
### Merge Multiple Images into PDF
|
143
|
+
```
|
144
|
+
Create a PDF from these images: image1.jpg, image2.png, image3.jpg
|
145
|
+
```
|
146
|
+
|
147
|
+
### Search for Specific Text in PDF
|
148
|
+
```
|
149
|
+
Find the word "contract" in this PDF document
|
150
|
+
```
|
151
|
+
|
152
|
+
### Fill PDF Form Fields
|
153
|
+
```
|
154
|
+
Fill the name field in this PDF form with "John Doe"
|
155
|
+
```
|
156
|
+
|
157
|
+
### Convert Web Page to PDF
|
158
|
+
```
|
159
|
+
Convert https://example.com webpage to PDF
|
160
|
+
```
|
161
|
+
|
162
|
+
### Extract Invoice Data
|
163
|
+
```
|
164
|
+
Extract invoice information from this PDF using AI
|
165
|
+
```
|
166
|
+
|
167
|
+
### Add Password Protection
|
168
|
+
```
|
169
|
+
Add password protection to this PDF file
|
170
|
+
```
|
171
|
+
|
172
|
+
|
173
|
+
## 📞 Support & Contact
|
174
|
+
|
175
|
+
- **PDF.co**: https://pdf.co
|
176
|
+
- **PDF.co API Documentation**: https://developer.pdf.co
|
177
|
+
- **Issue Reports**: Please report issues through GitHub Issues
|
178
|
+
|
179
|
+
## 📄 License
|
180
|
+
|
181
|
+
This project is distributed under the MIT License.
|
182
|
+
|
183
|
+
---
|
184
|
+
|
185
|
+
**Note**: A valid PDF.co API key is required to use this tool. Create a free account at [PDF.co](https://pdf.co) to get your API key.
|
pdfco_mcp-0.0.1/PKG-INFO
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.4
|
2
|
-
Name: pdfco-mcp
|
3
|
-
Version: 0.0.1
|
4
|
-
Summary: Add your description here
|
5
|
-
Requires-Python: >=3.12
|
6
|
-
Requires-Dist: httpx>=0.28.1
|
7
|
-
Requires-Dist: langchain-community>=0.3.21
|
8
|
-
Requires-Dist: langchain[google-genai]>=0.3.23
|
9
|
-
Requires-Dist: langgraph>=0.3.30
|
10
|
-
Requires-Dist: mcp[cli]>=1.6.0
|
11
|
-
Description-Content-Type: text/markdown
|
12
|
-
|
13
|
-
# PDF.co MCP
|
14
|
-
|
15
|
-
#### Sample `.cursor/mcp.json` for test in cursor
|
16
|
-
```json
|
17
|
-
{
|
18
|
-
"mcpServers": {
|
19
|
-
"pdfco": {
|
20
|
-
"command": "uvx",
|
21
|
-
"args": [
|
22
|
-
"pdfco-mcp"
|
23
|
-
],
|
24
|
-
"env": {
|
25
|
-
"X_API_KEY": "YOUR_API_KEY" // To get the API key please sign up at https://pdf.co and you can get the API key from the dashboard
|
26
|
-
}
|
27
|
-
}
|
28
|
-
}
|
29
|
-
}
|
30
|
-
```
|
pdfco_mcp-0.0.1/README.md
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
# PDF.co MCP
|
2
|
-
|
3
|
-
#### Sample `.cursor/mcp.json` for test in cursor
|
4
|
-
```json
|
5
|
-
{
|
6
|
-
"mcpServers": {
|
7
|
-
"pdfco": {
|
8
|
-
"command": "uvx",
|
9
|
-
"args": [
|
10
|
-
"pdfco-mcp"
|
11
|
-
],
|
12
|
-
"env": {
|
13
|
-
"X_API_KEY": "YOUR_API_KEY" // To get the API key please sign up at https://pdf.co and you can get the API key from the dashboard
|
14
|
-
}
|
15
|
-
}
|
16
|
-
}
|
17
|
-
}
|
18
|
-
```
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|