MCP Server Fetch TypeScript
The MCP Server Fetch TypeScript provides web content fetching and conversion capabilities, offering four key functions:
Retrieve raw text content using
get_raw_textfor JSON, XML, CSV, TSV, or plain text filesFetch fully rendered HTML with
get_rendered_html, capturing JavaScript-generated content from modern web applications and SPAsConvert web content to Markdown via
get_markdown, preserving structural elements like tables and listsExtract main content with
get_markdown_summary, automatically removing peripheral elements like navigation menus, headers, and footers
The server provides tools to convert web content to Markdown format and extract Markdown summaries of web content
The server is implemented in TypeScript as indicated by its name 'mcp-server-fetch-typescript'
The server can retrieve raw text content from XML files
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Server Fetch TypeScript get the main content from https://example.com/blog/post as markdown"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
Features
Tools
get_raw_text- Retrieve raw text content directly from URLsTakes
urlas a required parameter pointing to text-based resourcesReturns 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 contentTakes
urlas a required parameterReturns 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 formatTakes
urlas a required parameterReturns well-formatted Markdown preserving structural elements
Supports tables and definition lists
Recommended for content archiving and documentation
get_markdown_summary- Extract and convert main contentTakes
urlas a required parameterReturns clean Markdown focusing on main content
Automatically removes navigation, headers, footers
Perfect for article and blog post extraction
Related MCP server: MCP Server for Google Search
Installation
As a Global Package
npm install -g mcp-server-fetch-typescriptAs a Project Dependency
npm install mcp-server-fetch-typescriptUsage
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-typescriptnpx @modelcontextprotocol/inspector node /path/to/mcp-server-fetch-typescript/build/index.jsAvailable Tools
4 toolsget_markdownA
Converts web page content to well-formatted Markdown, preserving structural elements like tables and definition lists. Recommended as the default tool for web content extraction when a clean, readable text format is needed while maintaining document structure.
Inputs: url (required).
get_markdown_summaryA
Extracts and converts the main content area of a web page to Markdown format, automatically removing navigation menus, headers, footers, and other peripheral content. Perfect for capturing the core content of articles, blog posts, or documentation pages.
Inputs: url (required).
get_raw_textA
Retrieves raw text content directly from a URL without browser rendering. Ideal for structured data formats like JSON, XML, CSV, TSV, or plain text files. Best used when fast, direct access to the source content is needed without processing dynamic elements.
Inputs: url (required).
get_rendered_htmlA
Fetches fully rendered HTML content using a headless browser, including JavaScript-generated content. Essential for modern web applications, single-page applications (SPAs), or any content that requires client-side rendering to be complete.
Inputs: url (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: get_markdown preserves full structure, get_markdown_summary focuses on core content, get_raw_text handles raw data formats, and get_rendered_html captures JavaScript-rendered content. The descriptions explicitly differentiate use cases, leaving no ambiguity for agent selection.
All tool names follow a consistent 'get_*' verb_noun pattern with snake_case, making them predictable and easy to parse. The naming convention is uniform across all four tools, enhancing readability and coherence.
With 4 tools, the set is well-scoped for a web content fetching server, covering key extraction methods (Markdown, raw text, rendered HTML) and a specialized summary variant. Each tool earns its place without redundancy or excessive complexity.
The tool surface comprehensively covers the domain of web content fetching: it includes raw extraction, rendered content, and two Markdown variants for different needs. There are no obvious gaps, as the tools handle static, dynamic, and structured content effectively.
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
Model Context Protocol server for Studex tools, notifications, and profile integrations
A remote MCP server to convert HTML documents (URL or raw source) to PDF or screenshots
MCP server for web extraction and rendering via AceDataCloud WebExtrator
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that converts Markdown content to HTML format.14,207 npm2MIT
- FlicenseAqualityCmaintenanceA Model Context Protocol server that provides web search capabilities using Google Custom Search API and webpage content extraction functionality.26 npm2-
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides web search capabilities using Google Custom Search API and webpage content extraction functionality.2MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server providing web search capabilities using Google Custom Search API and webpage content extraction functionality.2MIT