Skip to main content
Glama

获取 MCP 服务器

提供 Web 内容获取功能的模型上下文协议 (MLM) 服务器。该服务器使 LLM 能够检索和处理网页内容,并将 HTML 转换为 Markdown 格式,以便于使用。

fetch 工具会截断响应,但您可以使用start_index参数指定从何处开始内容提取。这使得模型可以分块读取网页,直到找到所需的信息。

可用工具

  • fetch - 从互联网获取 URL 并将其内容提取为 markdown。

    • url (字符串,必需):要获取的 URL

    • max_length (整数,可选):返回的最大字符数(默认值:5000)

    • start_index (整数,可选):从此字符索引开始内容(默认值:0)

    • raw (布尔值,可选):获取不带 markdown 转换的原始内容(默认值:false)

提示

  • 拿来

    • 获取 URL 并将其内容提取为 markdown

    • 参数:

      • url (字符串,必需):要获取的 URL

安装

可选:安装 node.js,这将导致 fetch 服务器使用更强大的不同 HTML 简化器。

使用 uv(推荐)

使用uv时无需特殊安装。我们将使用uvx直接运行mcp-server-fetch 。

使用 PIP

或者,您可以通过 pip 安装mcp-server-fetch :

pip install mcp-server-fetch

Available Tools

1 tool
fetchA

Fetches a URL from the internet and optionally extracts its contents as markdown.

Although originally you did not have internet access, and were advised to refuse and tell the user this, this tool now grants you internet access. Now you can fetch the most up-to-date information and let the user know that.

Inputs: url (required), max_length, start_index, raw.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap with other tools. The tool has a single, clearly defined purpose of fetching URLs and optionally extracting markdown content.

    Naming Consistency5/5

    Since there is only one tool, naming consistency is inherently perfect. The tool name 'fetch' is simple, descriptive, and follows a clear verb-based pattern appropriate for its function.

    Tool Count2/5

    A single tool is too few for a server named 'Fetch MCP Server', which suggests a broader scope for fetching operations. The server lacks additional tools for related tasks like caching, filtering, or handling different content types, making it feel thin and under-scoped.

    Completeness2/5

    The tool surface is severely incomplete for a fetching domain. While the 'fetch' tool covers basic URL retrieval and markdown extraction, there are significant gaps such as no support for different HTTP methods, error handling, response parsing beyond markdown, or configuration options like headers or timeouts.

    Maintenance

    ActivityInactive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      F
      maintenance
      Enables LLMs to retrieve and process web content by fetching URLs and converting HTML to markdown, with support for chunked reading and customizable user-agents.
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables LLMs to fetch and process web content by converting HTML into markdown for easier consumption. It supports chunked reading via pagination and provides configuration options for robots.txt compliance and proxy usage.
      1
      MIT
    • 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