Skip to main content
Glama

web2md-mcp

npm version License: MIT MCP

Convert any webpage to clean Markdown from Claude Desktop, Cursor, or any MCP-compatible AI agent.

web2md-mcp is the official Model Context Protocol server for Web2MD. Give your AI agent a convert_url tool and it can turn any webpage — articles, docs, Reddit threads, GitHub READMEs — into clean, token-efficient Markdown without copy-pasting.

Unlike server-side readers, the optional Agent Bridge mode routes conversion through your real browser session — so it works on Reddit, X, paywalled Substack, and other pages that block datacenter scrapers.


Why use this?

web2md-mcp

Server-side reader APIs

Clean Markdown built for LLM context

Token counting + metadata

⚠️ varies

Works on Reddit / X / paywalled pages

✅ (Agent Bridge)

❌ blocked by anti-bot

Uses your authenticated session

✅ (Agent Bridge)

Batch convert up to 50 URLs

⚠️ varies

One-line MCP install

varies

If you've hit "I can't access that URL" in Claude or Cursor when pasting a Reddit/X/Substack link, this is the fix.


Related MCP server: octen-mcp

Install

npm install -g web2md-mcp

Or run directly with npx (no install):

npx web2md-mcp

Setup

1. Get an API key

Sign up at web2md.org and copy your API key (w2m_...) from the dashboard.

2. Add to Claude Desktop

~/.claude/claude_desktop_config.json:

{
  "mcpServers": {
    "web2md": {
      "command": "npx",
      "args": ["web2md-mcp"],
      "env": { "WEB2MD_API_KEY": "w2m_your_api_key" }
    }
  }
}

3. Add to Cursor

~/.cursor/mcp.json:

{
  "mcpServers": {
    "web2md": {
      "command": "npx",
      "args": ["web2md-mcp"],
      "env": { "WEB2MD_API_KEY": "w2m_your_api_key" }
    }
  }
}

Restart your client. The agent now has convert_url and batch_convert tools available.


Tools

convert_url

Convert a single webpage URL to Markdown.

// Input
{ "url": "https://example.com/article" }
// Output
{ "markdown": "# Article Title\n...", "metadata": { "title": "...", "wordCount": 1240, "readingTime": "6 min" } }

batch_convert

Convert up to 50 URLs in one call — ideal for filling a research context window or building a RAG corpus.

// Input
{ "urls": ["https://...", "https://..."] }
// Output
[ { "url": "...", "markdown": "...", "metadata": { ... } }, ... ]

agent_convert / agent_batch_convert

Convert through the Web2MD Chrome extension's real browser session (requires Agent Bridge setup). This is what bypasses anti-bot blocking on Reddit, X, and login-protected pages.


Example prompts

Once configured, just ask your agent:

  • "Convert this Reddit thread to markdown and summarize the top arguments."

  • "Fetch these 10 blog URLs as markdown and build a comparison table."

  • "Read this GitHub README as clean markdown and explain the setup steps."


Agent Bridge (browser-based conversion)

Server-side fetching fails on Reddit, X, paywalled Substack/Medium, and JS-heavy SPAs — datacenter IPs get blocked and client-side-rendered content never loads. Agent Bridge solves this by routing the conversion through the Web2MD Chrome extension running in your logged-in browser. Setup guide: web2md.org/docs/advanced/agent-bridge.


License

MIT © Web2MD

Available Tools

6 tools
agent_batch_convertA

Batch convert multiple URLs using the Chrome extension via native messaging. Ideal for converting many Reddit threads or JS-rendered pages. URLs are processed sequentially. Requires: Chrome running + Web2MD extension + native host installed.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlsYesArray of URLs to convert (max 50)

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the burden of behavioral disclosure. It adds useful context: 'URLs are processed sequentially' (processing order) and 'Requires: Chrome running + Web2MD extension + native host installed' (prerequisites). This goes beyond a bare statement of purpose. However, it does not disclose failure behavior, return values, or potential side effects, which prevents a perfect score.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise and well-structured, consisting of three short sentences that deliver essential information without redundancy. It front-loads the main purpose, then adds context (ideal use cases) and prerequisites. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has a single parameter with high schema coverage and no output schema, so the description should ideally explain what the tool returns or results in. It does not mention return format or error handling. Given the moderate complexity, some key context is missing, making it adequate but not fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already provides a clear description for the sole parameter 'urls' ('Array of URLs to convert (max 50)'), giving 100% schema description coverage. The description adds only an example of suitable URLs ('many Reddit threads or JS-rendered pages') and notes sequential processing, but these do not significantly enhance parameter understanding. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function: 'Batch convert multiple URLs using the Chrome extension via native messaging.' It specifies the verb 'convert', the resource (multiple URLs), and the method (Chrome extension/native messaging). It distinguishes from sibling tools by emphasizing 'batch' and 'multiple', making it stand out from single-URL converters like convert_url.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear usage context: 'Ideal for converting many Reddit threads or JS-rendered pages.' This implies when to use the tool (large numbers of URLs or JS-heavy content). It also lists prerequisites ('Chrome running + Web2MD extension + native host installed'), which guide the user on necessary conditions. However, it does not explicitly mention alternatives or cases where this tool should be avoided, so it falls short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

agent_convertA

Convert a URL using the Chrome extension via native messaging. Best for Reddit, login-protected pages, and JS-rendered sites. Requires: Chrome running + Web2MD extension + native host installed.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYesThe URL to convert

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It discloses important prerequisites (Chrome running, extension, native host) but omits failure modes, return format, or side effects, leaving gaps in behavioral clarity.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences, front-loaded with the main action, and each sentence contributes value without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter tool with no output schema, the description covers purpose, prerequisites, and use cases well, but lacks return value details, which would enhance completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema covers 100% of parameters, so baseline is 3. The description adds no extra meaning beyond the schema's url description, just contextual use cases.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool converts a URL via Chrome extension and native messaging, and specifies ideal use cases (Reddit, login-protected, JS-rendered), which distinguishes it from sibling convert tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit best-use context and lists requirements, but does not explicitly name alternatives or when-not-to-use cases, so it falls short of full guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

bridge_convert_urlA

Convert a URL using your Chrome extension — required for Reddit, JS-rendered sites, or login-protected pages. The Web2MD extension must be installed and running in Chrome. Auto-discovers your extension ID via your API key.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYesThe URL to convert (Reddit, paywalled, JS-rendered, etc.)
extensionIdNoOverride extension ID (auto-discovered if omitted)

TDQS

A3.9/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the burden of disclosing behavior. It mentions the extension prerequisite and auto-discovery of the extension ID, which is useful. However, it does not disclose what the function returns, error behavior, or side effects, leaving some uncertainty for a conversion tool lacking an output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two concise sentences, front-loaded with the primary action and immediately clarifying the distinctive extension requirement. Every word earns its place with no fluff or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simple parameters and no output schema, the description covers the key prerequisites and use cases, but it omits the return format and failure modes. For a conversion tool, the lack of output information is a noticeable gap, making it not fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the property descriptions already explain the URL format and extensionId override. The tool description adds redundant mention of auto-discovery but does not provide additional semantic value beyond the schema, matching the baseline for high coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Convert a URL' and the resource 'using your Chrome extension', distinguishing it from sibling convert_url by emphasizing the extension requirement and specific use cases (Reddit, JS-rendered, login-protected pages). This avoids ambiguity with similar tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when this tool is required (Reddit, JS-rendered sites, login-protected pages) and mentions the prerequisite (extension must be installed and running). It does not explicitly exclude alternatives or name them, but the context is clear enough for the agent to select appropriately.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

convert_urlA

