io.github.penny4nonsense/mcp-pymupdf
MCP server for reading PDFs using PyMuPDF. Supports local files and URLs.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
mcp-pymupdfclaude mcp add mcp-pymupdf -- uvx mcp-pymupdf==0.1.1
{
"mcpServers": {
"mcp-pymupdf": {
"command": "uvx",
"args": [
"mcp-pymupdf==0.1.1"
]
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
mcp-pymupdf
An MCP server for reading PDFs using PyMuPDF. Supports local files and URLs.
Installation
pip install mcp-pymupdf
Tools
read_pdf
Extract text from a PDF file or URL.
{
"source": "/path/to/file.pdf",
"max_pages": 50,
"max_bytes": 200000
}
get_page
Extract text from a specific page range.
{
"source": "https://example.com/paper.pdf",
"start_page": 3,
"end_page": 8
}
get_metadata
Retrieve PDF metadata without reading full text.
{
"source": "/path/to/file.pdf"
}
Usage with Claude Desktop
Add to your Claude Desktop config:
{
"mcpServers": {
"pdf": {
"command": "mcp-pymupdf"
}
}
}
Notes
- Scanned or image-based PDFs cannot be read without OCR
- Mathematical notation may render as plain text approximations
- URLs are downloaded to a temp file and deleted after reading
License
MIT
الأسئلة الشائعة
ما هو io.github.penny4nonsense/mcp-pymupdf؟
MCP server for reading PDFs using PyMuPDF. Supports local files and URLs.
كيف أثبّت io.github.penny4nonsense/mcp-pymupdf؟
يعمل على جهازك. في Claude Code: claude mcp add mcp-pymupdf -- uvx mcp-pymupdf==0.1.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.penny4nonsense/mcp-pymupdf إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل io.github.penny4nonsense/mcp-pymupdf مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون io.github.penny4nonsense/mcp-pymupdf؟
ينشره penny4nonsense. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.