Skip to content

Hybrid Search and Reranker for better tool search #31

Not planned

Description

@qdrddr

A hybrid search of sparse BM25 and dense embedding model (openai text-embedding-3) typically can improve the quality of the semantic search.

Reranker models can also improve the final result.

Activity

  1. gabornyergesX commented on Jul 29, 2025

    @gabornyergesX

    i'd like to see a PR from this feature 🚀

  2. qdrddr commented on Jul 29, 2025

    @qdrddr
    Author

    Suggested Embedding model: Codestral-Embed from mistral and Mxbai-rerank-v2 to improve performance for, code, MCP, and tool retrieval.

  3. qdrddr commented on Jul 31, 2025

    @qdrddr
    Author

    Would appreciate if you vote for this improvement idea to standardize MCP Specification with Delegated Advanced Tool Search in my comment feature here.

  4. Dumbris commented on Nov 24, 2026

    @Dumbris
    Member

    Closing as not planned. Thank you @qdrddr for the proposal and everyone who added to the thread.

    mcpproxy keeps tool search on BM25 for now. Embeddings that are good enough to beat it need a local model of real size: more disk space, a slower first start and indexing time on every tool change, on a desktop app that should stay small and start fast. The alternative, calling a hosted embedding API, sends tool descriptions off the machine, which we do not want as a default.

    What we do instead is improve the lexical side (compact signatures, describe_tool, better tokenisation) and expose why a query missed. If a specific query fails to find a tool it should, please open an issue with the query and the tool name — those are fixable one by one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions