# Linkup — how to use (mcp.ai)

Connect your Linkup account and use 4 tools for web scraping straight from your AI agent. Connect with your own API key. Linkup is a search engine that allows you to search the web for relevant results.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_linkup?ms=1787291160000`
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. `linkup_create_response`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/linkup`
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/linkup/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/linkup/create/response` — Proxy endpoint for OpenAI-compatible response generation. Used when the OpenAI client's base URL is set to Linkup. Supports 'linkup-standard' for faster results and 'linkup-deep' for more comprehensiv
  - body: { text?: object, input: string, model: string, instructions?: string }
- `POST https://api.mcp.ai/api/linkup/fetch/webpage` — Fetch and retrieve a markdown representation of a webpage from a given URL. Supports optional JavaScript rendering for single-page applications, raw HTML extraction, and image extraction from the webp
  - body: { url: string, renderJs?: boolean, extractImages?: boolean, includeRawHtml?: boolean }
- `POST https://api.mcp.ai/api/linkup/get/credits/balance` — Tool to retrieve the current credits balance for your Linkup account. Returns the number of credits remaining that can be used for search and fetch operations.
- `POST https://api.mcp.ai/api/linkup/search` — Search the web and retrieve insights using Linkup's API. This action provides three output modes: natural language answers with sources (sourcedAnswer), raw search context (searchResults), or custom s
  - body: { depth?: string, query: string, to_date?: string, from_date?: string, max_results?: integer, output_type?: string, include_images?: boolean, exclude_domains?: string[], include_domains?: string[], include_sources?: boolean, include_inline_citations?: boolean, structured_output_schema?: string }

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

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