
Introduction
The You.com MCP Server brings comprehensive web search capabilities to your agentic IDE through the Model Context Protocol. Built with Bun runtime for optimal performance, it enables AI assistants to access real-time web results, news, and information directly within your development environment. Key Features:- 🔍 Web and news search using You.com’s unified Search API
- 🚀 Multiple deployment options: Remote server (recommended) or local NPM package
- 🔒 Secure authentication with API keys
- 🎯 Advanced search operators: site filtering, file types, language filtering, exact terms
- 🌐 Support for multiple transport protocols (Stdio and HTTP)
Quick Start
Choose your deployment method:Remote Server
Recommended - No installation required. Use the hosted server at
https://api.you.com/mcp
with your API key.Local NPM Package
Install via
npx @youdotcom-oss/mcp
to run locally on your machine with stdio transport.Prerequisites
- Get a You.com API Key: Visit you.com/platform to obtain your API key
- Choose your IDE: Select from Claude Code, Cursor, VS Code, JetBrains, Zed, or other supported editors
Standard Configuration Templates
Most MCP clients use one of these standard configuration formats: Remote Server (Recommended):Replace
<your-api-key>
with your actual You.com API key from you.com/platformSetup Guides
Windsurf
Windsurf
Setup:Use the standard configuration template in your Windsurf settings:Windsurf MCP Documentation | Download Windsurf
Claude Code
Claude Code
Quick Setup (CLI):Manual Setup - Remote Server (Recommended):Create or update Manual Setup - Local NPM Package:
.mcp.json
in your workspace root:Replace
<your-api-key>
with your actual You.com API key from you.com/platformClaude Desktop
Claude Desktop
Configuration:Add to your Claude Desktop MCP configuration file:Remote Server:Local Package:Download Claude Desktop | MCP Setup Guide
Cursor IDE
Cursor IDE
GUI Setup (Easiest):Cursor Documentation | Download Cursor
- Open Cursor Settings → Features → MCP
- Click ”+ Add New MCP Server”
- For remote server:
- Select “Streamable HTTP” transport
- URL:
https://api.you.com/mcp
- Add header:
Authorization: Bearer <your-api-key>
- For local package:
- Select “stdio” transport
- Command:
npx
- Args:
@youdotcom-oss/mcp
- Environment:
YDC_API_KEY=<your-api-key>
.cursor/mcp.json
in your project directory:For Cursor, remove the
"type"
field from the configuration.VS Code
VS Code
Quick Setup (Command Line):Manual Setup:Create Secure Setup with Input Prompts:For enhanced security, prompt for the API key at runtime:VS Code MCP Documentation | Download VS Code
mcp.json
in .vscode/mcp.json
or your user profile:Requirements: GitHub Copilot extension must be installed
JetBrains IDEs
JetBrains IDEs
Configuration:Since JetBrains IDEs only support stdio transport, use mcp-remote to bridge HTTP to stdio:Local Package Setup:Supported IDEs: IntelliJ IDEA, PyCharm, WebStorm, GoLand, RubyMine, PhpStorm, and more (requires AI Assistant enabled)JetBrains MCP Documentation
Zed Editor
Zed Editor
Setup:Add to your Zed Local Package:Zed MCP Setup | Download Zed
settings.json
using "context_servers"
:Remote Server (using mcp-remote):Other Editors
Other Editors
Codex:Edit opencode:Edit Qodo Gen:
~/.codex/config.toml
:~/.config/opencode/opencode.json
:- Open Qodo Gen chat panel in VSCode or IntelliJ
- Click “Connect more tools” → ”+ Add new MCP”
- Paste the standard configuration
- Click Save
mcp.json
in LM Studio settings using the standard configuration template.Download LM StudioGemini CLI:Follow the MCP server setup guide using the standard configuration template.Goose:Go to “Advanced settings” → “Extensions” → “Add custom extension” and use the standard configuration template.Goose Installation GuideSearch Tool Reference
Using Natural Language: You don’t need to manually construct search queries with these parameters. Simply ask your AI assistant in natural language, and it will automatically use the tool schema to assemble the correct advanced query. For example, asking “What’s the latest news about the FCC on theverge.com” will automatically translate to a search with
query: "What's the latest news about the FCC on theverge.com"
, site: "theverge.com"
, and freshness: "week"
.you-search Tool
Performs comprehensive web and news search using the You.com Search API. The tool accepts natural language queries and supports advanced search parameters like site filtering, file types, language filtering, freshness, and more. For complete parameter details and response format, see the Search API Reference. Quick Examples: Natural language queries are automatically translated by your AI assistant:- “Latest machine learning tutorials on GitHub” →
query: "machine learning tutorials"
,site: "github.com"
,freshness: "week"
- “PDF files about Python” →
query: "Python"
,fileType: "pdf"
- “Spanish language articles about climate” →
query: "climate"
,language: "es"
Advanced Configuration
Local Development Setup
Local Development Setup
For developers who want to contribute or customize the MCP server:Prerequisites:Development Commands:Local Integration with Claude Code:
External Contributors: If you’re outside of You.com and want to contribute, visit the open-source repository to open pull requests or file issues.
- Bun 1.2.21 or higher
- You.com API key
Docker Deployment
Docker Deployment
Deploy the MCP server using Docker for production environments:Build and Run:Using Docker Compose:Create Run with:Configure Claude Code with Docker:Optimization Features:Multi-stage build with standalone binary compilation, minimal Ubuntu 22.04 base image (243MB final size), and runs as non-root user for enhanced security.
docker-compose.yml
:Transport Protocols
The MCP server supports two transport protocols:HTTP Transport
Use for:
- Remote server connections
- Web applications
- Production deployments
https://api.you.com/mcp
Stdio Transport
Use for:
- Local NPM package installations
- Development environments
- IDEs that only support stdio
npx @youdotcom-oss/mcp
Troubleshooting
API Key Issues
API Key Issues
Symptoms: Authentication errors, “Invalid API key” messagesSolutions:
- Verify your API key is active at you.com/platform
- Check for extra spaces or quotes in your configuration
- Ensure the API key has the correct scopes enabled
- For environment variables, verify they’re properly exported
Connection Issues
Connection Issues
Symptoms: “Connection refused”, timeout errorsSolutions:
- Remote server: Check your internet connection and firewall settings
- Local package: Ensure
npx
and Node.js are installed and in your PATH - Docker: Verify the container is running with
docker ps
- HTTP mode: Confirm the server is listening on the correct port
IDE Integration Issues
IDE Integration Issues
Symptoms: MCP server not appearing in IDE, tools not availableSolutions:
- Restart your IDE after configuration changes
- Check the IDE’s MCP logs for error messages
- Verify the configuration file is in the correct location
- For stdio transport, ensure the command is executable
- Try the remote server option if local installation fails
Resources
NPM Package
Official package on npm
GitHub Repository
Source code and issues
MCP Specification
Model Context Protocol docs