Lazy Tool

v1.0.0Developer Toolsstable

local-first MCP discovery runtime for agents — search before invoke, reduce prompt bloat, and route to local MCP tools

agent-toolsai-agentsclideveloper-toolsgolang
Share:
25
Stars
0
Downloads
0
Weekly
0/5

What is Lazy Tool?

Lazy Tool is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to local-first mcp discovery runtime for agents — search before invoke, reduce prompt bloat, and route to local mcp tools

local-first MCP discovery runtime for agents — search before invoke, reduce prompt bloat, and route to local MCP tools

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • local-first MCP discovery runtime for agents — search before

Use Cases

Local MCP discovery runtime
Agent tool routing
Prompt bloat reduction
mcp-shark

Maintainer

LicenseMIT
Languagego
Versionv1.0.0
UpdatedMay 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx lazy-tool

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Lazy Tool

Lazy Tool is a local-first MCP discovery runtime that acts as a smart proxy layer between AI agents and your full collection of MCP tool servers. Instead of flooding the agent's context window with every tool definition upfront, Lazy Tool lets agents search for capabilities by keyword, inspect schemas on demand, and then invoke the matching tool through a proxy — dramatically reducing prompt token usage and latency. Benchmarks show a 46% reduction in input tokens per turn and 32% lower latency compared to loading all tools directly.

Prerequisites

  • Go 1.25 or later (if building from source) or a pre-built binary from the install script
  • An MCP client such as Claude Desktop or Claude Code
  • At least one MCP server already configured whose tools you want to index
  • SQLite available on your system (used for the local tool index)
  • Optional: Ollama or an OpenAI-compatible embedding endpoint for semantic search
1

Install the lazy-tool binary

Download and install the pre-built binary using the official install script, or build from source if you need the latest development version.

curl -sSfL https://raw.githubusercontent.com/rpgeeganage/lazy-tool/main/install.sh | sh
2

Import and discover your MCP configurations

Run the import command to auto-discover MCP server configs from your IDE and registered clients. The --write flag persists the discovered sources to Lazy Tool's own config file.

./lazy-tool import --write
3

Index all tools locally

After importing sources, run reindex to connect to each MCP server, enumerate its tools, and store schemas in a local SQLite database. This is the step that enables fast offline search.

./lazy-tool reindex
4

Start the Lazy Tool MCP endpoint

Launch Lazy Tool as an MCP server. In the default search mode it exposes five meta-tools (search_tools, inspect_capability, invoke_proxy_tool, get_proxy_prompt, read_proxy_resource) instead of every upstream tool.

./lazy-tool serve
5

Configure your MCP client to use Lazy Tool

Point your MCP client at the Lazy Tool binary instead of individual servers. Lazy Tool proxies all calls to the appropriate upstream server automatically.

{
  "mcpServers": {
    "lazy-tool": {
      "command": "/usr/local/bin/lazy-tool",
      "args": ["serve"]
    }
  }
}
6

Verify with a search query

Run a quick CLI search to confirm tools are indexed correctly before connecting via your AI client.

./lazy-tool search "file management" --explain-scores

Lazy Tool Examples

Client configuration

Add Lazy Tool to Claude Desktop so it serves as the single MCP endpoint that proxies to all your other servers.

{
  "mcpServers": {
    "lazy-tool": {
      "command": "/usr/local/bin/lazy-tool",
      "args": ["serve"]
    }
  }
}

Prompts to try

Use the search-before-invoke pattern that Lazy Tool is designed for — ask it to find a capability first, then use it.

- "Search for tools that can read and write files, then list the files in my home directory"
- "Find a tool that can send HTTP requests and use it to fetch the JSON from https://api.example.com/status"
- "What tools do I have available for working with databases?"
- "Search for any email-related capabilities and show me their schemas"

Troubleshooting Lazy Tool

search_tools returns no results after import

Run ./lazy-tool reindex again after ./lazy-tool import --write. The index must be rebuilt before search works. Check that your upstream MCP servers actually start successfully by running them independently.

invoke_proxy_tool fails with connection errors

Ensure the upstream MCP server is still reachable. For stdio transports, confirm the command path is correct and the process can be launched by the Lazy Tool process (not just your shell). Check LAZY_TOOL_CONFIG points to the right config file.

High memory usage when indexing many servers

Run ./lazy-tool reindex with a single source at a time using the --source flag if you have many MCP servers. The SQLite index is incremental so you can add sources gradually.

Frequently Asked Questions about Lazy Tool

What is Lazy Tool?

Lazy Tool is a Model Context Protocol (MCP) server that local-first mcp discovery runtime for agents — search before invoke, reduce prompt bloat, and route to local mcp tools It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Lazy Tool?

Follow the installation instructions on the Lazy Tool GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Lazy Tool?

Lazy Tool works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Lazy Tool free to use?

Yes, Lazy Tool is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "lazy-tool": { "command": "npx", "args": ["-y", "lazy-tool"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Lazy Tool?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides