1. Conduid
  2. Developer Tools
  3. Bm25s
MCP server · Developer Tools

Bm25s

Fast BM25 search in Python, powered by Numpy and Numba

79Good

Scored 1 hours ago · breakdown

About Bm25s

Bm25s is an MCP server published by xhluca in the Developer Tools category: fast BM25 search in Python, powered by Numpy and Numba. Conduid read 2 tools from its source: get_info and retrieve. No package is published for it, so it installs from a source checkout.

The repository has 1.8K stars and 127 forks, is licensed MIT, and its last commit was on 13 Nov 2026. The latest release is 0.3.17 (13 Nov 2026). It follows 0.3.16 (28 Oct 2026), and the 5 most recent releases go back to 0.3.13 (7 Oct 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Its topics include bm25, rag, devtools, information-retrieval, bm25-l and okapi-bm25.

Install

From source
git clone https://github.com/xhluca/bm25s

Tools (2)

get_infoGet information about the loaded index.
retrieveRetrieve documents from the index based on the query.
ParameterTypeDescription
kintegerThe number of documents to retrieve.
query *stringThe search query string.

Security checks

Static checks derived from the repository 5 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 3.9K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
  • ✓No dynamic code executionScanned 22 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiobm25s/mcp/server.py:47
Starts other programs
2 callsbm25s/high_level/setup.py:56, setup.py:53
Outbound network calls
1 callbm25s/utils/beir.py:160
Writes or deletes files
18 callsbm25s/__init__.py:1051, bm25s/hf.py:303, bm25s/hf.py:321
Lockfile
None in the repository

Pattern matches on the source text of 22 files: places to read, not proof of what the code does at run time.

Releases

0.3.170.3.17 · 13 Nov 2026What's Changed Document JAX GPU memory preallocation on import by @GioiaZheng in https://github.com/xhluca/bm25s/pull/224 Fix test CI dependency installation by @xhluca in https://github.com/xhluca/bm25s/pull/227 fix: log through module…
0.3.160.3.16 · 28 Oct 2026What's Changed fix: add opt-in errors for unserializable corpus entries in BM25.save by @tdwhere123 in https://github.com/xhluca/bm25s/pull/219 Full Changelog: https://github.com/xhluca/bm25s/compare/0.3.15...0.3.16
0.3.150.3.15 · 22 Oct 2026What's Changed fix: keep all qrels per query in load_qrels(return_dict=True) by @tdwhere123 in https://github.com/xhluca/bm25s/pull/217 New Contributors @tdwhere123 made their first contribution in https://github.com/xhluca/bm25s/pull/217…
0.3.140.3.14 · 18 Oct 2026What's Changed fix: reject negative k in topk with a consistent ValueError by @linhongyu510 in https://github.com/xhluca/bm25s/pull/213 feat: add load verbosity support by @dtamien in https://github.com/xhluca/bm25s/pull/211 fix(scoring):…
0.3.130.3.13 · 7 Oct 2026What's changed Fix opening genuinely empty JSONL corpora: JsonlCorpus now loads zero-byte files as an empty corpus, and integer indexing raises IndexError. Preserve immediate rejection of truncated corpus files whose saved or in-memory…

README

The repository's README runs to about 3.9K words, fetched 5 days ago. The original in the repository is authoritative.

Read full README
Questions

About Bm25s

How do I install Bm25s?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Bm25s safe to use with an AI agent?

Its trust score is 79 out of 100 (good). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Conduid's scan of 22 source files found that it serves MCP over stdio, starts other programs (2 calls), makes outbound network calls (1 call) and writes or deletes files (18 calls). It has no ConduID identity yet, so agent calls to it are not receipted.

Is Bm25s still maintained?

Yes — the latest release is 0.3.17 (13 Nov 2026), and the last commit was 18 days ago. The repository has 1.8K stars and 20 open issues.

What tools does Bm25s provide?

Conduid read 2 tools from the source: get_info and retrieve. 1 of them publish their parameters, listed under Tools above.

What license is Bm25s released under?

The repository declares the MIT license. That applies to the latest release, 0.3.17, as well.