File size: 946 Bytes
5a0e824
b487777
 
 
 
5a0e824
b487777
 
5a0e824
 
b487777
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
title: HF Papers Search
emoji: 📚
colorFrom: purple
colorTo: blue
sdk: docker
app_port: 7860
short_description: Fast-agent MCP server for Hugging Face Daily Papers search
---

# HF Papers Search (MCP)

This Space runs [fast-agent](https://fast-agent.ai/) as an MCP server to provide
specialized search over the Hugging Face Daily Papers feed.

## Features
- Query `/api/daily_papers` with date/week/month filters
- Local keyword filtering across titles, summaries, authors, AI keywords
- Token passthrough via Hugging Face OAuth or Bearer tokens

## Environment Variables
Set these in Space settings:
- `FAST_AGENT_SERVE_OAUTH=hf`
- `FAST_AGENT_OAUTH_SCOPES=inference-api`
- `FAST_AGENT_OAUTH_RESOURCE_URL=https://evalstate-hf-papers.hf.space`
- `HF_TOKEN=hf_dummy` (dummy token required at startup)
- `OPENAI_API_KEY=DUMMY` (per request, your clients can override)

## Usage
Once running, the agent is available via HTTP at the Space URL.