tatn_mcp-server-fetch-typescript
A Model Context Protocol server that provides web content fetching and conversion capabilities.
The mcp-server-fetch-typescript is a robust Model Context Protocol server designed to facilitate web content retrieval and conversion. It supports a variety of formats and rendering methods, making it suitable for tasks ranging from basic data extraction to advanced web scraping. The server is equipped with tools that allow users to fetch raw text, rendered HTML, and convert web content into Markdown format. It is particularly useful for modern web applications and single-page applications (SPAs) that require JavaScript execution for content rendering. The server is implemented in TypeScript and can be installed globally or as a project dependency, providing flexibility in deployment and usage.
Features
- {'name': 'get_raw_text', 'description': 'Retrieve raw text content directly from URLs, ideal for JSON, XML, CSV, TSV, or plain text files.'}
- {'name': 'get_rendered_html', 'description': 'Fetch fully rendered HTML content using Playwright for headless browser rendering, essential for modern web applications.'}
- {'name': 'get_markdown', 'description': 'Convert web content to Markdown format, supporting tables and definition lists, recommended for content archiving.'}
- {'name': 'get_markdown_summary', 'description': 'Extract and convert main content to Markdown, removing navigation, headers, and footers, perfect for article extraction.'}
Usage with Different Platforms
Claude Desktop
"mcpServers": {
"mcp-server-fetch-typescript": {
"command": "npx",
"args": [
"-y",
"mcp-server-fetch-typescript"
]
}
}
Git Clone and Build
bash
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
bash
npx @modelcontextprotocol/inspector npx -y mcp-server-fetch-typescript
bash
npx @modelcontextprotocol/inspector node /path/to/mcp-server-fetch-typescript/build/index.js
Related MCP Servers
View all browser_automation servers →Fetch
by modelcontextprotocol
A Model Context Protocol server that provides web content fetching capabilities, enabling LLMs to retrieve and process content from web pages.
markdownify-mcp
by zcaceres
Markdownify is a Model Context Protocol (MCP) server that converts various file types and web content to Markdown format.
mcp-playwright
by executeautomation
A Model Context Protocol server that provides browser automation capabilities using Playwright.
cursor-talk-to-figma-mcp
by sonnylazuardi
This project implements a Model Context Protocol (MCP) integration between Cursor AI and Figma, allowing Cursor to communicate with Figma for reading designs and modifying them programmatically.
playwright-mcp
by microsoft
A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright.
ai-agent-marketplace-index-mcp
by AI-Agent-Hub
MCP Server for AI Agent Marketplace Index from DeepNLP, allowing AI assistants to search available AI agents by keywords or categories.
web-eval-agent
by Operative-Sh
operative.sh's MCP Server is a browser-use powered agent that autonomously executes and debugs web apps directly in your code editor.