Skip to main content
Glama

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 --demo

Import 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…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables tool-calling over TCP for a local RAG pipeline, allowing document ingestion and querying via MCP tools, fully offline with no cloud dependencies.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables local RAG orchestration with MCP, providing context retrieval, in-memory text ingestion, explicit tool invocation, and transport-neutral tool discovery.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables 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
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables 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