fetch-mcp  by zcaceres

MCP server for fetching and transforming web content

Created 1 year ago
666 stars

Top 50.7% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides a flexible server for fetching and transforming web content into various formats like HTML, JSON, plain text, and Markdown. It's designed for developers needing to integrate web scraping and content conversion capabilities into applications, offering a standardized way to interact with web resources.

How It Works

The server leverages Node.js and modern web APIs, specifically the fetch API for making HTTP requests. It utilizes JSDOM for parsing HTML and extracting text content, effectively stripping away HTML tags, scripts, and styles. For HTML-to-Markdown conversion, it employs the TurndownService. The server runs on stdio, allowing for integration with other applications via command-line arguments.

Quick Start & Requirements

  • Primary install / run command: npm start
  • Prerequisites: Node.js, npm
  • Setup: Clone the repository, run npm install, then npm run build.

Highlighted Details

  • Supports fetching content in HTML, JSON, plain text, and Markdown formats.
  • Allows customization of requests with custom headers.
  • Utilizes JSDOM for robust HTML parsing and text extraction.
  • Integrates TurndownService for accurate HTML to Markdown conversion.

Maintenance & Community

No specific community channels or notable contributors are mentioned in the README.

Licensing & Compatibility

  • License: MIT License
  • Compatibility: Permissive MIT license allows for commercial use and integration into closed-source projects.

Limitations & Caveats

The server is designed to run on stdio and requires manual configuration for integration with desktop applications. Specific error handling or rate-limiting mechanisms are not detailed.

Health Check
Last Commit

4 months ago

Responsiveness

1 week

Pull Requests (30d)
0
Issues (30d)
0
Star History
12 stars in the last 30 days

Explore Similar Projects

Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), Dirk Englund Dirk Englund(MIT EECS Professor and Cofounder of Axiomatic AI), and
25 more.

firecrawl by firecrawl

1.8%
74k
API service for turning websites into LLM-ready data
Created 1 year ago
Updated 2 days ago
Feedback? Help us improve.