Skip to content

Conversation

@rakshabesafe
Copy link
Owner

Implemented a new PMCSearcher for fetching paper metadata, downloading PDFs, and reading text content from PubMed Central.

  • Created paper_search_mcp/academic_platforms/pmc.py with the PMCSearcher class.
  • Updated paper_search_mcp/server.py to include MCP tools for PMC (search_pmc, download_pmc, read_pmc_paper).
  • Added comprehensive unit tests in tests/test_pmc.py, including mocks for external dependencies.
  • Ensured pyproject.toml has necessary dependencies (no changes were needed for PMC itself as deps were already present or standard lib).
  • Corrected various import errors and capitalization issues in paper_search_mcp/academic_platforms/__init__.py that were uncovered during testing.
  • Refined abstract and date parsing in PMCSearcher for robustness.

Implemented a new PMCSearcher for fetching paper metadata, downloading PDFs, and reading text content from PubMed Central.

- Created `paper_search_mcp/academic_platforms/pmc.py` with the PMCSearcher class.
- Updated `paper_search_mcp/server.py` to include MCP tools for PMC (search_pmc, download_pmc, read_pmc_paper).
- Added comprehensive unit tests in `tests/test_pmc.py`, including mocks for external dependencies.
- Ensured `pyproject.toml` has necessary dependencies (no changes were needed for PMC itself as deps were already present or standard lib).
- Corrected various import errors and capitalization issues in `paper_search_mcp/academic_platforms/__init__.py` that were uncovered during testing.
- Refined abstract and date parsing in `PMCSearcher` for robustness.
@rakshabesafe rakshabesafe merged commit 62ed9d6 into main Jul 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants