{"id":24161554,"url":"https://github.com/zcaceres/fetch-mcp","last_synced_at":"2025-04-10T04:55:48.859Z","repository":{"id":268958047,"uuid":"905004409","full_name":"zcaceres/fetch-mcp","owner":"zcaceres","description":"A flexible HTTP fetching Model Context Protocol server.","archived":false,"fork":false,"pushed_at":"2025-01-18T19:22:23.000Z","size":1042,"stargazers_count":212,"open_issues_count":7,"forks_count":29,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-03T03:09:02.341Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zcaceres.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-18T01:05:17.000Z","updated_at":"2025-04-02T10:04:31.000Z","dependencies_parsed_at":"2025-03-27T02:11:03.875Z","dependency_job_id":"0ca2d99a-054f-4689-995b-277fcc0c0711","html_url":"https://github.com/zcaceres/fetch-mcp","commit_stats":null,"previous_names":["zcaceres/fetch-mcp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcaceres%2Ffetch-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcaceres%2Ffetch-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcaceres%2Ffetch-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcaceres%2Ffetch-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zcaceres","download_url":"https://codeload.github.com/zcaceres/fetch-mcp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161257,"owners_count":21057554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-12T17:17:19.478Z","updated_at":"2025-04-10T04:55:48.818Z","avatar_url":"https://github.com/zcaceres.png","language":"TypeScript","readme":"# Fetch MCP Server\n\n![fetch mcp logo](logo.jpg)\n\nThis MCP server provides functionality to fetch web content in various formats, including HTML, JSON, plain text, and Markdown.\n\n## Components\n\n### Tools\n\n- **fetch_html**\n  - Fetch a website and return the content as HTML\n  - Input:\n    - `url` (string, required): URL of the website to fetch\n    - `headers` (object, optional): Custom headers to include in the request\n  - Returns the raw HTML content of the webpage\n\n- **fetch_json**\n  - Fetch a JSON file from a URL\n  - Input:\n    - `url` (string, required): URL of the JSON to fetch\n    - `headers` (object, optional): Custom headers to include in the request\n  - Returns the parsed JSON content\n\n- **fetch_txt**\n  - Fetch a website and return the content as plain text (no HTML)\n  - Input:\n    - `url` (string, required): URL of the website to fetch\n    - `headers` (object, optional): Custom headers to include in the request\n  - Returns the text content of the webpage with HTML tags, scripts, and styles removed\n\n- **fetch_markdown**\n  - Fetch a website and return the content as Markdown\n  - Input:\n    - `url` (string, required): URL of the website to fetch\n    - `headers` (object, optional): Custom headers to include in the request\n  - Returns the content of the webpage converted to Markdown format\n\n### Resources\n\nThis server does not provide any persistent resources. It's designed to fetch and transform web content on demand.\n\n## Getting started\n\n1. Clone the repository\n2. Install dependencies: `npm install`\n3. Build the server: `npm run build`\n\n### Usage\n\nTo use the server, you can run it directly:\n\n```bash\nnpm start\n```\n\nThis will start the Fetch MCP Server running on stdio.\n\n### Usage with Desktop App\n\nTo integrate this server with a desktop app, add the following to your app's server configuration:\n\n```json\n{\n  \"mcpServers\": {\n    \"fetch\": {\n      \"command\": \"node\",\n      \"args\": [\n        \"{ABSOLUTE PATH TO FILE HERE}/dist/index.js\"\n      ]\n    }\n  }\n}\n```\n\n## Features\n\n- Fetches web content using modern fetch API\n- Supports custom headers for requests\n- Provides content in multiple formats: HTML, JSON, plain text, and Markdown\n- Uses JSDOM for HTML parsing and text extraction\n- Uses TurndownService for HTML to Markdown conversion\n\n## Development\n\n- Run `npm run dev` to start the TypeScript compiler in watch mode\n- Use `npm test` to run the test suite\n\n## License\n\nThis project is licensed under the MIT License.\n","funding_links":[],"categories":["Developer Tools","Data Access \u0026 Integration MCP Servers","サーバー実装","📚 Projects (1974 total)","Community Servers","MCP 服务器精选列表","HarmonyOS","Table of Contents","TypeScript","Browser Automation","APIs and HTTP Requests","Legend","MCP Servers","🚀 DevOps Productivity","🌐 Web Development","🗂️ Extensions by Category","MCP Servers \u0026 Protocol","可用服务","Uncategorized"],"sub_categories":["API Tools","🛠️ \u003ca name=\"developer-tools\"\u003e\u003c/a\u003e開発者ツール","MCP Servers","💻 开发与代码执行","Windows Manager","Other Tools and Integrations","How to Submit","💻 \u003ca name=\"developer-tools\"\u003e\u003c/a\u003eDeveloper Tools","💻 Developer Tools","Other MCP Servers","🌐 Web Services","网络","Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzcaceres%2Ffetch-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzcaceres%2Ffetch-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzcaceres%2Ffetch-mcp/lists"}