Install guide
Connect Evidence to OpenCode
Evidence is an MCP server: once it is added, OpenCode can search and query public datasets while it answers you. It takes about two minutes and one Google sign-in.
Before you start
- OpenCode installed (opencode.ai). These steps were tested on version 1.19.
OpenCode
For OpenCode in your terminal.
Run this in a terminal. It adds Evidence to your global OpenCode config:
opencode mcp add evidence --url https://mcp.evidence.so/mcpSign in. Your browser opens Evidence: click Continue with Google, then Approve.
opencode mcp auth evidenceCheck it: evidence should be connected.
opencode mcp listStart OpenCode and paste your first question.
Use Evidence to bring me value: ask me what I'm working on, then answer one question about it with real data and show where the numbers come from.
If something goes wrong
- opencode mcp list says evidence needs authentication
- Run opencode mcp auth evidence again and finish the sign-in in the browser.
- I'd rather edit the config
- Add "evidence": { "type": "remote", "url": "https://mcp.evidence.so/mcp" } under "mcp" in ~/.config/opencode/opencode.json.
- A tool call says to sign in to accept the privacy policy
- Open the link in the reply, sign in once, then ask again.