内容获取
STDIO网页内容获取服务器,支持多种格式
网页内容获取服务器,支持多种格式

This MCP server provides functionality to fetch web content in various formats, including HTML, JSON, plain text, and Markdown.
fetch_html
url (string, required): URL of the website to fetchheaders (object, optional): Custom headers to include in the requestfetch_json
url (string, required): URL of the JSON to fetchheaders (object, optional): Custom headers to include in the requestfetch_txt
url (string, required): URL of the website to fetchheaders (object, optional): Custom headers to include in the requestfetch_markdown
url (string, required): URL of the website to fetchheaders (object, optional): Custom headers to include in the requestThis server does not provide any persistent resources. It's designed to fetch and transform web content on demand.
npm installnpm run buildTo install fetch-mcp for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @goswamig/fetch-mcp --client claude
To use the server, you can run it directly:
npm start
This will start the Fetch MCP Server running on stdio.
To integrate this server with a desktop app, add the following to your app's server configuration:
{ "mcpServers": { "fetch": { "command": "node", "args": [ "{ABSOLUTE PATH TO FILE HERE}/dist/index.js" ] } } }
npm run dev to start the TypeScript compiler in watch modenpm test to run the test suiteThis project is licensed under the MIT License.