# You.com — how to use (mcp.ai)

Connect your You.com account and use 1 tools for artificial intelligence straight from your AI agent. Connect with your own API key. YouSearch is a search engine or search tool that enables users to find relevant information, possibly with enhanced filtering or privacy-focused features.

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

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

### Endpoints
- `POST https://api.mcp.ai/api/yousearch/you/search` — Search the web using You.com's search API. Returns LLM-ready web results and news articles based on your query. Supports advanced filtering by country, language, freshness, and content safety.
  - body: { count?: integer, query: string, offset?: integer, country?: string, language?: string, freshness?: string, safesearch?: string }

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

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