OpenCode
The @youdotcom-oss/opencode plugin registers five You.com skills and configures the You.com MCP servers in one install. The MCP servers give OpenCode the tools. The skills tell it when to use each one and how to cite what it finds.
This documentation ships with a Docs MCP Server that gives any MCP-enabled agent a searchDocs tool to search every page here and get back relevant passages with source URLs—no API key required. Point your client at https://you.com/docs/_mcp/server. See the Docs MCP Server guide for setup and examples.
Install the Plugin
What the Plugin Configures
It also registers the you-web, you-research, you-finance, you-discover, and you-free skills.
Use the MCP Server Without the Plugin
To add only the tools, without the skills, configure the MCP server directly.
Add You.com to Your OpenCode Config
Edit ~/.config/opencode/opencode.json (or your project-local opencode.json) and add:
This uses the free profile: keyless you-search and you-discover, 100 queries per day, no signup.
Higher Rate Limits
For higher limits plus you-contents and you-balance on /mcp. you-research and you-finance need the dedicated paths or an explicit allowlist:
Get a key at you.com/platform.
Local Install (stdio)
If you’d prefer to run the MCP server locally:
Omit YDC_API_KEY for free-tier behavior.
Quick Demo
Troubleshooting
Server doesn't load
Check opencode.json is valid JSON. OpenCode silently skips invalid MCP entries.
spawn npx ENOENT
For local installs, install Node.js 18+ and ensure npx is on your PATH.
401 errors
Verify the Authorization header is exactly Bearer YDC-... with one space.
Tool calls fail with no error
Check OpenCode’s logs (opencode --debug) for MCP server errors. Most failures are config-format mismatches.