Convert a webpage URL to clean Markdown. Returns the Markdown content and metadata (title, word count, reading time).

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYesThe URL of the webpage to convert
includeLinksNoInclude hyperlinks (default: true)
includeImagesNoInclude image references (default: true)

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It discloses the output format (Markdown and metadata) which is helpful, but it does not mention that the tool fetches the webpage over the network, potential delays, or any failure modes. The description is adequate but lacks deeper behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, with the primary action front-loaded. It avoids repetition and every phrase adds value: the verb, the resource, the output format, and the specific metadata returned. No unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity and lack of output schema, the description covers the core behavior (conversion to Markdown) and return metadata. It does not explain tool selection among conversion-related siblings, which would improve completeness, but for a simple conversion tool it is mostly adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema covers all parameters with descriptions (100% coverage), including the URL format and boolean toggles for links and images. The description adds some context by mentioning metadata like 'title, word count, reading time' but does not clarify how 'includeLinks' or 'includeImages' affect the output. Baseline of 3 is appropriate since schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb 'Convert' with a clear resource ('a webpage URL') and outcome ('to clean Markdown'), and further specifies the return value ('Markdown content and metadata'). It distinguishes itself from sibling tools like 'semantic_search' by clearly stating its conversion purpose, though not explicitly comparing to other conversion tools, it is still specific enough.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description states what the tool does but gives no guidance on when to use it versus alternatives. With siblings like 'bridge_convert_url', 'agent_convert', and 'agent_batch_convert', there is no mention of selection criteria, prerequisites, or scenarios where this tool is preferred. This is a clear gap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_conversionA

Retrieve the full Markdown content of a previously saved conversion by its ID.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesThe conversion ID

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are available, so the description carries the full burden. It discloses the read-only nature ('Retrieve') and the return format ('full Markdown content'), but does not mention error behavior, edge cases, or side effects. This is minimally acceptable but lacks depth for a tool without annotation support.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, concise sentence that front-loads the purpose and includes essential details (full Markdown content, by ID). Every word earns its place, and there is no wasted text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple retrieval tool with one required parameter and no output schema, the description adequately conveys the return type and purpose. It does not cover error handling or prerequisites, but given the low complexity and schema coverage, the description is complete enough for selection and invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema fully describes the only parameter ('id' as 'The conversion ID'), and the description's 'by its ID' is a restatement rather than additional semantic value. With 100% schema coverage, the baseline of 3 applies since the description adds nothing beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Retrieve') and identifies the resource ('full Markdown content of a previously saved conversion') and the key qualifier ('by its ID'). This clearly distinguishes it from sibling tools that perform conversions or searches rather than retrieving existing conversions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage context ('previously saved conversion') but does not explicitly state when to use this tool versus alternatives or when not to use it. The sibling list shows other tools, but no direct comparisons or exclusions are provided, so guidance is only implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 6 tool updatesv0.8.1
    • First observedagent_batch_convert
    • First observedagent_convert
    • First observedbridge_convert_url
    • First observedconvert_url
    • First observedget_conversion
    • First observedsemantic_search

TDQS

A3.5/5.0
Disambiguation2/5

The three URL conversion tools (convert_url, bridge_convert_url, agent_convert) create significant overlap, especially for Reddit/JS/login-protected pages, where bridge_convert_url and agent_convert seem to serve the same purpose. The descriptions attempt to distinguish them by method, but an agent will struggle to know which to choose. semantic_search and get_conversion are distinct, but the converter cluster muddies the set.

Naming Consistency2/5

Naming conventions are mixed: convert_url and get_conversion follow verb_noun, while semantic_search is a compound noun, and bridge_convert_url, agent_convert, agent_batch_convert use method prefixes (bridge_, agent_) rather than consistent action-first names. This inconsistency makes the tool surface harder to predict.

Tool Count5/5

With 6 tools, the count is well within the ideal range for a focused web-to-markdown server. Each tool has a clear role in the conversion and retrieval workflow, including variations for extension-based conversion and batch processing. No bloat or trivial tools.

Completeness3/5

The core lifecycle is covered: convert, retrieve by ID, and search. However, there is no list-all-conversions tool and no delete/update operation, leaving a notable gap in managing saved conversions. The presence of three overlapping conversion methods partly compensates for missing features but also adds confusion.

Maintenance

ActivityStale
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/io-oi-ai/web2md-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server