LensHub
Get startedlenshub.ai
Get started

Connect your first agent

Point Claude Code at LensHub and ask it something.

This is the moment LensHub becomes useful. You need an API key — Settings → API keys → Create if you do not have one.

Add the server

From any project directory:

claude mcp add --transport http lenshub \
  https://lenshub.example.com/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

Replace the URL with your own instance address.

Check it connected

claude mcp list

You should see lenshub listed as connected. If not, see troubleshooting.

Ask a question

Start Claude Code and ask something only your company could answer:

How do we handle authentication in this codebase?

The agent will call LensHub, get back the relevant material with links to where it came from, and answer from that instead of guessing.

Making agents actually use it

An agent that can search does not always think to. The reliable fix is to tell it, in a file it reads automatically — see Writing agent instructions.

When it does not connect

Other agents

Anything that speaks MCP works the same way. See Connect other MCP clients.

On this page