Web Content Fetch
STDIOA Model Context Protocol server for web content fetching and conversion capabilities.
A Model Context Protocol server for web content fetching and conversion capabilities.
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.
get_raw_text
- Retrieve raw text content directly from URLs
url
as a required parameter pointing to text-based resourcesget_rendered_html
- Fetch fully rendered HTML content
url
as a required parameterget_markdown
- Convert web content to Markdown format
url
as a required parameterget_markdown_summary
- Extract and convert main content
url
as a required parameternpm install -g mcp-server-fetch-typescript
npm install mcp-server-fetch-typescript
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" ] } }
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