Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-11-25 08:42 UTC

lyonzin / knowledge-rag

Local RAG server for Claude Code, Cursor and other MCP clients: hybrid BM25 + vector search with cross-encoder reranking on by default, 13 MCP tools, 33 file types including code, re-indexing on file changes. One Python process with embedded ChromaDB and FastEmbed ONNX: no Docker, database server or API key; offline after the first model download.

PythonMIT★ 306 stars⑂ 51 forkssince Feb 2026View on GitHub ↗
KindCommand-line toolLibraryMCP serverhow this is determined

lyonzin/knowledge-rag holds a health index of 89 out of 100, placing it in the Excellent band. It scores highest on Engineering Quality (96/100) and lowest on Sustainability & Governance (58/100). It was last updated 4 days ago. A single contributor accounts for most of its recent work.

89
overall / 100
Excellent

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

89
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 75 is calibrated to 89 on the published index scale (record calibration 2026-08-02).

Ownership

Ailton RochaPersonal account
7 followers45 public repossince Mar 2019HARDWAY

This repository is owned by a personal account. A single-owner project carries more continuity risk than an organization-backed one.

Package ecosystems

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

93Exceptional · 21% of overall
How it's scored
36/36Push recency — last push 4 days ago
23.5/36Commit cadence — 34/52 weeks with commits
18/18Commit volume — 297 commits in the last year
10/10OpenSSF Scorecard: Maintained — 30 commit(s) and 25 issue activity found in the last 90 days -- score normalized to 10
Inputs used
Commits in the last year297
Share of human-authored commits0.81
Days since last push4
Weeks with commits in the last year34

Release discipline

100Exceptional
How it's scored
27/27Ships releases — 24 releases published
36/36Release recency — latest release 10 days ago
27/27Release cadence — a release every ~10.2 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
Number of releases24
Latest release tagv5.1.0
Releases derived from version tagsno
Days since latest release10
Mean days between releases10.2
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

69Good · 17% of overall
How it's scored
40.3/60Stars — 306 stars
14.2/25Forks — 51 forks
0/15Watchers — 1 watchers
Inputs used
Forks51
Stars306
Watchers1
Growth authenticity stateunverified
Multiplier applied to stars and forks (%)100
Reason growth could not be assessedno_history

Community health

92Excellent
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (MIT)
18/18CONTRIBUTING guide
13.5/13.5Code of conduct
0/7.2Issue template
6.3/6.3PR template
Inputs used
README presentyes
License file presentyes
Badges in the README9
CONTRIBUTING guide presentyes
Issue template presentno
Code of conduct presentyes
Badge services used in the READMEbestpractices.coreinfrastructure.org, github.com, shields.io
Pull request template presentyes
How it's scored
47.2/80Monthly downloads — 3,461 downloads/month across npm, pypi
0/20Registry dependents — not reported by this ecosystem
Inputs used
Packagesknowledge-rag, knowledge-rag
Registry dependents—
Package ecosystemsnpm, pypi
Total downloads—
Monthly downloads3,461
Packages excluded as unverified—
Excluded from scoring (no data or not applicable): Registry dependents. Remaining weights renormalized.

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

58Moderate · 23% of overall
How it's scored
9/54Bus factor — 1 contributor(s) cover half of all commits
1/22.5Commit distribution — top contributor authored 96% of commits
9.5/13.5Contributor breadth — 7 contributors
6/10OpenSSF Scorecard: Contributors — project has 2 contributing companies or organizations -- score normalized to 6
Inputs used
Bus factor1
Contributors sampled7
Share of commits by the top contributor0.955
How it's scored
40.9/42Issue resolution — 97% of issues closed
20.7/30PR acceptance — 168/243 decided PRs merged
0/13Newcomer PR acceptance — no first-time contributor's PR decided in 30d
0/15OpenSSF Scorecard: Code-Review — Found 0/24 approved changesets -- score normalized to 0
Inputs used
Merged pull requests168
Open issues2
Closed issues71
Pull requests merged in the last 7 days2
Pull requests decided in the last 7 days2
Pull requests merged in the last 30 days33
Pull requests decided in the last 30 days33
Share of issues closed0.973
Pull requests closed without merging75
First-time contributors with a pull request decided in the last 30 days0
Pull requests from first-time contributors merged in the last 30 days0
Pull requests from first-time contributors decided in the last 30 days0
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
10/30Ownership backing — personal (user) account
0/20Verified domain — not applicable to user accounts
6.5/25Owner reach — 7 followers of lyonzin
24.1/25Track record — 45 public repos, account ~7 yr old
Inputs used
Followers7
Owner account typeUser
Verified domain—
Owner accountlyonzin
Public repositories45
Owner account age in days2,809
Excluded from scoring (no data or not applicable): Verified domain. Remaining weights renormalized.

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 2 package(s) on npm, pypi
35/35Publish recency — latest publish 10 days ago
20/20Version history — 52 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
Packagesknowledge-rag, knowledge-rag
Package ecosystemsnpm, pypi
Any package deprecated or yankedno
Days since latest package publish10

