A Model Context Protocol server that provides web content fetching and conversion capabilities
npm install mcp-server-fetch-typescriptget_raw_text - Retrieve raw text content directly from URLs
url as a required parameter pointing to text-based resources
get_rendered_html - Fetch fully rendered HTML content
url as a required parameter
get_markdown - Convert web content to Markdown format
url as a required parameter
get_markdown_summary - Extract and convert main content
url as a required parameter
bash
npm install -g mcp-server-fetch-typescript
`
$3
`bash
npm install mcp-server-fetch-typescript
`
Usage
$3
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
`json
"mcpServers": {
"mcp-server-fetch-typescript": {
"command": "npx",
"args": [
"-y",
"mcp-server-fetch-typescript"
]
}
}
`
or Add the following configuration:
`bash
git clone https://github.com/tatn/mcp-server-fetch-typescript.git
cd mcp-server-fetch-typescript
npm install
npm run build
`
`json
"mcpServers": {
"mcp-server-fetch-typescript": {
"command": "node",
"args": [
"/path/to/mcp-server-fetch-typescript/build/index.js"
]
}
}
`
$3
To debug the MCP server:
`bash
npx @modelcontextprotocol/inspector npx -y mcp-server-fetch-typescript
`
`bash
npx @modelcontextprotocol/inspector node /path/to/mcp-server-fetch-typescript/build/index.js
``