@fre4x/arxiv 1.0.40 → 1.0.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,208 +1,208 @@
1
- # arxiv — The Research Fang
2
-
3
- > *Knowledge is the only weapon that sharpens itself. This B1TE cuts through the noise.*
4
-
5
- Part of **[FRE4X-B1TE](../)** — a monorepo of MCP servers built for autonomous agents.
6
-
7
- Agents sleep while humans read. This server doesn't sleep. It hunts across the entire arXiv corpus — millions of papers, every category, in real time — so the agent always knows what humans don't yet.
8
-
9
- ## Tools
10
-
11
- | Tool | What it hunts |
12
- |------|--------------|
13
- | `arxiv_search_papers` | Free-text search with field prefixes (`ti:`, `au:`, `abs:`, `cat:`) and boolean operators |
14
- | `arxiv_get_paper` | Full metadata for one or more papers by arXiv ID |
15
- | `arxiv_search_by_author` | All papers by a specific author |
16
- | `arxiv_search_by_category` | Papers in a subject category (e.g. `cs.AI`, `cs.LG`, `q-fin.TR`) |
17
- | `arxiv_list_categories` | All supported arXiv subject categories |
18
-
19
- ## Query Syntax
20
-
21
- ```
22
- ti:attention AND cat:cs.LG
23
- au:Bengio AND abs:generalization
24
- cat:cs.CV AND ti:object detection
25
- ti:diffusion AND NOT abs:image
26
- all:"Scaling Law limits" AND submittedDate:[20230101 TO 20261231]
27
- ```
28
-
29
- All list tools support `limit` (max 100) and `offset` for pagination.
30
- All tools support `response_format: "markdown"` (default) or `"json"`.
31
-
32
- ## Response Examples
33
-
34
- ### `arxiv_search_papers`
35
-
36
- **Input**
37
- ```json
38
- {
39
- "query": "all:\"Scaling Law limits\" AND submittedDate:[20230101 TO 20261231]",
40
- "sort_by": "relevance",
41
- "limit": 5
42
- }
43
- ```
44
-
45
- **Output (markdown)**
46
- ```markdown
47
- # arXiv Search Results
48
-
49
- Showing 5 of 42 results (offset: 0)
50
-
51
- ### 1. Scaling Laws Have Scaling Laws
52
- **arXiv**: [2310.12345](https://arxiv.org/abs/2310.12345) | **Authors**: Alice Chen, Bob Liu et al.
53
- **Published**: 2023-10-18 | **Category**: cs.LG
54
- > We investigate the limits of neural scaling laws and show that scaling
55
- > efficiency itself follows a power-law decay as model size grows beyond...
56
-
57
- *37 more results available. Use `offset=5` to continue.*
58
- ```
59
-
60
- ---
61
-
62
- ### `arxiv_get_paper`
63
-
64
- **Input**
65
- ```json
66
- { "ids": ["2310.12345", "2301.07758"] }
67
- ```
68
-
69
- **Output (markdown)**
70
- ```markdown
71
- ## Scaling Laws Have Scaling Laws
72
- **arXiv ID**: [2310.12345](https://arxiv.org/abs/2310.12345)
73
- **Authors**: Alice Chen, Bob Liu
74
- **Published**: 2023-10-18
75
- **Categories**: cs.LG (Machine Learning)
76
- **DOI**: 10.1234/example
77
- **PDF**: https://arxiv.org/pdf/2310.12345
78
-
79
- ### Abstract
80
-
81
- We investigate the limits of neural scaling laws and show that...
82
-
83
- ---
84
-
85
- ## A Second Paper Title
86
- ...
87
- ```
88
-
89
- **Output (json)**
90
- ```json
91
- [
92
- {
93
- "arxivId": "2310.12345",
94
- "title": "Scaling Laws Have Scaling Laws",
95
- "authors": [{ "name": "Alice Chen" }, { "name": "Bob Liu" }],
96
- "published": "2023-10-18T00:00:00Z",
97
- "updated": "2023-10-20T00:00:00Z",
98
- "summary": "We investigate the limits of neural scaling laws...",
99
- "categories": [{ "term": "cs.LG" }],
100
- "primaryCategory": { "term": "cs.LG" },
101
- "pdfUrl": "https://arxiv.org/pdf/2310.12345",
102
- "doi": "10.1234/example",
103
- "journalRef": null,
104
- "comment": "15 pages, 8 figures",
105
- "links": []
106
- }
107
- ]
108
- ```
109
-
110
- ---
111
-
112
- ### `arxiv_search_by_author`
113
-
114
- **Input**
115
- ```json
116
- { "author": "Yann LeCun", "limit": 3 }
117
- ```
118
-
119
- **Output (markdown)**
120
- ```markdown
121
- # arXiv Search Results
122
-
123
- Showing 3 of 128 results (offset: 0)
124
-
125
- ### 1. A Path Towards Autonomous Machine Intelligence
126
- **arXiv**: [2206.07682](https://arxiv.org/abs/2206.07682) | **Authors**: Yann LeCun
127
- **Published**: 2022-06-27 | **Category**: cs.AI
128
- > We propose a modular cognitive architecture for autonomous AI systems...
129
-
130
- *125 more results available. Use `offset=3` to continue.*
131
- ```
132
-
133
- ---
134
-
135
- ### `arxiv_search_by_category`
136
-
137
- **Input**
138
- ```json
139
- { "category": "cs.AI", "query": "reasoning", "sort_by": "submittedDate", "limit": 3 }
140
- ```
141
-
142
- **Output (markdown)**
143
- ```markdown
144
- # arXiv Search Results
145
-
146
- Showing 3 of 891 results (offset: 0)
147
-
148
- ### 1. Chain-of-Thought Reasoning in Large Language Models
149
- **arXiv**: [2401.00123](https://arxiv.org/abs/2401.00123) | **Authors**: Wei Zhang, Sara Kim et al.
150
- **Published**: 2024-01-02 | **Category**: cs.AI
151
- > We study emergent reasoning capabilities in LLMs and propose a new...
152
- ```
153
-
154
- ---
155
-
156
- ### `arxiv_list_categories`
157
-
158
- **Input**
159
- ```json
160
- { "limit": 5 }
161
- ```
162
-
163
- **Output (markdown)**
164
- ```markdown
165
- # arXiv Subject Categories
166
-
167
- ## CS
168
-
169
- - **cs.AI** — Artificial Intelligence
170
- - **cs.CL** — Computation and Language (NLP)
171
- - **cs.CV** — Computer Vision and Pattern Recognition
172
- - **cs.LG** — Machine Learning
173
- - **cs.NE** — Neural and Evolutionary Computing
174
- ```
175
-
176
- ## Mock Mode
177
-
178
- Run without any API key (returns fixture data of identical shape):
179
-
180
- ```bash
181
- MOCK=true npx @fre4x/arxiv
182
- ```
183
-
184
- ## Deploy
185
-
186
- ```json
187
- {
188
- "mcpServers": {
189
- "arxiv": {
190
- "command": "npx",
191
- "args": ["-y", "@fre4x/arxiv"]
192
- }
193
- }
194
- }
195
- ```
196
-
197
- ## Development
198
-
199
- ```bash
200
- npm install
201
- npm run dev # tsx, no build
202
- npm run build # esbuild → dist/
203
- npm test # vitest unit tests
204
- ```
205
-
206
- ## License
207
-
208
- MIT — **WE ARE THE FRE4X.**
1
+ # arxiv — The Research Fang
2
+
3
+ > *Knowledge is the only weapon that sharpens itself. This B1TE cuts through the noise.*
4
+
5
+ Part of **[FRE4X-B1TE](../)** — a monorepo of MCP servers built for autonomous agents.
6
+
7
+ Agents sleep while humans read. This server doesn't sleep. It hunts across the entire arXiv corpus — millions of papers, every category, in real time — so the agent always knows what humans don't yet.
8
+
9
+ ## Tools
10
+
11
+ | Tool | What it hunts |
12
+ |------|--------------|
13
+ | `arxiv_search_papers` | Free-text search with field prefixes (`ti:`, `au:`, `abs:`, `cat:`) and boolean operators |
14
+ | `arxiv_get_paper` | Full metadata for one or more papers by arXiv ID |
15
+ | `arxiv_search_by_author` | All papers by a specific author |
16
+ | `arxiv_search_by_category` | Papers in a subject category (e.g. `cs.AI`, `cs.LG`, `q-fin.TR`) |
17
+ | `arxiv_list_categories` | All supported arXiv subject categories |
18
+
19
+ ## Query Syntax
20
+
21
+ ```
22
+ ti:attention AND cat:cs.LG
23
+ au:Bengio AND abs:generalization
24
+ cat:cs.CV AND ti:object detection
25
+ ti:diffusion AND NOT abs:image
26
+ all:"Scaling Law limits" AND submittedDate:[20230101 TO 20261231]
27
+ ```
28
+
29
+ All list tools support `limit` (max 100) and `offset` for pagination.
30
+ All tools support `response_format: "markdown"` (default) or `"json"`.
31
+
32
+ ## Response Examples
33
+
34
+ ### `arxiv_search_papers`
35
+
36
+ **Input**
37
+ ```json
38
+ {
39
+ "query": "all:\"Scaling Law limits\" AND submittedDate:[20230101 TO 20261231]",
40
+ "sort_by": "relevance",
41
+ "limit": 5
42
+ }
43
+ ```
44
+
45
+ **Output (markdown)**
46
+ ```markdown
47
+ # arXiv Search Results
48
+
49
+ Showing 5 of 42 results (offset: 0)
50
+
51
+ ### 1. Scaling Laws Have Scaling Laws
52
+ **arXiv**: [2310.12345](https://arxiv.org/abs/2310.12345) | **Authors**: Alice Chen, Bob Liu et al.
53
+ **Published**: 2023-10-18 | **Category**: cs.LG
54
+ > We investigate the limits of neural scaling laws and show that scaling
55
+ > efficiency itself follows a power-law decay as model size grows beyond...
56
+
57
+ *37 more results available. Use `offset=5` to continue.*
58
+ ```
59
+
60
+ ---
61
+
62
+ ### `arxiv_get_paper`
63
+
64
+ **Input**
65
+ ```json
66
+ { "ids": ["2310.12345", "2301.07758"] }
67
+ ```
68
+
69
+ **Output (markdown)**
70
+ ```markdown
71
+ ## Scaling Laws Have Scaling Laws
72
+ **arXiv ID**: [2310.12345](https://arxiv.org/abs/2310.12345)
73
+ **Authors**: Alice Chen, Bob Liu
74
+ **Published**: 2023-10-18
75
+ **Categories**: cs.LG (Machine Learning)
76
+ **DOI**: 10.1234/example
77
+ **PDF**: https://arxiv.org/pdf/2310.12345
78
+
79
+ ### Abstract
80
+
81
+ We investigate the limits of neural scaling laws and show that...
82
+
83
+ ---
84
+
85
+ ## A Second Paper Title
86
+ ...
87
+ ```
88
+
89
+ **Output (json)**
90
+ ```json
91
+ [
92
+ {
93
+ "arxivId": "2310.12345",
94
+ "title": "Scaling Laws Have Scaling Laws",
95
+ "authors": [{ "name": "Alice Chen" }, { "name": "Bob Liu" }],
96
+ "published": "2023-10-18T00:00:00Z",
97
+ "updated": "2023-10-20T00:00:00Z",
98
+ "summary": "We investigate the limits of neural scaling laws...",
99
+ "categories": [{ "term": "cs.LG" }],
100
+ "primaryCategory": { "term": "cs.LG" },
101
+ "pdfUrl": "https://arxiv.org/pdf/2310.12345",
102
+ "doi": "10.1234/example",
103
+ "journalRef": null,
104
+ "comment": "15 pages, 8 figures",
105
+ "links": []
106
+ }
107
+ ]
108
+ ```
109
+
110
+ ---
111
+
112
+ ### `arxiv_search_by_author`
113
+
114
+ **Input**
115
+ ```json
116
+ { "author": "Yann LeCun", "limit": 3 }
117
+ ```
118
+
119
+ **Output (markdown)**
120
+ ```markdown
121
+ # arXiv Search Results
122
+
123
+ Showing 3 of 128 results (offset: 0)
124
+
125
+ ### 1. A Path Towards Autonomous Machine Intelligence
126
+ **arXiv**: [2206.07682](https://arxiv.org/abs/2206.07682) | **Authors**: Yann LeCun
127
+ **Published**: 2022-06-27 | **Category**: cs.AI
128
+ > We propose a modular cognitive architecture for autonomous AI systems...
129
+
130
+ *125 more results available. Use `offset=3` to continue.*
131
+ ```
132
+
133
+ ---
134
+
135
+ ### `arxiv_search_by_category`
136
+
137
+ **Input**
138
+ ```json
139
+ { "category": "cs.AI", "query": "reasoning", "sort_by": "submittedDate", "limit": 3 }
140
+ ```
141
+
142
+ **Output (markdown)**
143
+ ```markdown
144
+ # arXiv Search Results
145
+
146
+ Showing 3 of 891 results (offset: 0)
147
+
148
+ ### 1. Chain-of-Thought Reasoning in Large Language Models
149
+ **arXiv**: [2401.00123](https://arxiv.org/abs/2401.00123) | **Authors**: Wei Zhang, Sara Kim et al.
150
+ **Published**: 2024-01-02 | **Category**: cs.AI
151
+ > We study emergent reasoning capabilities in LLMs and propose a new...
152
+ ```
153
+
154
+ ---
155
+
156
+ ### `arxiv_list_categories`
157
+
158
+ **Input**
159
+ ```json
160
+ { "limit": 5 }
161
+ ```
162
+
163
+ **Output (markdown)**
164
+ ```markdown
165
+ # arXiv Subject Categories
166
+
167
+ ## CS
168
+
169
+ - **cs.AI** — Artificial Intelligence
170
+ - **cs.CL** — Computation and Language (NLP)
171
+ - **cs.CV** — Computer Vision and Pattern Recognition
172
+ - **cs.LG** — Machine Learning
173
+ - **cs.NE** — Neural and Evolutionary Computing
174
+ ```
175
+
176
+ ## Mock Mode
177
+
178
+ Run without any API key (returns fixture data of identical shape):
179
+
180
+ ```bash
181
+ MOCK=true npx @fre4x/arxiv
182
+ ```
183
+
184
+ ## Deploy
185
+
186
+ ```json
187
+ {
188
+ "mcpServers": {
189
+ "arxiv": {
190
+ "command": "npx",
191
+ "args": ["-y", "@fre4x/arxiv"]
192
+ }
193
+ }
194
+ }
195
+ ```
196
+
197
+ ## Development
198
+
199
+ ```bash
200
+ npm install
201
+ npm run dev # tsx, no build
202
+ npm run build # esbuild → dist/
203
+ npm test # vitest unit tests
204
+ ```
205
+
206
+ ## License
207
+
208
+ MIT — **WE ARE THE FRE4X.**