# Parsehub — how to use (mcp.ai)

Connect your Parsehub account and use 1 tools for web scraping straight from your AI agent. Connect with your own API key. ParseHub is a web scraping tool that allows users to extract data from websites without coding.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_parsehub?ms=1787291460000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `parsehub_get_projects`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/parsehub`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/parsehub/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/parsehub/get/projects` — Tool to retrieve all projects for the authenticated user. Use after confirming account's API key.
  - body: { limit?: integer, offset?: integer }

## Example prompts
- "What can I do in Parsehub?"
- "Show me a summary of my Parsehub account"

## More
- Page: https://mcp.ai/parsehub
- Agent spec (llms.txt): https://mcp.ai/parsehub/llms.txt
- Postman collection: https://mcp.ai/parsehub/postman.json
