Skip to main content

โœณ๏ธ Claude Code

Claude Code is Anthropic's coding agent. It's available as a CLI TUI application, has an experimental Desktop client, and has extensions for several editors.

We suggest adding Lens to your global Claude Code configuration to make it available in all of your projects and the various apps and extensions, but you can also enable it in individual projects. See the Claude Code settings documentation for details.

Prerequisitesโ€‹

Adding the MCP serverโ€‹

info

Adding MCP servers to a project configuration will cause developers to receive the following prompt on the next claude launch:

โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
New MCP server found in .mcp.json: lens

MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the MCP documentation.

โฏ 1. Use this and all future MCP servers in this project
2. Use this MCP server
3. Continue without using this MCP server

Enter to confirm ยท Esc to cancel

Run the following command, substituting:

  • user for project or local if you wish to install for the current project.
  • The path to the lens binary for the one from the installation step.
claude mcp add --scope user lens -- /path/to/agentkit-lens --brave-search-api-key YOUR_KEY stdio

Testingโ€‹

Restart Claude Code to apply the new configuration. You're now ready to make your first search or fetch.