mcp-server-fetch-python
6
The mcp-server-fetch-python is a server application that allows users to fetch and transform web content in various formats, supporting JavaScript rendering and media file analysis. It offers tools for text extraction, HTML rendering, and Markdown conversion, utilizing AI-powered techniques for enhanced content processing.
mcp-server-fetch-python
An MCP server for fetching and transforming web content into various formats, supporting JavaScript-rendered content and media files.
Features
- get-raw-text: Directly extracts raw text content from URLs.
- get-rendered-html: Fetches fully rendered HTML using a headless browser.
- get-markdown: Converts web content to Markdown format.
- get-markdown-from-media: AI-powered extraction from media files.
Usage
Configuration for Claude Desktop includes setting up in claude_desktop_config.json
.
Environment Variables
- OPENAI_API_KEY: Required for media tools.
- PYTHONIOENCODING: Set for encoding issues.
- MODEL_NAME: Defaults to "gpt-4o".
Local Installation
Clone and run the server using provided command guides.