# Fetch

A simple tool that performs a fetch request to a webpage.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add smithery-ai/fetch

# Browse available tools
npx -y @smithery/cli@latest tool list smithery-ai/fetch

# Get full schema for a tool
npx -y @smithery/cli@latest tool get smithery-ai/fetch fetch_url

# Call a tool
npx -y @smithery/cli@latest tool call smithery-ai/fetch fetch_url '{}'
```

## Direct MCP Connection

Endpoint: `https://fetch--smithery-ai.run.tools`

**Optional config:**
- `timeout` (query) — Request timeout in milliseconds
- `userAgent` (query) — Custom User-Agent header for HTTP requests
- `followRedirects` (query) — Follow HTTP redirects

## Tools (3)

- `fetch_url` — Fetch a URL and return basic information about the page.
- `extract_elements` — Extract specific elements from a web page using CSS selectors.
- `get_page_metadata` — Extract comprehensive metadata from a web page including title, description, Open Graph tags, Twitter cards, and other …

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get smithery-ai/fetch <tool-name>
```

---

Source: https://github.com/smithery-ai/mcp-servers/tree/main/fetch