Engineering Quality

Are baseline engineering and documentation practices in place?

96Exceptional · 19% of overall
How it's scored
24/24CI workflows — 7 workflow(s)
24/24Tests present
16/16Linter config — pyproject.toml ([tool.ruff])
9.6/9.6Pre-commit hooks
0/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests — 30 out of 30 merged PRs checked by a CI test -- score normalized to 10
Inputs used
CI workflows presentyes
Tests presentyes
.editorconfig presentno
Linter config presentyes
Pre-commit config presentyes

Documentation

100Exceptional
How it's scored
30/30README
25/25Documentation directory
15/15Documentation / homepage site — https://pypi.org/project/knowledge-rag/
10/10Repository description
10/10Topics — 20 topics
10/10Wiki
Inputs used
Repository topicsclaude-code, local-ai, mcp, rag, retrieval-augmented-generation, semantic-search, knowledge-base, reranking, hybrid-search, mcp-server, antigravity, codex, bm25, chromadb, cross-encoder, cursor, fastembed, local-first, model-context-protocol, vector-search
Wiki enabledyes
Repository homepagehttps://pypi.org/project/knowledge-rag/
Documentation sitehttps://pypi.org/project/knowledge-rag/
README presentyes
Documentation directory presentyes
Repository description presentyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

59Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
2.2/7.5Branch-Protection — branch protection is not maximal on development and all release branches
2.5/2.5CI-Tests — 30 out of 30 merged PRs checked by a CI test -- score normalized to 10
1.2/2.5CII-Best-Practices — badge detected: Passing
0/7.5Code-Review — Found 0/24 approved changesets -- score normalized to 0
1.5/2.5Contributors — project has 2 contributing companies or organizations -- score normalized to 6
10/10Dangerous-Workflow — no dangerous workflow patterns detected
7.5/7.5Dependency-Update-Tool — update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
7.5/7.5Maintained — 30 commit(s) and 25 issue activity found in the last 90 days -- score normalized to 10
5/5Packaging — packaging workflow detected
0/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
3.5/5SAST — SAST tool detected but not run on all commits
5/5Security-Policy — security policy file detected
0/7.5Signed-Releases — no data
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
1.5/7.5Vulnerabilities — 8 existing vulnerabilities detected
Inputs used
Data sourceopenssf_scorecard
Scorecard checks evaluated17
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive1
OpenSSF Scorecard aggregate score5.9
Excluded from scoring (no data or not applicable): Signed-Releases. Remaining weights renormalized.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

