Hybrid Search and Reranker for better tool search
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.
Reranker with graphs https://github.com/Bavalpreet/MediumBlogs/blob/main/Knowledgegraph%20Reranking/Knowledge_graph_re_ranking.ipynb
i'd like to see a PR from this feature 🚀
Suggested Embedding model: Codestral-Embed from mistral and Mxbai-rerank-v2 to improve performance for, code, MCP, and tool retrieval.
Suggested Embedded (In-Progress) VectorDBs:
https://github.com/tursodatabase/turso https://github.com/chroma-core/chroma https://github.com/lancedb/lancedb
Would appreciate if you vote for this improvement idea to standardize MCP Specification with Delegated Advanced Tool Search in my comment feature here.
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.