MCP ToolRank
Provides a ToolRank-backed tool selector that plugs into LangChain agents, ranking a catalog of tools by cosine similarity so the agent can shortlist the most relevant tools for a given request.
Provides an example agent integration with Pydantic AI, exposing the tool-ranking selector as a component an agent can use to pick relevant tools from a catalog.
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 ToolRank
Discover, rank, and explicitly invoke allowlisted stdio/Streamable HTTP MCP tools. Model-free BM25 or hybrid with a verified 34 MB CPU encoder.
On 11 simulated workflows, the ToolRank hybrid cut schema tokens by 85% compared with giving Qwen all tools. Both dense models and the ToolRank hybrid completed 16/22 trials. Qwen completed 12/22 with all tools. Evaluation
Try it
The demo passes a clock reading between two local servers. It runs without a model download.
uvx --python 3.12 --from 'toolrank-cpu[gateway] @ https://github.com/protortyp/mcp-toolrank/releases/download/cpu-v0.6.0/toolrank_cpu-0.6.0-py3-none-any.whl' toolrank-gateway --demoImport servers, inventory tools, and grant discovery and invocation separately. Search live from the shell. Pass the search_tools ID and revision to invoke_tool. CLI search · Import and inventory · Configuration · Gateway guide · CPU release · Desktop bundle
The CPU wheel ranks static tool catalogs with toolrank-cpu on Python 3.11–3.14. CLI and offline setup · OpenAPI import
Related MCP server: boop-mcp-rag
Results and limits
ToolRank’s gain over BGE Small varies by ETOM schema under identical TF-IDF and BM25 scoring. Benchmarks and reproduction
Uncalibrated rankings leave applicability unverified. Invoke only tools permitted by the client and gateway. Calibration · Model, provenance, and license
LangChain and Pydantic AI examples · Browser demo · Research history · Apache-2.0
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
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
MCP server for progressive tool usage at any scale (see https://klavis.ai)
214 tools for AI agents over one MCP endpoint: image, video, audio, 3D, data, storage, mail, GPUs.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables tool-calling over TCP for a local RAG pipeline, allowing document ingestion and querying via MCP tools, fully offline with no cloud dependencies.-
- FlicenseNot gradedqualityDmaintenanceEnables local RAG orchestration with MCP, providing context retrieval, in-memory text ingestion, explicit tool invocation, and transport-neutral tool discovery.-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to run local, CPU-only inference for decision tasks such as choosing among labels, estimating yes/no probability, and scoring ordered descriptions. Exposes these capabilities through MCP tools, REST/Swagger endpoints, and a browser test console without GPUs, paid APIs, or databases.Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables agents to send only the handful of tool definitions relevant to each question, ranking a large catalog by keywords and optional embeddings to cut context cost and wrong-tool picks. It can also run in front of any mcpServers config as a proxy that exposes just search_tools and call_tool instead of the whole catalog.MIT