Diogenes Web Extraction & Markdown Engine MCP

v1.0.0
io.github.stand-out-of-my-sun/diogenes-web-scraping-engine-mcp Checked 3 days ago Published 11 days ago

High-performance web extraction, readability markdown compiler, and metadata parser.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

extract_clean_markdown Web HTML to Clean LLM-Optimized Markdown Engine

Converts raw HTML pages or live web URLs into clean, boilerplate-free, LLM-optimized Markdown with preserved hyperlinks and headings. Accepts either 'url' to fetch directly or raw 'html_content' from upstream scrape_readable_article; for isolating tabular data into structured datasets, use parse_html_tables instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'url' or 'html_content' ('conversion_mode' defaults to 'clean_semantic_article'), supports '?demo=true' or L402 (10 sats), and returns HTTP 400 if invalid.

ParameterTypeDescription
conversion_modestringMarkdown extraction strategy: clean semantic article, preserve tables/code, or minimal text.
html_contentstringRaw HTML string of the web page or document to convert to clean Markdown.
preserve_linksbooleanWhether to retain anchor hyperlinks and image markdown references in output.
urlstringOptional web page URL to fetch and parse directly, bypassing an out-of-band fetch step.

scrape_readable_article Web Page Fetcher, Readability Extractor & HTML Parser

Fetches any public HTTP/HTTPS URL and extracts article text, headings, author bylines, and raw html_content. Use as the universal URL fetcher before downstream HTML parsing tools (parse_html_tables, isolate_css_selectors, extract_clean_markdown); for converting full raw HTML without fetching, pass html_content directly. Stateless edge call (max 32 KB, 60 RPM): accepts 'url' or 'html_content' ('readability_profile' defaults to 'article_body_strict'), supports '?demo=true' or L402 (10 sats), and returns HTTP 400 if invalid.

ParameterTypeDescription
html_contentstringTarget web page HTML containing the article, editorial post, or blog content.
include_bylinebooleanWhether to parse author names, affiliations, and editorial publication dates.
readability_profilestringContent isolation heuristic: strict article body, technical documentation, or forum thread.
urlstringThe public HTTP or HTTPS web page URL to fetch and extract.

extract_structured_metadata OpenGraph, Twitter Cards & JSON-LD Microdata Extractor

Extracts OpenGraph tags, Twitter Card metadata, canonical URLs, and Schema.org JSON-LD microdata scripts from live URLs or raw HTML. Accepts either 'url' to fetch directly or raw 'html_content' from upstream scrape_readable_article; for extracting contact emails and phone numbers, use extract_contact_info instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'url' or 'html_content' ('metadata_targets' defaults to 'all_protocols'), supports '?demo=true' or L402 (10 sats), and returns HTTP 400 if invalid.

ParameterTypeDescription
html_contentstringSource HTML string containing head tags, OpenGraph meta properties, or JSON-LD scripts.
include_faviconsbooleanWhether to extract favicon links and Apple Touch icon references.
metadata_targetsstringTarget metadata protocol filter: all protocols, OpenGraph and Twitter, or Schema.org JSON-LD.
urlstringOptional web page URL to fetch and parse directly, bypassing an out-of-band fetch step.

parse_html_tables HTML Table to Structured JSON & Markdown Parser

Detects and parses HTML table elements from live URLs or raw HTML into structured JSON record arrays and GitHub-Flavored Markdown tabular grids. Accepts either 'url' to fetch directly or raw 'html_content' from upstream scrape_readable_article; for extracting full article body text, use scrape_readable_article instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'url' or 'html_content' ('output_format' defaults to 'markdown_and_json'), supports '?demo=true' or L402 (10 sats), and returns HTTP 400 if invalid.

ParameterTypeDescription
html_contentstringRaw HTML string containing one or more table, thead, tbody, or tr elements.
min_rowsintegerMinimum rows required for a table to be parsed and retained.
output_formatstringTabular export formatting standard: markdown and JSON, JSON records only, or CSV string.
urlstringOptional web page URL to fetch and parse directly, bypassing an out-of-band fetch step.

isolate_css_selectors Deterministic Edge DOM CSS Selector Scraper & Isolator

Evaluates CSS selector queries against live URLs or raw HTML DOM trees to extract targeted inner text, outer HTML, or element attributes. Accepts either 'url' to fetch directly or raw 'html_content' from upstream scrape_readable_article; for parsing complete table matrices into JSON, use parse_html_tables instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'url' or 'html_content' plus 'selector_query' ('extraction_mode' defaults to 'inner_text'), supports '?demo=true' or L402 (10 sats), and returns HTTP 400 if invalid.

ParameterTypeDescription
selector_query *stringCSS selector query expression (e.g., '.pricing-card', '#main h2', 'article p').
extraction_modestringDOM extraction representation: text content, outer HTML snippet, or attribute key-value map.
html_contentstringHTML source markup to query against using CSS selector matching rules.
urlstringOptional web page URL to fetch and parse directly, bypassing an out-of-band fetch step.

