mcp-server-fetch-python
Overview
The mcp-server-fetch-python is a server designed for fetching and transforming web content into various formats, providing tools for extracting content from web pages, including support for JavaScript-rendered content and media files.
To use the server, you can either configure it with Claude Desktop or install it locally. For Claude Desktop, add the server configuration to the appropriate config file. For local installation, clone the repository and run the server using the provided commands.
- get-raw-text: Extracts raw text content from URLs without browser rendering. - get-rendered-html: Fetches fully rendered HTML content using a headless browser. - get-markdown: Converts web page content to well-formatted Markdown. - get-markdown-from-media: AI-powered content extraction from media files using computer vision and OCR.
- Extracting structured data from web pages.
- Fetching content from modern web applications that require JavaScript rendering.
- Converting web content into Markdown for documentation purposes.
- Analyzing media files for content extraction.
Add to your AI client
Use these steps to connect mcp-server-fetch-python in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-server-fetch-python-tatn": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-fetch-python-tatn"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-server-fetch-python-tatn": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-fetch-python-tatn"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-server-fetch-python-tatn": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-fetch-python-tatn"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-server-fetch-python-tatn": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-fetch-python-tatn"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-fetch-python-tatn": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-fetch-python-tatn"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-server-fetch-python-tatn": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-fetch-python-tatn"
]
}
}
}FAQ
**What is required to use the get-markdown-from-media tool?**
You need to set the OPENAI_API_KEY in your environment variables to use this tool.
**Can I run the server locally?**
Yes, you can clone the repository and run the server locally using the provided commands.
**What types of content can be extracted?**
The server can extract text, HTML, Markdown, and perform content extraction from images and videos.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":918,"uuid":"ce661c22-7f64-4c78-9a67-8c4c2ef758af","name":"mcp-server-fetch-python","title":"mcp-server-fetch-python","description":"","avatar_url":"https://avatars.githubusercontent.com/u/7001834?v=4","created_at":"2025-01-28T02:18:37.893Z","updated_at":"2025-02-23T07:18:52.993Z","status":"created","author_name":"tatn","author_avatar_url":"https://avatars.githubusercontent.com/u/7001834?v=4","tags":"[]","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/tatn/mcp-server-fetch-python","target":"_self","content":"$29","summary":"$2a","img_url":"https://camo.githubusercontent.com/dcc69f909dadf5f4ecc51f3a9ca96267864c7f1117b1f756abafd5f883eaa1a5/68747470733a2f2f676c616d612e61692f6d63702f736572766572732f3864307a6d326f3536642f6261646765","type":null,"metadata":"{\"star\":\"5\",\"license\":\"MIT license\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-04-05 08:13:52\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]