HuggingFace Daily Papers MCP Server
A MCP (Model Context Protocol) server for fetching HuggingFace daily papers.
Features
- Fetch today's, yesterday's or specific date HuggingFace papers
- Provides paper title, authors, abstract, tags, votes, and submitted by info
- Includes paper links and PDF download links
- Supports MCP tools and resource interfaces
- ArXiv integration for complete author lists
- Complete error handling and logging
- Comprehensive test coverage
Installation & Usage
Option 1: Direct execution with uvx (Recommended)
Install and run directly using uvx:
uvx huggingface-daily-paper-mcp
This will automatically install the package and its dependencies, then start the MCP server.
Option 2: Local development
For local development, clone the repository and install dependencies:
git clone https://github.com/huangxinping/huggingface-daily-paper-mcp.git
cd huggingface-daily-paper-mcp
uv sync
Local usage commands
Run as MCP Server (for development):
python main.py
Test Scraper Function:
python scraper.py
Run Tests:
uv run -m pytest test_mcp_server.py -v
Build Package:
uv build
MCP Interface
Tools
-
get_papers_by_date
- Description: Get HuggingFace papers for a specific date
- Parameters:
date(YYYY-MM-DD format)
-
get_today_papers
- Description: Get today's HuggingFace papers
- Parameters: None
-
get_yesterday_papers
- Description: Get yesterday's HuggingFace papers
- Parameters: None
Resources
-
papers://today
- Today's papers JSON data
-
papers://yesterday
- Yesterday's papers JSON data
Project Structure
huggingface-daily-paper-mcp/
├── main.py # MCP server main program
├── scraper.py # HuggingFace papers scraper module
├── test_mcp_server.py # MCP server test cases
├── README.md # Project documentation
├── .gitignore # Git ignore file
├── pyproject.toml # Project configuration file
└── uv.lock # Dependency lock file
Tech Stack
- Python 3.10+: Programming language
- MCP: Model Context Protocol framework
- Requests: HTTP request library
- BeautifulSoup4: HTML parsing library
- pytest: Testing framework
- uv: Python package manager
Development Standards
- Use uv native commands for package management
- Follow Python PEP 8 coding standards
- Include type hints and docstrings
- Complete error handling and logging
- Write unit tests to ensure code quality
Example Output
Single paper data structure:
{
"title": "CMPhysBench: A Benchmark for Evaluating Large Language Models in Condensed Matter Physics",
"authors": ["Weida Wang", "Dongchen Huang", "Jiatong Li", "..."],
"abstract": "CMPhysBench evaluates LLMs in condensed matter physics using calculation problems...",
"url": "https://huggingface.co/papers/2508.18124",
"pdf_url": "https://arxiv.org/pdf/2508.18124.pdf",
"votes": 15,
"submitted_by": "researcher123",
"scraped_at": "2025-08-27T10:30:00.123456"
}
MCP Tool output format:
Title: CMPhysBench: A Benchmark for Evaluating Large Language Models in Condensed Matter Physics
Authors: Weida Wang, Dongchen Huang, Jiatong Li, Tengchao Yang, Ziyang Zheng...
Abstract: CMPhysBench evaluates LLMs in condensed matter physics using calculation problems...
URL: https://huggingface.co/papers/2508.18124
PDF: https://arxiv.org/pdf/2508.18124.pdf
Votes: 15
Submitted by: researcher123
--------------------------------------------------
AI IDE/CLI Configuration
Claude Code (CLI)
Add to your MCP configuration:
{
"mcpServers": {
"huggingface-papers": {
"command": "uvx",
"args": ["huggingface-daily-paper-mcp"]
}
}
}
Cursor IDE
Add to your .cursorrules or MCP settings:
{
"mcp": {
"servers": {
"huggingface-papers": {
"command": "uvx",
"args": ["huggingface-daily-paper-mcp"],
"env": {}
}
}
}
}
Windsurf IDE
Add to your Windsurf MCP configuration:
{
"mcpServers": {
"huggingface-papers": {
"command": "uvx",
"args": ["huggingface-daily-paper-mcp"]
}
}
}
VS Code with Continue Extension
Add to your continue configuration:
{
"mcp": {
"servers": {
"huggingface-papers": {
"command": "uvx",
"args": ["huggingface-daily-paper-mcp"]
}
}
}
}
Other MCP-Compatible Tools
For any MCP-compatible client, use:
# Command
uvx huggingface-daily-paper-mcp
# Or with Python path
python -m main
License
MIT License
Metadata
Release files for huggingface-daily-paper-mcp 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| huggingface_daily_paper_mcp-0.1.4.tar.gz | 71.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| huggingface_daily_paper_mcp-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 150.0 kB
Release files / huggingface_daily_paper_mcp-0.1.4.tar.gz
| Download URL | huggingface_daily_paper_mcp-0.1.4.tar.gz |
|---|---|
| Size | 71.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d6c208a0f22ba802358cbf3e3b64d7d5b7434aca6c119602ebf673ce6465faf
|
|
BLAKE2b-256 checksum How to use checksums |
080503448b01aab46d586dbbedc8e978f7f233ab64a72413f925be338d48346f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|
Release files / huggingface_daily_paper_mcp-0.1.4-py3-none-any.whl
| Download URL | huggingface_daily_paper_mcp-0.1.4-py3-none-any.whl |
|---|---|
| Size | 78.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
20fee2337278a2ef09ed109df8a774ce3f4e1a04bafb359acdb9313262b27e06
|
|
BLAKE2b-256 checksum How to use checksums |
7b6b71f2bde11b958db05dc401e14e272c3fe566681612f5acae24005e4cb110
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|
Security for huggingface-daily-paper-mcp 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.