Web Fetch
Fetches and converts web content, ideal for data extraction and web scraping.
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 URLs- Takes
urlas 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
urlas 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
urlas 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
urlas 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
Похожие серверы
Bright Data
спонсорDiscover, extract, and interact with the web - one interface powering automated access across the public internet.
Haunt API
AI-powered web data extraction MCP server — extract structured JSON from any website with natural language prompts.
Web Search
Performs web searches and extracts full page content from search results.
Tap
AI forges browser automation as deterministic .tap.js programs. 140+ community skills, 3 runtimes. Programs run forever at $0.
Hacker News
Fetches and parses stories from Hacker News, providing structured data for top, new, ask, show, and job posts.
MCP FetchPage
Intelligent web page fetching with automatic cookie support and CSS selector extraction.
MCP Node Fetch
Fetch web content using the Node.js undici library.
Docs Fetch MCP Server
Fetch web page content with recursive exploration.
Postman V2
An MCP server that provides access to Postman using V2 api version.
MCP360
MCP360 is a unified gateway and marketplace that provides 100+ external tools and custom MCPs through a single integration for AI agents.
Scrappa
Remote MCP server for Claude, Cursor, VS Code, and Windsurf with access to 80+ web scraping and data extraction APIs.