Skip to content
unlob

unlob for Claude Code

Claude Code speaks the Model Context Protocol natively, so the whole search surface — including the six coverage-graph tools — becomes available without writing any HTTP code.

Config lives in .mcp.json in your project root, or ~/.claude.json for every project

.mcp.jsonjson
{
  "mcpServers": {
    "unlob": {
      "command": "npx",
      "args": ["-y", "@unlob/mcp"],
      "env": { "UNLOB_API_KEY": "ulb_your_key_here" }
    }
  }
}

Setup

  1. Get an API key

    One magic link creates your account and issues a key. The free tier is 10,000 requests a month.

  2. Add the server

    Create .mcp.json in your project root with the config block above, or add it to ~/.claude.json to make it available everywhere.

  3. Restart and verify

    Run /mcp inside Claude Code to confirm the unlob server connected and all eleven tools are listed.

  4. Use it

    Ask a question that needs the web. Claude will pick web_search for retrieval, and assemble_context when it needs a packed, corroborated set rather than a link list.

Worth knowing

  • Project-scoped .mcp.json can be committed so the whole team gets the same tools — put the key in an environment variable rather than the file.
  • For agent work, assemble_context is usually the tool to reach for: one call replaces the retrieve-dedupe-rank-truncate loop.
  • why_not is worth mentioning in your prompt. It stops the agent inferring that an empty result means the page does not exist.

What Claude Code gets

All 11 tools, from one config block.

Frequently asked questions

Does this work with Claude Code on the CLI and in the IDE?

Yes. MCP configuration is shared across Claude Code surfaces — CLI, desktop app and IDE extensions all read the same config.

How do I keep the API key out of version control?

Reference an environment variable in the env block rather than the literal key, and export it from your shell profile or a local .env that is gitignored.

Get a key and connect it

10,000 requests a month, no card. The config above works unchanged once you have a key.