LeadMagic + OpenCode
Add LeadMagic to OpenCode via MCP. Remote HTTP server with 16 enrichment tools in your terminal AI.
Quick Setup
Connect in 30 seconds
Paste this config into your OpenCode MCP settings, replace YOUR_API_KEY with your key, and restart.
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"leadmagic": {
"type": "remote",
"url": "https://mcp.leadmagic.io/mcp",
"oauth": false,
"headers": {
"x-leadmagic-key": "YOUR_API_KEY"
}
}
}
}What you get with OpenCode
16 enrichment tools available inside your AI assistant, powered by the same LeadMagic API.
SIMPLE PROCESS
How to connect OpenCode
Get your API key
Grab your key from app.leadmagic.io/settings/api. Free credits included — no credit card required.
Add the remote MCP config
Add a "leadmagic" entry under "mcp" in your opencode.jsonc with type: "remote", your URL, and API key header.
Use enrichment tools
Ask OpenCode to "find the VP Sales at Stripe" or "validate this email" — it calls LeadMagic's 16 tools automatically.
FAQ
OpenCode FAQ
Ready to connect OpenCode?
Get an API key, paste the config, and your AI assistant becomes a B2B data powerhouse.