OpenCode
Give OpenCode real-time web search, content extraction, and citation-backed research through the You.com MCP Server.
Quick setup
Add You.com to your OpenCode config
Edit ~/.config/opencode/opencode.json (or your project-local opencode.json) and add:
This uses the free tier — 100 web searches per day, no signup.
Higher rate limits + full toolset
For unlimited queries plus you-contents (page extraction) and you-research (citation-backed deep research):
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.jsonis valid JSON. OpenCode silently skips invalid MCP entries. spawn npx ENOENT(local install only) — install Node.js 18+ and ensurenpxis on yourPATH.- 401 errors — verify the
Authorizationheader is exactlyBearer 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.