MCP Server

Dev

Introduction

The You.com MCP Server gives your AI agents real-time access to the latest web information through the Model Context Protocol. Search current content, get up-to-date answers, and extract live web pagesโ€”whether in your IDE or deployed agentic workflows. Built on MCP to work everywhere your agents doโ€”one integration, unlimited compatibility across IDEs, frameworks, and production systems.

Key Features:

  • ๐Ÿ” Web and news search with advanced filtering
  • ๐Ÿค– AI-powered answers with optional web search integration
  • ๐Ÿ“„ Content extraction from URLs in markdown or HTML format
  • ๐Ÿš€ Multiple deployment options: Remote server (recommended) or local NPM package
  • ๐Ÿ”’ Secure authentication with API keys
  • ๐ŸŒ Works seamlessly with Windsurf, Claude Code, Cursor, VS Code, JetBrains, and other MCP-enabled IDEs

Getting started

Get up and running with the You.com MCP Server in four simple steps:

Step 1: Get your API key

Visit you.com/platform to obtain your API key. Keep this key secure - youโ€™ll need it for configuration.

Step 2: Choose your setup

You can discover this server in the Anthropic MCP Registry as io.github.youdotcom-oss/mcp, or configure it manually:

Remote server (recommended)

Always up-to-date with the latest features. Just add the URL https://api.you.com/mcp and your API key to your agentโ€™s configuration.

Local NPM package

For self-hosting or offline development. Install via npx @youdotcom-oss/mcp to run locally on your machine with STDIO transport.

Step 3: Configure your client

Choose from Windsurf, Claude Code, Cursor, VS Code, JetBrains, or other supported editors. See the Setup guides below for IDE-specific configuration.

Standard configuration templates

Most MCP clients use one of these standard configuration formats:

Remote server (recommended):

1{
2 "mcpServers": {
3 "ydc-server": {
4 "type": "http",
5 "url": "https://api.you.com/mcp",
6 "headers": {
7 "Authorization": "Bearer <your-api-key>"
8 }
9 }
10 }
11}

Local NPM package:

1{
2 "mcpServers": {
3 "ydc-server": {
4 "command": "npx",
5 "args": ["@youdotcom-oss/mcp"],
6 "env": {
7 "YDC_API_KEY": "<your-api-key>"
8 }
9 }
10 }
11}

Step 4: Test your setup

Once configured, try these natural language queries with your AI assistant:

  • โ€œSearch the web for the latest news about artificial intelligenceโ€
  • โ€œWhat is the capital of France?โ€ (with web search)
  • โ€œExtract the content from https://example.comโ€

Your AI assistant will ask for permission to use the You.com MCP tools the first time, then automatically use them for future requests.

Available tools

The You.com MCP Server provides three powerful tools that work seamlessly with your AI assistant. Simply ask in natural language what you want to do - your MCP client automatically handles the rest.

Comprehensive web and news search with advanced filtering capabilities. Use this when you need to search the web for information, filter by specific sites or file types, or get the latest news on a topic.

you-express

Fast AI-powered agent that provides synthesized answers with optional real-time web search. Use this when you want a direct answer to a question with up-to-date context and citations.

you-contents

Extract full page content from URLs in markdown or HTML format. Use this when you need to extract and analyze content from web pages for reading or processing in your workflow.

Use cases & examples

Here are practical examples showing how to use the You.com MCP tools in your daily workflow:

Research & information gathering

Finding specific information:

  • โ€œFind recent research papers about quantum computing on arxiv.orgโ€
  • โ€œSearch for TypeScript documentation about genericsโ€
  • โ€œGet the latest news about renewable energy from the past weekโ€
  • โ€œFind PDF files about machine learning algorithmsโ€

Getting synthesized answers:

  • โ€œWhat are the key differences between REST and GraphQL?โ€
  • โ€œExplain how quantum entanglement worksโ€
  • โ€œWhat happened in the tech industry today?โ€
  • โ€œSummarize the main features of the latest Python releaseโ€

Content extraction & analysis

Extracting web content:

  • โ€œExtract the content from this blog post: https://example.com/articleโ€
  • โ€œGet the documentation from these three URLs in markdown formatโ€
  • โ€œPull the HTML content from this page preserving the layoutโ€
  • โ€œBatch extract content from these 5 documentation pagesโ€

Combined workflows

Your AI assistant can orchestrate multiple tools to complete complex tasks:

  1. Research + extract: โ€œSearch for the best TypeScript tutorials, then extract the content from the top 3 resultsโ€
  2. Question + deep dive: โ€œWhat is WebAssembly? Then search for real-world examples and extract code samplesโ€
  3. News + analysis: โ€œFind recent articles about AI regulation, then summarize the key pointsโ€

Pro tips

  • Be specific: Include domains, date ranges, or file types when searching for more precise results
  • Use natural language: You donโ€™t need to memorize parameters - just describe what you want
  • Ask follow-up questions: Refine results and dig deeper by asking your AI assistant to clarify or expand
  • Let your agent orchestrate: For complex workflows, your AI assistant will automatically use multiple tools together

Setup guides

Windsurf

For setup, follow the MCP installation guide.

Quick setup:

$claude mcp add --transport http ydc-server https://api.you.com/mcp --header "Authorization: Bearer <your-api-key>"

For setup, follow the MCP installation guide.

For setup, follow the MCP installation guide.

Install MCP Server

For setup, follow the MCP installation guide; use the configuration template above without the type field.

To avoid conflicts, go to Settings โ†’ Agents tab and turn off Cursorโ€™s built-in web search tool.

Quick setup (command line):

$code --add-mcp '{"name":"ydc-server","url":"https://api.you.com/mcp","type":"http","headers":{"Authorization":"Bearer <your-api-key>"}}'

For setup, follow the MCP installation guide; use the configuration template above.

Requirements: GitHub Copilot extension must be installed

For setup, follow the MCP installation guide; use the configuration template above.

Supported IDEs: IntelliJ IDEA, PyCharm, WebStorm, GoLand, RubyMine, PhpStorm, and more (requires AI Assistant enabled)

For setup, follow the MCP installation guide; use the configuration template above without the type field.

Codex:

For setup, follow the MCP installation guide.

opencode:

For setup, follow the MCP installation guide; use the configuration template above.

LM Studio:

For setup, follow the MCP installation guide; use the configuration template above but without the type field.

Gemini CLI:

Follow the MCP server setup guide using the standard configuration template.

Additional resources

For complete details on search parameters, response formats, and advanced usage, see the Search API Reference.

Troubleshooting

Symptoms: Authentication errors, โ€œInvalid API keyโ€ messages

Solutions:

  1. Verify your API key is active at you.com/platform
  2. Check for extra spaces or quotes in your configuration
  3. Ensure the API key has the correct scopes enabled
  4. For environment variables, verify theyโ€™re properly exported

Symptoms: โ€œConnection refusedโ€, timeout errors

Solutions:

  1. Remote server: Check your internet connection and firewall settings
  2. Local package: Ensure npx and Node.js are installed and in your PATH
  3. HTTP mode: Confirm the server is listening on the correct port
  4. Check your MCP client logs for detailed error messages

Symptoms: MCP server not appearing in IDE, tools not available

Solutions:

  1. Restart your IDE after configuration changes
  2. Check the IDEโ€™s MCP logs for error messages (Claude Code: terminal output, Claude Desktop: application menu, Cursor: MCP server logs in settings, VS Code: output panel)
  3. Verify the configuration file is in the correct location
  4. For STDIO transport, ensure the command is executable
  5. Try the remote server option if local installation fails

Report an issue

If youโ€™re experiencing issues, weโ€™re here to help:

Pro tip: When errors occur, check your MCP client logs - they include a pre-filled mailto link with error details for easy reporting.

For contributors

Interested in contributing to the You.com MCP Server? Weโ€™d love your help!

Need technical details? Check AGENTS.md for complete development setup, architecture overview, code patterns, and testing guidelines.

  1. Fork the repository
  2. Create a feature branch following naming conventions in CONTRIBUTING.md
  3. Follow the code style guidelines and use conventional commits
  4. Write tests for your changes (maintain >80% coverage)
  5. Run quality checks: bun run check && bun test
  6. Submit a pull request with a clear description

We appreciate all contributions, whether itโ€™s:

  • Bug fixes
  • New features
  • Documentation improvements
  • Performance optimizations
  • Test coverage improvements

Transport protocols

The MCP server supports two transport protocols:

HTTP transport

Use for:

  • Remote server connections
  • Web applications
  • Production deployments

Authentication: Bearer token in headers

Endpoint: https://api.you.com/mcp

STDIO transport

Use for:

  • Local NPM package installations
  • Development environments
  • IDEs that only support STDIO

Authentication: Environment variable

Command: npx @youdotcom-oss/mcp

Resources

Explore further