Code health of pvliesdonk/scholar-mcp
Repowise scores pvliesdonk/scholar-mcp at 6.8 out of 10 for code health, which reads as fair, alongside maintainability 8.1 and static performance 9.6 on the same scale. There are 407 open findings across the three pillars, and the lowest-scoring file is _tools_books.py at 2.3. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.
Findings by severity
40 critical, 61 high, 166 medium, 102 low.
Hotspots
15 files are flagged as hotspots. The top 5:
- src/scholar_mcp/_tools_graph.py: 6 commits in the last 90 days from 1 contributor with 18 recent bug fixes
- src/scholar_mcp/_tools_patent.py: 9 commits in the last 90 days from 1 contributor with 13 recent bug fixes
- src/scholar_mcp/_tools_pdf.py: 9 commits in the last 90 days from 3 contributors with 13 recent bug fixes
- scripts/gen_config_surface.py: 8 commits in the last 90 days from 1 contributor
- src/scholar_mcp/_cache.py: 5 commits in the last 90 days from 1 contributor with 14 recent bug fixes
Lowest-scoring files
- src/scholar_mcp/_tools_books.py: 2.3 out of 10 with 11 bug fixes in the last 180 days
- scripts/gen_config_surface.py: 2.3 out of 10
- src/scholar_mcp/_epo_xml.py: 2.4 out of 10 with 7 bug fixes in the last 180 days
- src/scholar_mcp/_standards_client.py: 2.5 out of 10 with 12 bug fixes in the last 180 days
- src/scholar_mcp/_citation_formatter.py: 2.8 out of 10 with 7 bug fixes in the last 180 days
Checked against bug fixes
Of the 20 files Repowise scores lowest, 16 had a bug fix in the last 180 days. Across all 155 scored files, 18.7% had a bug fix in that window.
Dead code and refactoring
Repowise found 1 unused export. 27 refactoring targets across 27 files would raise the score.
More on scholar-mcp: summary and FAQ, codebase overview, architecture.
Related guide: Best dead code detection tools by language