mcp-server-fetch-typescript logo

mcp-server-fetch-typescript

by MCP-Mirror

A Model Context Protocol server that provides web content fetching and conversion capabilities. It implements a comprehensive web content retrieval system with support for various formats and rendering methods.

View on GitHub

Last updated: N/A

What is mcp-server-fetch-typescript?

This is a Model Context Protocol (MCP) server designed for fetching and converting web content. It offers various tools to retrieve raw text, rendered HTML, and convert web pages to Markdown format, with options for extracting main content.

How to use mcp-server-fetch-typescript?

The server can be installed globally or as a project dependency using npm. It can be integrated with Claude Desktop by adding a server configuration to the Claude configuration file. Debugging is supported using the Model Context Protocol inspector.

Key features of mcp-server-fetch-typescript

  • Retrieve raw text content directly from URLs

  • Fetch fully rendered HTML content using Playwright

  • Convert web content to Markdown format

  • Extract and convert main content to Markdown

Use cases of mcp-server-fetch-typescript

  • Data extraction from web pages

  • Web scraping for research or analysis

  • Content archiving and documentation

  • Article and blog post extraction

  • Integration with AI tools like Claude Desktop

FAQ from mcp-server-fetch-typescript

What is the purpose of get_raw_text?

It retrieves raw text content directly from URLs without browser rendering, ideal for JSON, XML, CSV, TSV, or plain text files.

When should I use get_rendered_html?

Use it to fetch fully rendered HTML content after JavaScript execution, essential for modern web applications and SPAs.

What does get_markdown do?

It converts web content to well-formatted Markdown, preserving structural elements like tables and definition lists.

What is the advantage of using get_markdown_summary?

It extracts and converts the main content of a web page to clean Markdown, automatically removing navigation, headers, and footers, perfect for article and blog post extraction.

How do I integrate this server with Claude Desktop?

Add a server configuration to the Claude configuration file (claude_desktop_config.json) specifying the command and arguments to run the server.