Microlink
OfficialProvides tools to run Lighthouse performance audits on URLs, returning audit results and technology detection.
Provides tools to convert web pages to Markdown format for further processing.
Provides tools to extract playable video sources from YouTube URLs, and other video sources.
Microlink MCP
A Model Context Protocol (MCP) server that exposes Microlink API capabilities to AI assistants. Runs over stdio transport, making it compatible with Claude Desktop, VS Code, Cursor, and any other MCP-capable client.
It turns natural-language requests into Microlink calls: take screenshots, generate PDFs, extract metadata or readable text, detect video/audio sources, run Lighthouse audits, and scrape custom fields with CSS selectors, all without leaving the assistant.
See the MCP integration page for a guided walkthrough, or the @microlink/mcp npm package.
Table of contents
Related MCP server: OpenUnfurl
Install
Use the published package (recommended)
No local installation is required. Run directly with npx:
npx -y @microlink/mcpOptional: install globally
npm install -g @microlink/mcp
microlink-mcpDuring installation, the package prints a console reminder about the free Microlink plan (50 requests/day) and where to get an API key for higher/unlimited usage at microlink.io/#pricing.
MCP client configuration
Claude Desktop
Edit ~/Library/Application\ Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"microlink": {
"command": "npx",
"args": ["-y", "@microlink/mcp"],
"env": {
"MICROLINK_API_KEY": "YOUR_MICROLINK_API_KEY"
}
}
}
}VS Code / Codex
Published package:
{
"mcpServers": {
"microlink": {
"command": "npx",
"args": ["-y", "@microlink/mcp"],
"env": {
"MICROLINK_API_KEY": "YOUR_MICROLINK_API_KEY"
}
}
}
}Local repository:
{
"mcpServers": {
"microlink": {
"command": "node",
"args": ["/absolute/path/to/mcp/src/index.js"],
"env": {
"MICROLINK_API_KEY": "YOUR_MICROLINK_API_KEY"
}
}
}
}Cursor
Add to your Cursor MCP settings (.cursor/mcp.json):
{
"mcpServers": {
"microlink": {
"command": "npx",
"args": ["-y", "@microlink/mcp"],
"env": {
"MICROLINK_API_KEY": "YOUR_MICROLINK_API_KEY"
}
}
}
}Usage
Once the server is configured, talk to your assistant in plain language. It picks the right tool and parameters for you:
"Take a full-page screenshot of https://example.com in dark mode." →
microlink_screenshot"Generate a Letter-size PDF of https://example.com." →
microlink_pdf"Get the title, description, and image for https://example.com." →
microlink_meta"Convert https://news.ycombinator.com to Markdown." →
microlink_markdown"Find the playable video in this YouTube link." →
microlink_video"Run a Lighthouse performance audit on https://example.com." →
microlink_insights"Scrape every article title from this page using the
.titleselector." →microlink_extractwithdata
Tools can also be invoked directly. Every tool takes a url and returns structuredContent (see Response shape):
{
"name": "microlink_screenshot",
"arguments": {
"url": "https://example.com",
"screenshot": { "fullPage": true, "type": "png" },
"colorScheme": "dark"
}
}Tools
Capabilities at a glance
microlink_extract: metadata extraction + custom scraping rules (data) + multi-capability composition in one call.microlink_screenshot: screenshot generation with element/full-page modes and browser controls.microlink_pdf: PDF generation with page/layout controls.microlink_video: playable video source extraction.microlink_audio: playable audio source extraction.microlink_insights: Lighthouse + technology detection.microlink_meta: normalized metadata extraction with include/exclude config.microlink_palette: image palette and contrast color extraction.microlink_markdown: URL to Markdown conversion.microlink_text: URL to plain text conversion.Cross-cutting request capabilities: device/viewport emulation, click/scroll actions, JS/CSS injection, modules, wait conditions, cache controls (
ttl,staleTtl,force), retries/timeouts, media mode, headers/proxy, and endpoint/auth routing.
Response shape
All tools (
microlink_extract,microlink_screenshot,microlink_pdf,microlink_video,microlink_audio,microlink_insights,microlink_meta,microlink_palette,microlink_markdown,microlink_text) returnstructuredContentwith:endpoint,requestUrl,finalUrl,statusCode,responseHeaders,microlinkmicrolinkpreserves Microlink API JSend payload (status,data, and error fields likecode,id,message,more,report).responseHeadersincludes key cache/rate headers (such asx-cache-status,cf-cache-status,cache-control,x-rate-limit-*) when present.MCP
isErroris set when transport fails or whenmicrolink.status !== "success".
Parameters labeled PRO in the official Microlink docs require a paid plan.
For compatibility with some MCP clients:
boolean parameters also accept the strings
"true"and"false"and are normalized before validation.parameters that accept objects also accept JSON stringified objects (for example,
screenshot: "{\"overlay\":{\"browser\":\"dark\"}}").
microlink_extract
Extract structured metadata from any public URL. Returns normalized fields (title, description, author, publisher, date, image, logo, lang, url) plus any custom fields defined via CSS selectors.
Supports combining multiple features in a single request: screenshot, PDF, video, audio, insights, and palette.
For screenshot, pdf, and insights, use true for defaults or an object for options. Empty objects ({}) are treated as true.
Key parameters:
Parameter | Type | Description |
|
| The URL to extract data from (required) |
|
| Microlink API key (optional; see Authentication) |
|
| Custom CSS-selector extraction rules |
|
| Include/exclude normalized metadata fields |
|
| Microlink embed mode |
|
| Include iframe payload options |
|
| Custom Microlink function hook |
|
| Enable ping checks |
|
| Capture a screenshot |
|
| Generate a PDF |
|
| Extract video source |
|
| Extract audio source |
|
| Run Lighthouse / tech detection |
|
| Extract color palette |
|
| Enable ad blocking |
|
| Enable/disable animations |
|
| Emulate a device (e.g. |
|
| Preferred color scheme |
|
| Custom viewport dimensions |
|
| CSS selector(s) to click before capture |
|
| CSS selector to scroll to |
|
| Toggle JavaScript execution |
|
| Browser module(s) to inject |
|
| JavaScript to inject |
|
| CSS to inject |
|
| CSS media mode |
|
| Prerender strategy |
|
| Proxy configuration (PRO) |
|
| Retry count |
|
| Cache TTL |
|
| Stale cache TTL policy (PRO) |
|
| Bypass cache |
|
| Request timeout |
|
| Custom HTTP headers (PRO) |
|
| Preferred output filename (PRO) |
|
| Response filter |
|
| Wait for element before capture |
|
| Wait an additional timeout before capture |
|
| Navigation event(s): |
microlink_screenshot
Capture a screenshot of any public URL and receive a permanent CDN asset URL (data.screenshot.url).
Set screenshot to true for defaults, or pass screenshot: { ... } for options. screenshot: {} is treated as true.
Key parameters:
Parameter | Type | Description |
|
| The URL to screenshot (required) |
|
| Enable screenshot with defaults ( |
|
| Capture the full scrollable page |
|
| CSS selector to capture a specific element |
|
| Output format (default: |
|
| Transparent background |
|
| Browser chrome overlay ( |
|
| Syntax-highlight theme for code pages (e.g. |
|
| Preferred color scheme |
|
| Device emulation |
|
| Custom viewport |
|
| Click before capture |
|
| Scroll to element |
|
| JavaScript to inject before capture |
|
| CSS to inject before capture |
|
| Browser module(s) to inject |
|
| Proxy configuration (PRO) |
|
| Custom HTTP headers (PRO) |
|
| Bypass cache |
|
| Cache TTL |
|
| Stale cache TTL policy (PRO) |
|
| Retry count |
|
| Request timeout |
|
| Prerender strategy |
|
| Enable ad blocking |
|
| Enable/disable animations |
|
| Toggle JavaScript execution |
|
| CSS media mode |
|
| Preferred output filename (PRO) |
|
| Response filter |
|
| Wait for element |
|
| Wait an additional timeout before capture |
|
| Navigation event(s): |
microlink_pdf
Generate a PDF of any public URL and receive a permanent CDN asset URL (data.pdf.url).
Set pdf to true for defaults, or pass pdf: { ... } for options. pdf: {} is treated as true.
Key parameters:
Parameter | Type | Description |
|
| The URL to convert (required) |
|
| Enable PDF with defaults ( |
|
| Paper size: |
|
| Landscape orientation |
|
| Page margins (e.g. |
|
| Page scale factor (0.1–2.0) |
|
| Page range (e.g. |
|
| Custom dimensions (overrides |
|
| JavaScript to inject before rendering |
|
| CSS to inject before rendering |
|
| Browser module(s) to inject |
|
| Proxy configuration (PRO) |
|
| Custom HTTP headers (PRO) |
|
| Bypass cache |
|
| Cache TTL |
|
| Stale cache TTL policy (PRO) |
|
| Retry count |
|
| Request timeout |
|
| Prerender strategy |
|
| Enable ad blocking |
|
| Enable/disable animations |
|
| Toggle JavaScript execution |
|
| Device emulation |
|
| Custom viewport |
|
| Preferred output filename (PRO) |
|
| Response filter |
|
| CSS media type |
|
| Wait for element |
|
| Wait an additional timeout before rendering |
|
| Navigation event(s): |
microlink_video
Detect and extract a playable video source from any URL. Returns the video URL in data.video.url along with type, duration, size, width, height, duration_pretty, and size_pretty.
Supports YouTube, Vimeo, Twitter/X, TikTok, Instagram, Dailymotion, and hundreds of other platforms.
Key parameters:
Parameter | Type | Description |
|
| The URL containing a video (required) |
|
| Proxy for restricted platforms (PRO) |
|
| Include/suppress page metadata |
microlink_audio
Detect and extract a playable audio source from any URL. Returns the audio URL in data.audio.url along with type, duration, size, duration_pretty, and size_pretty.
Supports SoundCloud, Spotify, Mixcloud, and other audio platforms.
Key parameters:
Parameter | Type | Description |
|
| The URL containing audio (required) |
|
| Proxy for restricted platforms (PRO) |
|
| Include/suppress page metadata |
microlink_insights
Get web performance and technology-stack insights for any URL.
Set insights to true for defaults, or pass insights: { ... } for options. insights: {} is treated as true.
Key parameters:
Parameter | Type | Description |
|
| The URL to analyze (required) |
|
| Enable default insights ( |
|
| Run a Lighthouse audit |
|
| Report format (default: |
|
| Audit preset: |
|
| Lighthouse category IDs (e.g. |
|
| Detect tech stack via Wappalyzer |
microlink_meta
Extract normalized metadata from any public URL. Returns: title, description, lang, author, publisher, date, url, image (with dimensions and file info), and logo (publisher favicon).
Key parameters:
Parameter | Type | Description |
|
| The URL to inspect (required) |
|
|
|
microlink_palette
Extract a color palette from images detected on any public URL. For each image returns: palette (hex colors from most to least dominant), background_color (optimal WCAG-contrast background), color (best overlay color), and alternative_color.
Color data is nested under each image field (e.g. data.image.palette). Useful for generating design tokens, theming, or accessibility checks.
Key parameters:
Parameter | Type | Description |
|
| The URL to analyze (required) |
|
| Control metadata fields returned |
|
| Enable palette extraction (default: |
microlink_markdown
Convert any public URL to Markdown. Returns JSON output with Markdown content in microlink.data.markdown, useful for extracting readable content from web pages, articles, and documentation.
Key parameters:
Parameter | Type | Description |
|
| The URL to convert (required) |
|
| Microlink API key (optional) |
microlink_text
Extract plain text from any public URL. Returns JSON output with plain text content in microlink.data.text.
Key parameters:
Parameter | Type | Description |
|
| The URL to extract text from (required) |
|
| Microlink API key (optional) |
Skills
This package bundles Agent Skills in the skills/
directory. Each skill is a self-contained SKILL.md that teaches an AI agent how to
accomplish a task with the Microlink MCP tools above. They follow the open Agent Skills
standard, so they work with any agent that supports it (Claude Code, Claude Desktop,
Cursor, VS Code agents, and others).
Skill | What it does | Tools used |
Screenshots & PDFs (full-page, element, device, dark mode, OG images) |
| |
URL → clean Markdown, plain text, metadata, or custom CSS-scraped fields |
| |
Rich link-unfurl / social cards from metadata, palette, and thumbnail |
| |
Lighthouse performance / SEO / a11y audits and tech-stack detection |
| |
Resolve a page to a direct, playable video or audio source URL |
|
To use a skill in Claude Code, copy its directory into .claude/skills/. For other
agents, see your tool's skills or extensions catalog. More detail in
skills/README.md.
Authentication
Every tool accepts an optional apiKey parameter. The key is resolved from these sources in order of priority:
apiKeyfield in the tool input parametersAuthorization: Bearer <key>header from the MCP requestx-api-keyheader from the MCP requestMICROLINK_API_KEYenvironment variable
The MICROLINK_API_KEY environment variable is the recommended approach for most integrations. Get your key at microlink.io.
If an API key is present, requests are sent to https://pro.microlink.io; otherwise they go to https://api.microlink.io (free endpoint).
When the free endpoint returns 429, this MCP adds a clear hint in the tool error message: free daily quota reached (50 requests/day) and upgrade/API key guidance at microlink.io/#pricing.
License
microlink © Microlink, released under the MIT License. Authored and maintained by Kiko Beats with help from contributors.
microlink.io · GitHub microlinkhq · X @microlinkhq
Available Tools
10 toolsmicrolink_audioA
Detect and extract playable audio sources from any URL via Microlink. Works with SoundCloud, Spotify, Mixcloud, and other audio platforms. The audio URL is in data.audio.url. Also returns type, duration, size, duration_pretty, and size_pretty. Combine with proxy for sites that require it, or with meta to suppress metadata extraction.
Inputs: url (required), meta, audio, proxy, +1 more.
microlink_extractA
Extract structured metadata from any public URL via Microlink. Returns normalized fields: title, description, author, publisher, date, image, logo, lang, and url. Use the data parameter to scrape custom fields via CSS selectors (selector/selectorAll, attr, type, evaluate). Combine with screenshot, pdf, video, audio, insights, palette, iframe in a single request. For screenshot, pdf, and insights, pass true to enable defaults or pass a config object with options; {} is treated as true. Supports device emulation (device), custom headers, proxy, JavaScript injection (scripts, modules, function), interaction (click, scroll), and caching (ttl, staleTtl, force). The CDN asset URL for any enabled media feature is in data.<feature>.url (e.g. data.screenshot.url).
Inputs: url (required), pdf, ttl, data, +35 more.
microlink_insightsA
Get web performance and technology-stack insights for any URL via Microlink. Pass insights: true for defaults or insights: { ... } for options; insights: {} is treated as true. Use insights.lighthouse (true or config object) for a Lighthouse performance audit. - insights.lighthouse.output: report format — "json" (default), "html", or "csv". - insights.lighthouse.preset: "default", "desktop", "perf", "experimental", "full", "lr-desktop", "lr-mobile". - insights.lighthouse.onlyCategories: array of category IDs to include (e.g. ["performance", "accessibility"]). Use insights.technologies (true) to detect the technology stack (frameworks, CDNs, analytics, etc.) via Wappalyzer. Both can be combined in a single request.
Inputs: url (required), apiKey, insights.
microlink_markdownB
Convert any public URL to Markdown via Microlink. Returns JSON output with Markdown content under data.markdown. Useful for extracting readable content from web pages, articles, and documentation.
Inputs: url (required), apiKey.
microlink_metaA
Extract normalized metadata from any public URL via Microlink. Returns: title, description, lang, author, publisher, date, url, image (with dimensions and file info), and logo (publisher favicon). Pass meta: false to skip metadata extraction entirely — useful when you only need a screenshot or video and want a faster response. Pass a config object to include or exclude specific fields: { logo: true, title: true } returns only those fields; { image: false } returns everything except image.
Inputs: url (required), meta, apiKey.
microlink_paletteB
Extract a color palette from images detected on any public URL via Microlink. For each image, returns: palette (hex colors from most to least dominant), background_color (optimal WCAG-contrast background), color (best overlay color for the background), and alternative_color (secondary overlay color). Color data is nested under each image field in the response (e.g. data.image.palette, data.image.background_color). Useful for generating design tokens, theming, or accessibility checks from real page images.
Inputs: url (required), meta, apiKey, palette.
microlink_pdfA
Generate a PDF of any public URL via Microlink and return a permanent CDN asset URL. The PDF URL is in data.pdf.url. Pass pdf: true for defaults or pdf: { ... } for options; pdf: {} is treated as true. Use pdf.format to set paper size: "A4" (default), "Letter", "Legal", "Tabloid", "Ledger", "A0"–"A6". Use pdf.landscape to switch to landscape orientation. Use pdf.margin to set page margins as a string ("0.35cm") or object with top/bottom/left/right. Use pdf.scale to scale the page (0.1–2.0). Use pdf.pageRanges to select specific pages (e.g. "1-5"). Use pdf.width and pdf.height for custom dimensions (overrides format). Combine with styles, scripts, modules, mediaType, waitForSelector, and waitUntil for full control.
Inputs: url (required), pdf, ttl, data, +25 more.
microlink_screenshotB
Capture a screenshot of any public URL via Microlink and return a permanent CDN asset URL. The screenshot URL is in data.screenshot.url. Pass screenshot: true for defaults or screenshot: { ... } for options; screenshot: {} is treated as true. Use screenshot.fullPage to capture the entire scrollable page. Use screenshot.element (CSS selector) to capture a specific DOM element. Use screenshot.type to choose output format: "jpeg" (default "png"). Use screenshot.omitBackground to remove the white background (useful with transparent PNGs). Use screenshot.overlay to add a browser chrome overlay with browser ("light"|"dark") and background (CSS color or gradient). Use screenshot.codeScheme to set the syntax-highlighting theme for code pages (e.g. "dracula", "atom-dark"). Combine with device, viewport, click, scroll, styles, scripts, modules, waitForSelector, waitForTimeout, waitUntil, colorScheme, and mediaType for full browser control.
Inputs: url (required), ttl, data, click, +25 more.
microlink_textB
Extract plain text from any public URL via Microlink. Returns JSON output with plain text content under data.text. Useful for getting raw text content from web pages.
Inputs: url (required), apiKey.
microlink_videoA
Detect and extract playable video sources from any URL via Microlink. Works with YouTube, Vimeo, Twitter/X, TikTok, Instagram, Dailymotion, and hundreds of other platforms. The video URL is in data.video.url. Also returns type, duration, size, width, height, duration_pretty, and size_pretty. Combine with proxy for sites that require it, or with meta to suppress metadata extraction.
Inputs: url (required), meta, proxy, video, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Some tools have overlapping purposes, e.g., microlink_extract and microlink_meta both return metadata, and microlink_text vs microlink_markdown both extract text. This could cause confusion for an agent selecting which tool to use.
All tools follow the consistent pattern 'microlink_<noun>', where the noun describes the output type (e.g., audio, extract, insights, markdown, meta, palette, pdf, screenshot, text, video). No deviations.
10 tools is well-scoped for a server that extracts various content types from URLs. Each tool has a clear purpose, and the count feels appropriate without being overwhelming or too sparse.
The set covers most common extraction needs (audio, video, images, metadata, text, markdown, PDF, insights, color palette). The presence of both a general extract tool and dedicated tools might be redundant but does not create critical gaps. Missing features like OCR or language detection are minor.
Maintenance
Related MCP Connectors
Fetch web/social data, screenshots, scrape/extract content, generate images, audit SEO & links.
Unofficial Microlink MCP — wraps Microlink API (free tier, no auth required)
Markdown scrape, site map, page metadata, screenshots, web search and PDF to text. Pay per call
Capture websites as PNG, JPEG, WebP or PDF, extract their content, or analyse them with AI.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables interaction with the Microlink API for link previews and data extraction, requiring no authentication. It is part of the Pipeworx MCP gateway, providing access to over 673 live data sources.300 npmMIT
- AlicenseNot gradedqualityDmaintenanceZero-signup link-preview API that returns clean metadata (title, description, image, etc.) from any public URL. No API key required.2MIT
- AlicenseAqualityCmaintenanceGive AI agents eyes on any web page: pixel-perfect screenshots, print-ready PDFs, branded OG images, code images, and structured page extraction (JSON or Markdown).724 npmMIT
- AlicenseAqualityCmaintenanceEnables AI assistants to access 50+ developer utility APIs for inspecting SSL, DNS, WHOIS, security headers, redirects, sitemaps, and page speed, converting between JSON, CSV, YAML, XML, Markdown, and HTML/PDF, and generating UUIDs, hashes, passwords, QR codes, and screenshots via natural language.50MIT