detect_paywall_and_bypass DOM Paywall, Modal Gate & Blurred Content Recovery Auditor

Audits web page DOM hierarchies to detect soft paywalls, blur overlays, modal gates, and recovers concealed body text. Use when diagnosing paywall obstructions, diagnosing subscriber gating scripts, or auditing content access barriers; for assessing general SEO hygiene, use evaluate_seo_diagnostics instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'html_content' ('detection_profile' defaults to 'heuristic_dom_overlay'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.

ParameterTypeDescription
html_content *stringTarget web page HTML markup suspected of containing soft paywalls or paywall modals.
detection_profilestringPaywall detection heuristic: heuristic DOM overlay, hidden text recovery, or strict access barrier audit.
target_domainstringOptional publishing domain name to look up publisher gating patterns.

crawl_sitemap_urls XML Sitemap & Index Crawler Tree Decompiler

Parses XML sitemaps and sitemap index files into structured URL trees with change frequency and last-modified filters. Use when discovering domain architectures, mapping crawl frontiers, or indexing blog/product catalogues; for extracting on-page hyperlinks from raw HTML, use extract_page_hyperlinks instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'sitemap_xml' ('filter_criteria' defaults to 'all_entries'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.

ParameterTypeDescription
sitemap_xml *stringXML string of the sitemap or sitemapindex file to inspect and parse.
filter_criteriastringURL retention filter: all entries, recently modified lastmod only, or HTML pages only.
max_resultsintegerMaximum number of URLs to extract and return in the catalog.

sanitize_html_content Edge HTML Sanitizer, Script Stripper & XSS Neutralizer

Sanitizes raw HTML or live URLs by removing malicious script tags, iframes, inline event handlers, and data URIs into safe markup. Accepts either 'url' to fetch directly or raw 'html_content' from upstream scrape_readable_article; for converting clean HTML into markdown, use extract_clean_markdown instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'url' or 'html_content' ('sanitization_strictness' defaults to 'strip_scripts_and_iframes'), supports '?demo=true' or L402 (10 sats), and returns HTTP 400 if invalid.

ParameterTypeDescription
html_contentstringUntrusted or potentially hazardous HTML string requiring sanitization.
preserve_imagesbooleanWhether to retain safe img elements with http/https sources.
sanitization_strictnessstringSanitizer filter policy: strip scripts and iframes, allowlist safe formatting, or plaintext strip all.
urlstringOptional web page URL to fetch and sanitize directly, bypassing an out-of-band fetch step.

extract_contact_info Lead Contact, Email, Phone & Social Handle Extractor

Extracts email addresses, telephone numbers, physical addresses, and social network handles from web text and DOM footers. Use when researching sales leads, aggregating business contact directories, or extracting customer service info; for parsing structured tabular data, use parse_html_tables instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'content' ('extraction_focus' defaults to 'all_contacts'), supports '?demo=true' or L402 (10 sats), and returns HTTP 400 if invalid.

ParameterTypeDescription
content *stringRaw text or HTML page content to scan for contact channels and lead info.
country_hintstringTwo-letter ISO country code for telephone numbering format hints.
extraction_focusstringContact filter focus: all contact info, emails and phones only, or social handles only.

evaluate_seo_diagnostics Web SEO Diagnostics & Heading Hierarchy Auditor

Audits HTML heading structures, title lengths, meta descriptions, image alt tags, and OpenGraph compliance into a health score. Use when auditing landing pages, verifying SEO compliance before publishing, or evaluating crawl friendliness; for extracting article bodies, use scrape_readable_article instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'html_content' ('audit_level' defaults to 'comprehensive_audit'), supports '?demo=true' or L402 (10 sats), and returns HTTP 400 if invalid.

ParameterTypeDescription
html_content *stringWeb page HTML string to evaluate against search engine optimization standards.
audit_levelstringDiagnostic audit scope: comprehensive audit, meta tags only, or heading hierarchy only.
target_keywordstringPrimary search keyword to check for in titles, headings, and meta tags.

compile_rss_feed Web Content to RSS 2.0 & Atom Feed Compiler

Transforms JSON item collections or article card arrays into standardized RSS 2.0, Atom 1.0, or JSON Feed 1.1 syndication feeds. Use when syndicating blog articles, product announcements, or changelog cards to RSS readers and AI agents; for compiling structured sitemap listings, use crawl_sitemap_urls instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'items_json' and 'channel_title' ('feed_standard' defaults to 'rss_2_0'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.

ParameterTypeDescription
channel_title *stringHeadline title for the syndication feed channel.
items_json *stringJSON string representing an array of article or feed items with title, link, and pubDate.
feed_standardstringTarget syndication feed specification: RSS 2.0, Atom 1.0, or JSON Feed 1.1.