Overview
What is mcp-server-fetch-typescript?
A Model Context Protocol server that provides web content fetching and conversion capabilities. It offers tools for retrieving raw text, rendered HTML, Markdown, and main-content summaries. Designed for developers needing programmatic access to web content in various formats.
How to use mcp-server-fetch-typescript?
Install globally with npm install -g mcp-server-fetch-typescript or as a project dependency. Configure with Claude Desktop by adding the server config to claude_desktop_config.json using either npx -y mcp-server-fetch-typescript or a local build path.
Key features of mcp-server-fetch-typescript
- Raw text retrieval without browser rendering
- Fully rendered HTML using Playwright headless browser
- Markdown conversion preserving tables and definition lists
- Main-content extraction removing navigation and footers
- Supports JSON, XML, CSV, TSV, and plain text files
Use cases of mcp-server-fetch-typescript
- Extracting data from JSON or CSV endpoints
- Capturing dynamic content from single-page applications
- Archiving web pages in clean Markdown format
- Distilling article or blog post content for reading
FAQ from mcp-server-fetch-typescript
How do I install mcp-server-fetch-typescript?
Install globally with npm install -g mcp-server-fetch-typescript or as a project dependency with npm install mcp-server-fetch-typescript.
How do I configure mcp-server-fetch-typescript with Claude Desktop?
Add the server configuration to claude_desktop_config.json using the command npx -y mcp-server-fetch-typescript or a path to the built index.js.
What are the available tools?
The server provides four tools: get_raw_text, get_rendered_html, get_markdown, and get_markdown_summary, each taking a url parameter.
What is the difference between the tools?
get_raw_text returns unprocessed text for data files; get_rendered_html executes JavaScript via Playwright; get_markdown converts to Markdown; get_markdown_summary extracts only the main content.
How can I debug mcp-server-fetch-typescript?
Use npx @modelcontextprotocol/inspector npx -y mcp-server-fetch-typescript or replace with the local build path.