Fetch TypeScript Server
A Model Context Protocol server that provides web content fetching and conversion capabilities.
tatn
Tools
get_raw_text
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.
get_rendered_html
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.
get_markdown
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.
get_markdown_summary
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.
README
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.
<a href="https://glama.ai/mcp/servers/iyfpvfkgyx"><img width="380" height="200" src="https://glama.ai/mcp/servers/iyfpvfkgyx/badge" alt="Server Fetch TypeScript MCP server" /></a>
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
- Takes
-
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
- Takes
-
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
- Takes
-
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
- Takes
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
Recommended Servers
Mult Fetch MCP Server
A versatile MCP-compliant web content fetching tool that supports multiple modes (browser/node), formats (HTML/JSON/Markdown/Text), and intelligent proxy detection, with bilingual interface (English/Chinese).
Persistent Knowledge Graph
An implementation of persistent memory for Claude using a local knowledge graph, allowing the AI to remember information about users across conversations with customizable storage location.
Hyperbrowser MCP Server
Welcome to Hyperbrowser, the Internet for AI. Hyperbrowser is the next-generation platform empowering AI agents and enabling effortless, scalable browser automation. Built specifically for AI developers, it eliminates the headaches of local infrastructure and performance bottlenecks, allowing you to
Exa MCP
A Model Context Protocol server that enables AI assistants like Claude to perform real-time web searches using the Exa AI Search API in a safe and controlled manner.
Perplexity Chat MCP Server
MCP Server for the Perplexity API.
Web Research Server
A Model Context Protocol server that enables Claude to perform web research by integrating Google search, extracting webpage content, and capturing screenshots.

Youtube Translate
A Model Context Protocol server that enables access to YouTube video content through transcripts, translations, summaries, and subtitle generation in various languages.
PubMedSearch
A Model Content Protocol server that provides tools to search and retrieve academic papers from PubMed database.
Aindreyway Codex Keeper
Serves as a guardian of development knowledge, providing AI assistants with curated access to latest documentation and best practices.
Perplexity Deep Research
A server that allows AI assistants to perform web searches using Perplexity's sonar-deep-research model with citation support.