Skip to main content
Glama
xiaocang

mcp-fetch-ya

by xiaocang

mcp-fetch-ya

A Model Context Protocol (MCP) server for fetching web content and converting HTML to markdown.

Features

  • HTML to Markdown - Automatically extracts main content using Readability and converts to clean markdown

  • robots.txt Compliance - Respects robots.txt by default (configurable)

  • Custom User-Agent - Configurable User-Agent string

  • Proxy Support - Optional HTTP/HTTPS proxy configuration

Related MCP server: fetch

Installation

npm install -g mcp-fetch-ya@latest

Or use directly with npx:

npx mcp-fetch-ya@latest

Usage with Claude Desktop

Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "fetch": {
      "command": "npx",
      "args": ["mcp-fetch-ya@latest"]
    }
  }
}

With options

{
  "mcpServers": {
    "fetch": {
      "command": "npx",
      "args": [
        "mcp-fetch-ya@latest",
        "--ignore-robots-txt",
        "--user-agent", "MyBot/1.0"
      ]
    }
  }
}

With proxy

{
  "mcpServers": {
    "fetch": {
      "command": "npx",
      "args": [
        "mcp-fetch-ya@latest",
        "--proxy-url", "http://proxy.example.com:8080"
      ]
    }
  }
}

Tool: fetch_ya

If the built-in web fetch tool fails, you can retry with this MCP tool as a fallback. Fetches a URL and returns the content. HTML pages are converted to markdown for easier reading.

Parameters

Parameter

Type

Required

Default

Description

url

string

Yes

-

The URL to fetch

raw

boolean

No

false

Return raw content without markdown conversion

CLI Options

Option

Description

--user-agent <agent>

Custom User-Agent string

--proxy-url <url>

Proxy URL for requests

--ignore-robots-txt

Ignore robots.txt restrictions

License

MIT

Available Tools

1 tool
fetch_yaFetch URLA

If the built-in web fetch tool fails, you can retry with this MCP tool as a fallback. Fetches a URL and returns the content. HTML pages are converted to markdown for easier reading.

ParametersJSON Schema
NameRequiredDescriptionDefault
rawNoReturn raw content without markdown conversion
urlYesThe URL to fetch

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral disclosure burden. It states that this is a fetch operation returning content and discloses the key transformation: HTML pages are converted to markdown. It does not mention error handling, redirects, or rate limits, but for a simple read-only fetch tool the described behavior is sufficiently transparent.

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?

Three short sentences, each earning its place: the fallback condition, the core fetch behavior, and the markdown conversion behavior. There is no filler, redundancy, or unnecessary detail. The most important usage guidance is front-loaded.

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 two-parameter tool with full schema coverage and no output schema, the description plus schema is sufficient to call the tool correctly. It explains when to use it, what it does, and the default conversion behavior. Minor edge cases like non-HTML handling are not covered but are not critical for invoking it correctly.

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%, so the baseline is 3. The schema already documents both 'url' and 'raw' parameters well. The description's mention of markdown conversion aligns with the 'raw' parameter's purpose but does not add significant parameter-level meaning beyond what the schema provides.

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 identifies the core action: 'Fetches a URL and returns the content.' It also frames the tool as a fallback to the built-in web fetch tool, which distinguishes its purpose and place in the tool ecosystem. The verb, resource, and intended role are all explicit.

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

Usage Guidelines5/5

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

The description explicitly states when to use this tool: if the built-in web fetch tool fails, retry with this MCP tool as a fallback. It names the alternative tool and implies the built-in tool should be attempted first. This leaves no ambiguity about use versus alternatives.

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. 1 tool updatev0.1.4
    • First observedfetch_ya

TDQS

A4.4/5.0
Disambiguation5/5

Only one tool exists, so no possible confusion between tools. The purpose is clear: it fetches a URL as a fallback.

Naming Consistency5/5

With a single tool, there is no inconsistency in naming. 'fetch_ya' follows a simple verb-based convention and is recognizable.

Tool Count3/5

One tool is extremely minimal and may feel thin, but it exactly matches the narrow fallback-fetch scope. It sits in the borderline range for tool count.

Completeness5/5

For its stated purpose of acting as a fallback URL fetcher, the tool fully covers the operation: fetch, convert to markdown, and return content. No obvious gaps exist for this narrow domain.

Maintenance

ActivityInactive
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

  • F
    license
    Not graded
    quality
    D
    maintenance
    Fetches web pages and converts them to clean, readable markdown format by extracting main content while removing navigation, ads, and other non-essential elements to minimize token usage.
    4
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Fetches web pages and converts them to markdown for LLM consumption, supporting chunked reading and raw content extraction.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Converts URLs into clean, LLM-ready markdown, respecting robots.txt and never bypassing anti-bot measures or paywalls.
    MIT

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/xiaocang/mcp-fetch-ya'

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