Server data from the Official MCP Registry
Universal web content extraction — any URL to LLM-ready markdown. HTML, YouTube, PDF, DOCX.
Universal web content extraction — any URL to LLM-ready markdown. HTML, YouTube, PDF, DOCX.
Valid MCP server (1 strong, 3 medium validity signals). 1 known CVE in dependencies Package registry verified. Imported from the Official MCP Registry.
9 files analyzed · 2 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-arknill-markgrab": {
"args": [
"markgrab"
],
"command": "uvx"
}
}
}From the project's GitHub README.
Universal web content extraction — any URL to LLM-ready markdown.
from markgrab import extract
result = await extract("https://example.com/article")
print(result.markdown) # clean markdown
print(result.title) # "Article Title"
print(result.word_count) # 1234
print(result.language) # "en"
pip install markgrab
Optional extras for specific content types:
pip install "markgrab[browser]" # Playwright for JS-rendered pages
pip install "markgrab[youtube]" # YouTube transcript extraction
pip install "markgrab[pdf]" # PDF text extraction
pip install "markgrab[docx]" # DOCX text extraction
pip install "markgrab[all]" # everything
import asyncio
from markgrab import extract
async def main():
# HTML (auto-detects content type)
result = await extract("https://example.com/article")
# YouTube transcript
result = await extract("https://youtube.com/watch?v=dQw4w9WgXcQ")
# PDF
result = await extract("https://arxiv.org/pdf/1706.03762")
# Options
result = await extract(
"https://example.com",
max_chars=30_000, # limit output length (default: 50K)
use_browser=True, # force Playwright rendering
stealth=True, # anti-bot stealth scripts (opt-in)
timeout=60.0, # request timeout in seconds
proxy="http://proxy:8080",
)
asyncio.run(main())
markgrab https://example.com # markdown output
markgrab https://example.com -f text # plain text
markgrab https://example.com -f json # structured JSON
markgrab https://example.com --browser # force browser rendering
markgrab https://example.com --max-chars 10000 # limit output
result.title # page title
result.text # plain text
result.markdown # LLM-ready markdown
result.word_count # word count
result.language # detected language ("en", "ko", ...)
result.content_type # "article", "video", "pdf", "docx"
result.source_url # final URL (after redirects)
result.metadata # extra metadata (video_id, page_count, etc.)
flowchart TD
A["🔗 URL Input"] --> B{"Content\nType?"}
B -->|"HTML"| C["HTTP fetch\n(httpx)"]
C --> D{"JS\nrequired?"}
D -->|"no"| E["HTML Parser\n→ clean markdown"]
D -->|"yes"| F["Playwright\nfallback"]
F --> E
B -->|"YouTube"| G["Transcript API\n→ timestamped markdown"]
B -->|"PDF"| H["PDF Parser\n→ structured markdown"]
B -->|"DOCX"| I["DOCX Parser\n→ markdown"]
E --> J["✅ LLM-ready\nMarkdown"]
G --> J
H --> J
I --> J
For HTML pages, if the initial httpx fetch yields fewer than 50 words, MarkGrab automatically retries with Playwright to handle JavaScript-rendered content.
This software is provided for legitimate purposes only. By using MarkGrab, you agree to the following:
robots.txt: MarkGrab does not check or enforce robots.txt. Users are solely responsible for checking and respecting robots.txt directives and the terms of service of any website they access.
Rate limiting: MarkGrab does not include built-in rate limiting or request throttling. Users must implement their own rate limiting to avoid overloading target servers. Abusive request patterns may violate applicable laws and website terms of service.
YouTube transcripts: YouTube transcript extraction relies on the third-party youtube-transcript-api library, which uses YouTube's internal (unofficial) caption API. This may not comply with YouTube's Terms of Service. Use at your own discretion and risk.
Stealth mode: The optional stealth=True feature modifies browser fingerprinting signals to reduce bot detection. This feature is intended for legitimate use cases such as testing, research, and accessing content that is publicly available to regular browser users. Users are responsible for ensuring their use complies with applicable laws and the terms of service of target websites.
Legal compliance: Users are responsible for ensuring that their use of MarkGrab complies with all applicable laws, including but not limited to the Computer Fraud and Abuse Act (CFAA), the Digital Millennium Copyright Act (DMCA), GDPR, and equivalent legislation in their jurisdiction.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND. See the LICENSE file for the full MIT license text.
MarkGrab builds on excellent open-source work and well-established techniques:
anti_bot/stealth.py modulearticle > main > body) and link density filtering concepts used in the density filterBuilt with httpx, BeautifulSoup, markdownify, Playwright, youtube-transcript-api, pdfplumber, and python-docx.
Part of the QuartzUnit ecosystem — composable Python libraries for data collection, extraction, search, and AI agent safety.
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
by mcp-marketplace · Developer Tools
Scaffold, build, and publish TypeScript MCP servers to npm — conversationally
by mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.