67Good · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
15/15Machine-readable docs (llms.txt) — llms.txt served by the project website (https://docs.dify.ai/llms.txt)
40/40Legible commit history — 81 of 81 human commits state their intent (structured subject or explanatory body)
Inputs used
llms.txt presentyes
llms.txt address on the project websitehttps://docs.dify.ai/llms.txt
Share of human commits that state their intent1
Agent instruction files—
Size of the largest agent instruction file (bytes)—
How it's scored
18/18One-command bootstrap — tests/fixtures/formats/Makefile
22/22Automated tests
11/11Lint / format config — pyproject.toml ([tool.ruff])
0/11Static type checking
10/10Reproducible environment — Dockerfile
0/10Demonstrated agent practice — no agent-authored commits among the last 100
8/8Automated maintenance — 12 of the last 100 commits are automated dependency updates
0/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfiles—
Dockerfile presentyes
Primary language statically typedno
One-command bootstrap filestests/fixtures/formats/Makefile
Dev container config presentno
Linter config presentyes
Static type-check config files—
Share of commits authored by or credited to coding agents0
Toolchain manifests—
Share of commits that are automated dependency updates0.12
How it's scored
0/45Type-checkable code — Python without a type-check config
54.7/55Manageable file sizes — 1/173 source files over 60KB
Inputs used
Primary languagePython
Size of the largest source file (bytes)303,115
Source files sampled173
Oversized source files1
How it's scored
40/40API schema (OpenAPI/GraphQL/proto) — tests/fixtures/formats/sample.proto
20/20MCP server
40/40Runnable examples — examples, notebooks
Inputs used
Runnable example directoriesexamples, notebooks
MCP server signal presentyes
API schema filestests/fixtures/formats/sample.proto
Software kinds for which an interface is expected—

Key facts

306GitHub stars
7contributors
297commits, last 12 months
4days since last push
24releases
1bus factor
2open issues
npm, PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable
  • deps.dev does not index pypi:knowledge-rag@5.1.0; advisories assessed against the repository dependency graph instead
  • No resolved dependencies carried a version and a supported ecosystem

More detail

Star and fork history 0 ★ / 51 ⇿
0Stars
51Forks
23Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

01020304050605142026-022026-072026-11
Major 2Minor 10Patch 11
OpenSSF Scorecard 5.9 / 10
5.9aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-11-25 08:41 UTC

10Binary-Artifactsno binaries found in the repo
3Branch-Protectionbranch protection is not maximal on development and all release branches
10CI-Tests30 out of 30 merged PRs checked by a CI test -- score normalized to 10
5CII-Best-Practicesbadge detected: Passing
0Code-ReviewFound 0/24 approved changesets -- score normalized to 0
6Contributorsproject has 2 contributing companies or organizations -- score normalized to 6
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 25 issue activity found in the last 90 days -- score normalized to 10
10Packagingpackaging workflow detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
7SASTSAST tool detected but not run on all commits
10Security-Policysecurity policy file detected
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
2Vulnerabilities8 existing vulnerabilities detected
Direct dependencies 12
RegistryPackageVersion constraintManifest
PyPIchromadb>=1.4.0pyproject.toml
PyPIpymupdf>=1.23.0pyproject.toml
PyPIfastembed>=0.4.0pyproject.toml
PyPImcp>=2.0.0,<3.0.0pyproject.toml
PyPInumpy>=1.24.0pyproject.toml
PyPIrequests>=2.33.0pyproject.toml
PyPIbeautifulsoup4>=4.12.0pyproject.toml
PyPIpython-docx>=1.0.0pyproject.toml
PyPIopenpyxl>=3.1.0pyproject.toml
PyPIpython-pptx>=1.0.0pyproject.toml
PyPIwatchdog>=4.0.0pyproject.toml
PyPIpyyaml>=6.0pyproject.toml
All dependencies 35

Full resolved dependency set from the GitHub dependency graph: 12 direct and 23 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
PyPIbeautifulsoup4—direct
PyPIchromadb—direct
PyPIfastembed—direct
PyPImcp—direct
PyPInumpy—direct
PyPIopenpyxl—direct
PyPIpymupdf—direct
PyPIpython-docx—direct
PyPIpython-pptx—direct
PyPIpyyaml—direct
PyPIrequests—direct
PyPIwatchdog—direct
PyPIbandit—indirect
PyPIhatchling—indirect
PyPIhypothesis—indirect
PyPIinterrogate—indirect
PyPImutmut—indirect
PyPImypy—indirect
PyPInvidia-cublas-cu12—indirect
PyPInvidia-cuda-runtime-cu12—indirect
PyPInvidia-cudnn-cu12—indirect
PyPIonnxruntime-gpu—indirect
PyPIpip-audit—indirect
PyPIpre-commit—indirect
PyPIpsutil—indirect
PyPIpytest—indirect
PyPIpytest-benchmark—indirect
PyPIpytest-cov—indirect
PyPIpytest-memray—indirect
PyPIpytest-rerunfailures—indirect
PyPIpytest-timeout—indirect
PyPIradon—indirect
PyPIruff—indirect
PyPIuvicorn—indirect
PyPIvulture—indirect
Dependency advisories not assessed

Advisory matching could not run for this report: No resolved dependencies carried a version and a supported ecosystem

Raw JSON report machine-readable

Feedback

Spotted something off in this report, or have thoughts to share? Wrong measurements, missed tooling, ideas, questions — anything is welcome. Every message is read and gets a response.

The message is kept through sign-in.

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.10.0, schema v0.34.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statistics — PyPI, npm.