Cover image
Try Now
2025-01-21

镜像://github.com/tatn/mcp-server-fetch-typescript

3 years

Works with Finder

0

Github Watches

1

Github Forks

0

Github Stars

mcp-server-fetch-typescript MCP Server

A Model Context Protocol server that provides web content fetching and conversion capabilities. This server implements a comprehensive web content retrieval system with support for various formats and rendering methods, making it ideal for tasks ranging from simple data extraction to sophisticated web scraping.

Server Fetch TypeScript MCP server

Features

Tools

  • get_raw_text - Retrieve raw text content directly from URLs

    • Takes url as a required parameter pointing to text-based resources
    • Returns unprocessed text content without browser rendering
    • Ideal for JSON, XML, CSV, TSV, or plain text files
    • Best used when fast, direct access to source content is needed
  • get_rendered_html - Fetch fully rendered HTML content

    • Takes url as a required parameter
    • Returns complete HTML content after JavaScript execution
    • Uses Playwright for headless browser rendering
    • Essential for modern web applications and SPAs
  • get_markdown - Convert web content to Markdown format

    • Takes url as a required parameter
    • Returns well-formatted Markdown preserving structural elements
    • Supports tables and definition lists
    • Recommended for content archiving and documentation
  • get_markdown_summary - Extract and convert main content

    • Takes url as a required parameter
    • Returns clean Markdown focusing on main content
    • Automatically removes navigation, headers, footers
    • Perfect for article and blog post extraction

Installation

As a Global Package

npm install -g mcp-server-fetch-typescript

As a Project Dependency

npm install mcp-server-fetch-typescript

Usage

Using with Claude Desktop

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json

"mcpServers": {
  "mcp-server-fetch-typescript": {
    "command": "npx",
    "args": [
      "-y",
      "mcp-server-fetch-typescript"
    ]
  }
}

or Add the following configuration:

git clone https://github.com/tatn/mcp-server-fetch-typescript.git
cd mcp-server-fetch-typescript
npm install
npm run build
"mcpServers": {
  "mcp-server-fetch-typescript": {
    "command": "node",
    "args": [
      "/path/to/mcp-server-fetch-typescript/build/index.js"
    ]
  }
}

Debugging

To debug the MCP server:

npx @modelcontextprotocol/inspector npx -y mcp-server-fetch-typescript
npx @modelcontextprotocol/inspector node /path/to/mcp-server-fetch-typescript/build/index.js

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Jan Meindl
  • Builds new GPTs

  • Khalid kalib
  • Write professional emails

  • XLwebDev.com
  • PR Professional: Guiding You to Get Media Placements and Publicity Quickly and Effectively

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

    Reviews

    3 (1)
    Avatar
    user_w5hEBE0k
    2025-04-16

    I recently tried tatn_mcp-server-fetch-typescript and I am impressed! MCP-Mirror has done an incredible job with this product. It's user-friendly and efficient, making server-fetch tasks seamless with TypeScript. The documentation is clear, and the support community is helpful. If you're working with MCP applications, this tool is a must-have. Highly recommend checking it out on GitHub: https://github.com/MCP-Mirror/tatn_mcp-server-fetch-typescript.