Heroku MCP Tool Search Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Tool Search Server
The Problem: When you give Claude 50+ tools, two things break:
Context bloat - Tool definitions eat 10-20K tokens, leaving less room for actual work
Selection accuracy - Claude gets confused and picks wrong tools when there are too many
The Solution: Instead of loading all tools upfront, Claude searches for tools and loads only what it needs.
Without Tool Search: With Tool Search:
┌─────────────────────┐ ┌─────────────────────┐
│ Load 100 tools │ │ Load 1 search tool │
│ (20K tokens) │ │ (200 tokens) │
│ │ │ │
│ Claude picks wrong │ │ Claude searches: │
│ tool 30% of time │ │ "weather" → 2 tools │
│ │ │ │
│ Context nearly full │ │ 95% context free │
└─────────────────────┘ └─────────────────────┘How It Works
You register your tools with this server (via REST API)
Claude gets access to search tools (
tool_search_bm25,tool_search_semantic,tool_search_regex)When Claude needs a tool, it searches → gets back tool names → uses them
Three search methods:
BM25 - Keyword matching ("weather" finds
get_weather,get_forecast)Semantic - Meaning-based ("send a message" finds
send_email)Regex - Pattern matching (
get_.*finds all getter tools)
Related MCP server: claude-mcp-server-gateway
Deploy to Heroku
Or manually:
heroku create my-tool-search
heroku buildpacks:set heroku/python
git push heroku main
heroku ai:models:create claude-4-sonnet --as INFERENCERegister Your Tools
curl -X POST https://your-app.herokuapp.com/tools \
-H "Content-Type: application/json" \
-d '{
"name": "get_weather",
"description": "Get current weather for a location",
"input_schema": {
"type": "object",
"properties": {"location": {"type": "string"}},
"required": ["location"]
}
}'Test It
export INFERENCE_KEY=$(heroku config:get INFERENCE_KEY -a my-tool-search)
export INFERENCE_URL=$(heroku config:get INFERENCE_URL -a my-tool-search)
curl -s "$INFERENCE_URL/v1/agents/heroku" \
-H "Authorization: Bearer $INFERENCE_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-4-sonnet",
"messages": [{"role": "user", "content": "Find tools for checking weather"}],
"tools": [{"type": "mcp", "name": "mcp-tool-search/tool_search_semantic"}]
}'API Reference
Endpoint | Description |
| Register a tool |
| List all tools |
| Remove a tool |
| Health check |
MCP Tools
Tool | Use Case |
| Find tools by keywords |
| Find tools by meaning |
| Find tools by pattern |
| List all registered tools |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Search the Claudeers registry of Claude tools, ranked by maintenance and community signals.
Discover, inspect and run 63,000+ agent tools from one balance. Pay per call, no subscriptions.
AI-powered SaaS tool discovery API. Search 150+ curated business tools and get recommendations.
Find, check, and use proven Claude kits: skills, workflows, and stacks, each safety scanned.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides a suite of tools like agent orchestration and token optimization for ClaudeMIT
- AlicenseNot gradedqualityFmaintenanceA lightweight Claude MCP gateway that dynamically loads tools only when needed, cutting MCP token clutter by up to 95% and keeping your context lean, fast, and focused.7MIT
- AlicenseAqualityDmaintenanceEnables efficient code navigation and retrieval through natural language search, BM25 ranking, and fuzzy matching across multiple programming languages. It drastically reduces token usage by allowing Claude to query specific code symbols and logic instead of reading entire files.13100 npm13MIT
- AlicenseNot gradedqualityCmaintenanceEnables Claude to discover and call any REST API from an OpenAPI/Swagger spec or Postman collection at runtime, with authentication, workflows, and prebuilt registry support.10 npmMIT