# MCP 공식 가져오기 서버 - 마크다운 정리를 위한 가독성 HTML(uvx) (`fetch-markdown-mcp`)

> robots.txt와 관련된 문서 URL을 가져오고 시끄러운 DOM 페이지를 LLM 컨텍스트 창을 위한 컴팩트 마크다운 청크로 변환합니다.

- **Canonical URL:** https://syndipath.com/ko/mcp/fetch-markdown-mcp
- **Runtime:** `pypi` | **Transport:** STDIO | **License:** MIT | **Package:** `mcp-server-fetch`
- **Upvotes:** 794 | **GitHub Stars:** 6890 | **Weekly Installs:** 74200
- **Security Note:** PyPI(mcp-server-fetch)에서 확인된 HTTP-200; 격리된 Astral uvx 임시 virtualenv 내에서 실행됩니다.

## Quick CLI Setup
```bash
# Run isolated Python tool via Astral uvx
uvx mcp-server-fetch

# Alternative: run via pipx
pipx run mcp-server-fetch

# Add to Claude Code CLI
claude mcp add fetch-markdown-mcp -- uvx mcp-server-fetch
```

## MCP Manifest (`mcp.json`)
```json
{
  "mcpServers": {
    "fetch-markdown-mcp": {
      "command": "uvx",
      "args": [
        "mcp-server-fetch"
      ]
    }
  }
}
```

## Exposed MCP Tools
- `fetch_markdown_mcp_extract(url_or_query: string, max_chars?: number)`: Fetches documentation URLs respecting robots.txt and converts noisy DOM pages into compact Markdown chunks for LLM context windows.
- `fetch_markdown_mcp_metadata(target: string)`: Returns structured page headings, canonical links, and HTTP response diagnostics.
