@cyanheads/cern-inspire-mcp-server 0.1.1

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.
Files changed (90) hide show
  1. package/AGENTS.md +504 -0
  2. package/CLAUDE.md +504 -0
  3. package/Dockerfile +177 -0
  4. package/LICENSE +201 -0
  5. package/README.md +311 -0
  6. package/changelog/0.1.x/0.1.0.md +9 -0
  7. package/changelog/0.1.x/0.1.1.md +22 -0
  8. package/changelog/template.md +151 -0
  9. package/dist/index.d.ts +7 -0
  10. package/dist/index.d.ts.map +1 -0
  11. package/dist/index.js +23 -0
  12. package/dist/index.js.map +1 -0
  13. package/dist/mcp-server/resources/definitions/index.d.ts +106 -0
  14. package/dist/mcp-server/resources/definitions/index.d.ts.map +1 -0
  15. package/dist/mcp-server/resources/definitions/index.js +7 -0
  16. package/dist/mcp-server/resources/definitions/index.js.map +1 -0
  17. package/dist/mcp-server/resources/definitions/inspire-literature.resource.d.ts +110 -0
  18. package/dist/mcp-server/resources/definitions/inspire-literature.resource.d.ts.map +1 -0
  19. package/dist/mcp-server/resources/definitions/inspire-literature.resource.js +69 -0
  20. package/dist/mcp-server/resources/definitions/inspire-literature.resource.js.map +1 -0
  21. package/dist/mcp-server/tools/definitions/export-citations.tool.d.ts +65 -0
  22. package/dist/mcp-server/tools/definitions/export-citations.tool.d.ts.map +1 -0
  23. package/dist/mcp-server/tools/definitions/export-citations.tool.js +120 -0
  24. package/dist/mcp-server/tools/definitions/export-citations.tool.js.map +1 -0
  25. package/dist/mcp-server/tools/definitions/get-citation-summary.tool.d.ts +159 -0
  26. package/dist/mcp-server/tools/definitions/get-citation-summary.tool.d.ts.map +1 -0
  27. package/dist/mcp-server/tools/definitions/get-citation-summary.tool.js +262 -0
  28. package/dist/mcp-server/tools/definitions/get-citation-summary.tool.js.map +1 -0
  29. package/dist/mcp-server/tools/definitions/get-paper.tool.d.ts +195 -0
  30. package/dist/mcp-server/tools/definitions/get-paper.tool.d.ts.map +1 -0
  31. package/dist/mcp-server/tools/definitions/get-paper.tool.js +356 -0
  32. package/dist/mcp-server/tools/definitions/get-paper.tool.js.map +1 -0
  33. package/dist/mcp-server/tools/definitions/index.d.ts +675 -0
  34. package/dist/mcp-server/tools/definitions/index.d.ts.map +1 -0
  35. package/dist/mcp-server/tools/definitions/index.js +23 -0
  36. package/dist/mcp-server/tools/definitions/index.js.map +1 -0
  37. package/dist/mcp-server/tools/definitions/list-reference.tool.d.ts +33 -0
  38. package/dist/mcp-server/tools/definitions/list-reference.tool.d.ts.map +1 -0
  39. package/dist/mcp-server/tools/definitions/list-reference.tool.js +312 -0
  40. package/dist/mcp-server/tools/definitions/list-reference.tool.js.map +1 -0
  41. package/dist/mcp-server/tools/definitions/search-authors.tool.d.ts +92 -0
  42. package/dist/mcp-server/tools/definitions/search-authors.tool.d.ts.map +1 -0
  43. package/dist/mcp-server/tools/definitions/search-authors.tool.js +298 -0
  44. package/dist/mcp-server/tools/definitions/search-authors.tool.js.map +1 -0
  45. package/dist/mcp-server/tools/definitions/search-experiments.tool.d.ts +80 -0
  46. package/dist/mcp-server/tools/definitions/search-experiments.tool.d.ts.map +1 -0
  47. package/dist/mcp-server/tools/definitions/search-experiments.tool.js +223 -0
  48. package/dist/mcp-server/tools/definitions/search-experiments.tool.js.map +1 -0
  49. package/dist/mcp-server/tools/definitions/search-hepdata.tool.d.ts +81 -0
  50. package/dist/mcp-server/tools/definitions/search-hepdata.tool.d.ts.map +1 -0
  51. package/dist/mcp-server/tools/definitions/search-hepdata.tool.js +225 -0
  52. package/dist/mcp-server/tools/definitions/search-hepdata.tool.js.map +1 -0
  53. package/dist/mcp-server/tools/definitions/search-literature.tool.d.ts +127 -0
  54. package/dist/mcp-server/tools/definitions/search-literature.tool.d.ts.map +1 -0
  55. package/dist/mcp-server/tools/definitions/search-literature.tool.js +331 -0
  56. package/dist/mcp-server/tools/definitions/search-literature.tool.js.map +1 -0
  57. package/dist/mcp-server/tools/inputs.d.ts +80 -0
  58. package/dist/mcp-server/tools/inputs.d.ts.map +1 -0
  59. package/dist/mcp-server/tools/inputs.js +100 -0
  60. package/dist/mcp-server/tools/inputs.js.map +1 -0
  61. package/dist/services/http/fetch-bounded.d.ts +45 -0
  62. package/dist/services/http/fetch-bounded.d.ts.map +1 -0
  63. package/dist/services/http/fetch-bounded.js +79 -0
  64. package/dist/services/http/fetch-bounded.js.map +1 -0
  65. package/dist/services/inspire/identifiers.d.ts +55 -0
  66. package/dist/services/inspire/identifiers.d.ts.map +1 -0
  67. package/dist/services/inspire/identifiers.js +98 -0
  68. package/dist/services/inspire/identifiers.js.map +1 -0
  69. package/dist/services/inspire/inspire-service.d.ts +104 -0
  70. package/dist/services/inspire/inspire-service.d.ts.map +1 -0
  71. package/dist/services/inspire/inspire-service.js +525 -0
  72. package/dist/services/inspire/inspire-service.js.map +1 -0
  73. package/dist/services/inspire/normalize.d.ts +30 -0
  74. package/dist/services/inspire/normalize.d.ts.map +1 -0
  75. package/dist/services/inspire/normalize.js +438 -0
  76. package/dist/services/inspire/normalize.js.map +1 -0
  77. package/dist/services/inspire/types.d.ts +505 -0
  78. package/dist/services/inspire/types.d.ts.map +1 -0
  79. package/dist/services/inspire/types.js +8 -0
  80. package/dist/services/inspire/types.js.map +1 -0
  81. package/dist/services/inspire/vocabulary.d.ts +22 -0
  82. package/dist/services/inspire/vocabulary.d.ts.map +1 -0
  83. package/dist/services/inspire/vocabulary.js +68 -0
  84. package/dist/services/inspire/vocabulary.js.map +1 -0
  85. package/dist/utils/render.d.ts +40 -0
  86. package/dist/utils/render.d.ts.map +1 -0
  87. package/dist/utils/render.js +112 -0
  88. package/dist/utils/render.js.map +1 -0
  89. package/package.json +112 -0
  90. package/server.json +100 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAWH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAS9B,CAAC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @fileoverview Every tool definition this server registers, collected for `createApp()`.
3
+ * @module mcp-server/tools/definitions
4
+ */
5
+ import { exportCitationsTool } from './export-citations.tool.js';
6
+ import { getCitationSummaryTool } from './get-citation-summary.tool.js';
7
+ import { getPaperTool } from './get-paper.tool.js';
8
+ import { listReferenceTool } from './list-reference.tool.js';
9
+ import { searchAuthorsTool } from './search-authors.tool.js';
10
+ import { searchExperimentsTool } from './search-experiments.tool.js';
11
+ import { searchHepdataTool } from './search-hepdata.tool.js';
12
+ import { searchLiteratureTool } from './search-literature.tool.js';
13
+ export const allToolDefinitions = [
14
+ searchLiteratureTool,
15
+ getPaperTool,
16
+ exportCitationsTool,
17
+ searchAuthorsTool,
18
+ getCitationSummaryTool,
19
+ searchExperimentsTool,
20
+ searchHepdataTool,
21
+ listReferenceTool,
22
+ ];
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,oBAAoB;IACpB,YAAY;IACZ,mBAAmB;IACnB,iBAAiB;IACjB,sBAAsB;IACtB,qBAAqB;IACrB,iBAAiB;IACjB,iBAAiB;CAClB,CAAC"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * @fileoverview cern_inspire_list_reference — static decoder for the vocabulary
3
+ * the other tools take: INSPIRE query syntax, identifier forms, the document-type
4
+ * and subject facet values, citation-summary buckets, and HEPData versioning and
5
+ * DOIs. Zero upstream calls.
6
+ * @module mcp-server/tools/definitions/list-reference.tool
7
+ */
8
+ import { z } from '@cyanheads/mcp-ts-core';
9
+ export declare const listReferenceTool: import("@cyanheads/mcp-ts-core").ToolDefinition<z.ZodObject<{
10
+ topic: z.ZodEnum<{
11
+ citation_buckets: "citation_buckets";
12
+ document_types: "document_types";
13
+ hepdata: "hepdata";
14
+ identifiers: "identifiers";
15
+ search_syntax: "search_syntax";
16
+ subjects: "subjects";
17
+ }>;
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ topic: z.ZodEnum<{
20
+ citation_buckets: "citation_buckets";
21
+ document_types: "document_types";
22
+ hepdata: "hepdata";
23
+ identifiers: "identifiers";
24
+ search_syntax: "search_syntax";
25
+ subjects: "subjects";
26
+ }>;
27
+ entries: z.ZodArray<z.ZodObject<{
28
+ term: z.ZodString;
29
+ meaning: z.ZodString;
30
+ example: z.ZodOptional<z.ZodString>;
31
+ }, z.core.$strip>>;
32
+ }, z.core.$strip>, undefined, undefined>;
33
+ //# sourceMappingURL=list-reference.tool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-reference.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/list-reference.tool.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AA4TjD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;wCA6C5B,CAAC"}
@@ -0,0 +1,312 @@
1
+ /**
2
+ * @fileoverview cern_inspire_list_reference — static decoder for the vocabulary
3
+ * the other tools take: INSPIRE query syntax, identifier forms, the document-type
4
+ * and subject facet values, citation-summary buckets, and HEPData versioning and
5
+ * DOIs. Zero upstream calls.
6
+ * @module mcp-server/tools/definitions/list-reference.tool
7
+ */
8
+ import { tool, z } from '@cyanheads/mcp-ts-core';
9
+ import { DOCUMENT_TYPES, SUBJECTS, } from '../../../services/inspire/vocabulary.js';
10
+ const TOPICS = [
11
+ 'search_syntax',
12
+ 'identifiers',
13
+ 'document_types',
14
+ 'subjects',
15
+ 'citation_buckets',
16
+ 'hepdata',
17
+ ];
18
+ const DOCUMENT_TYPE_MEANINGS = {
19
+ article: 'A research article, preprint or journal version.',
20
+ published: 'Published in a refereed journal. Combine with another type to keep only its published works (published + review = published reviews).',
21
+ 'conference paper': 'A contribution to a conference.',
22
+ thesis: "A PhD, master's, or other thesis.",
23
+ review: 'A review article.',
24
+ note: 'A note, such as an experiment or collaboration note.',
25
+ proceedings: 'A conference proceedings volume.',
26
+ lectures: 'Lecture notes.',
27
+ 'book chapter': 'A chapter in a book.',
28
+ book: 'A book.',
29
+ introductory: 'Introductory or pedagogical material.',
30
+ 'activity report': 'An activity report of an institution, experiment, or collaboration.',
31
+ report: 'A technical or other report.',
32
+ };
33
+ const SUBJECT_MEANINGS = {
34
+ Astrophysics: 'Astrophysics; arXiv astro-ph papers are filed here.',
35
+ 'Phenomenology-HEP': 'High-energy phenomenology; arXiv hep-ph.',
36
+ 'Theory-HEP': 'High-energy theory; arXiv hep-th.',
37
+ 'Quantum Physics': 'Quantum physics; arXiv quant-ph.',
38
+ Unknown: 'Not yet assigned a subject.',
39
+ 'Gravitation and Cosmology': 'General relativity and quantum cosmology; arXiv gr-qc.',
40
+ 'Experiment-HEP': 'High-energy experiment; arXiv hep-ex.',
41
+ 'Theory-Nucl': 'Nuclear theory; arXiv nucl-th.',
42
+ Accelerators: 'Accelerator physics; arXiv physics.acc-ph.',
43
+ Instrumentation: 'Instrumentation and detectors; arXiv physics.ins-det.',
44
+ 'General Physics': 'General physics.',
45
+ 'Experiment-Nucl': 'Nuclear experiment; arXiv nucl-ex.',
46
+ 'Math and Math Physics': 'Mathematics and mathematical physics; arXiv math and math-ph.',
47
+ 'Condensed Matter': 'Condensed matter; arXiv cond-mat.',
48
+ Computing: 'Computing and computer science; arXiv cs.',
49
+ Lattice: 'Lattice field theory; arXiv hep-lat.',
50
+ Other: 'Other fields.',
51
+ 'Data Analysis and Statistics': 'Data analysis and statistics; arXiv physics.data-an.',
52
+ };
53
+ const REFERENCE = {
54
+ search_syntax: [
55
+ {
56
+ term: 'free text',
57
+ meaning: 'Bare words search every field, which matches broadly; prefer a field operator below for titles, authors, or collaborations.',
58
+ example: 'higgs boson discovery',
59
+ },
60
+ {
61
+ term: 'a NAME or BAI',
62
+ meaning: 'Author. A name matches its spelling variants; a BAI matches exactly that profile (exact and case-sensitive, usually with the full first name).',
63
+ example: 'a Edward.Witten.1',
64
+ },
65
+ {
66
+ term: 'exactauthor:BAI',
67
+ meaning: 'Papers signed by exactly this author BAI.',
68
+ example: 'exactauthor:Edward.Witten.1',
69
+ },
70
+ {
71
+ term: 'authors.recid:N',
72
+ meaning: 'Papers by the author profile with recid N — the literatureQuery cern_inspire_search_authors returns.',
73
+ example: 'authors.recid:983328',
74
+ },
75
+ { term: 't WORDS', meaning: 'Title words.', example: 't higgs boson' },
76
+ {
77
+ term: 'cn NAME / collaboration:NAME',
78
+ meaning: 'Collaboration name, case-insensitive.',
79
+ example: 'cn atlas and t higgs',
80
+ },
81
+ {
82
+ term: 'date YEAR / date > YEAR',
83
+ meaning: 'Publication date: one year, or an open range with a comparison (after or before a year).',
84
+ example: 'date > 2025',
85
+ },
86
+ {
87
+ term: 'topcite N+',
88
+ meaning: 'Papers with at least N citations.',
89
+ example: 't higgs and topcite 500+',
90
+ },
91
+ {
92
+ term: 'refersto:recid:N',
93
+ meaning: 'Papers that cite record N (its citations).',
94
+ example: 'refersto:recid:1124337',
95
+ },
96
+ {
97
+ term: 'citedby:recid:N',
98
+ meaning: 'Papers that record N cites (its references).',
99
+ example: 'citedby:recid:1124337',
100
+ },
101
+ {
102
+ term: 'j JOURNAL,VOLUME,PAGE',
103
+ meaning: 'Journal publication; the volume and page are optional.',
104
+ example: 'j Phys.Lett.B,716,1',
105
+ },
106
+ { term: 'eprint ID', meaning: 'arXiv eprint number.', example: 'eprint 1207.7214' },
107
+ {
108
+ term: 'arxiv:ID',
109
+ meaning: 'arXiv ID, new or old style, without a version suffix (v2 matches nothing).',
110
+ example: 'arxiv:hep-th/9711200',
111
+ },
112
+ {
113
+ term: 'doi:DOI',
114
+ meaning: 'DOI, matched case-insensitively.',
115
+ example: 'doi:10.1016/j.physletb.2012.08.020',
116
+ },
117
+ {
118
+ term: 'recid:N',
119
+ meaning: 'One record by INSPIRE recid; join several with or to select a set of papers.',
120
+ example: 'recid:451647 or recid:1124337',
121
+ },
122
+ {
123
+ term: 'accelerator_experiments.legacy_name:"NAME"',
124
+ meaning: 'Papers linked to an experiment — the literatureQuery cern_inspire_search_experiments returns. The legacy name is exact and case-sensitive.',
125
+ example: 'accelerator_experiments.legacy_name:"CERN-LHC-ATLAS"',
126
+ },
127
+ {
128
+ term: 'and / or / not',
129
+ meaning: 'Combine terms; parentheses group them.',
130
+ example: 'a Edward.Witten.1 and not t string',
131
+ },
132
+ {
133
+ term: 'sort',
134
+ meaning: 'relevance (the default with a query), mostrecent, or mostcited. cern_inspire_search_hepdata takes relevance or mostrecent.',
135
+ },
136
+ {
137
+ term: '10,000-result window',
138
+ meaning: 'INSPIRE serves at most the first 10,000 results of a query (page × size ≤ 10,000); narrow the query to reach further.',
139
+ },
140
+ {
141
+ term: 'document_types / subjects filters',
142
+ meaning: 'Exact facet filters. Several values must ALL hold (published + review = published reviews); there is no OR across them.',
143
+ },
144
+ {
145
+ term: 'malformed syntax',
146
+ meaning: 'INSPIRE never rejects a query string: an unparsed operator widens or empties the match instead (a stray "a:" matched 1.5 M records). A very large total, or zero hits, usually means a syntax slip.',
147
+ },
148
+ ],
149
+ identifiers: [
150
+ {
151
+ term: 'recid',
152
+ meaning: 'INSPIRE record ID, an integer. Literature, authors, experiments, and institutions each number their own records.',
153
+ example: '1124337',
154
+ },
155
+ {
156
+ term: 'arXiv ID',
157
+ meaning: "New style NNNN.NNNNN or old style archive/NNNNNNN. INSPIRE stores it without a version suffix: the paper input of cern_inspire_get_paper strips 'arXiv:', vN, and arxiv.org URLs, but a literature query needs the bare ID (arxiv:1207.7214, not 1207.7214v2).",
158
+ example: '1207.7214',
159
+ },
160
+ {
161
+ term: 'DOI',
162
+ meaning: "Publisher DOI, matched case-insensitively. The paper input of cern_inspire_get_paper strips 'doi:' and doi.org prefixes; a literature query takes doi:DOI.",
163
+ example: '10.1016/j.physletb.2012.08.020',
164
+ },
165
+ {
166
+ term: 'INSPIRE BAI',
167
+ meaning: 'Author identifier: exact and case-sensitive, usually with the full first name (Jane.Doe.1, not J.Doe.1). Find it with cern_inspire_search_authors.',
168
+ example: 'Edward.Witten.1',
169
+ },
170
+ {
171
+ term: 'ORCID',
172
+ meaning: 'Author ORCID iD. Accepted by cern_inspire_search_authors and the author input of cern_inspire_get_citation_summary; literature queries do not match ORCIDs.',
173
+ example: '0000-0002-7752-6073',
174
+ },
175
+ {
176
+ term: 'INSPIRE ID',
177
+ meaning: 'Author identifier: INSPIRE- plus 8 digits.',
178
+ example: 'INSPIRE-00136372',
179
+ },
180
+ {
181
+ term: 'author recid',
182
+ meaning: "An author profile's recid; select its papers with authors.recid:N.",
183
+ example: '983328',
184
+ },
185
+ {
186
+ term: 'experiment legacy name',
187
+ meaning: 'An experiment\'s canonical name, exact and case-sensitive; select its papers with accelerator_experiments.legacy_name:"NAME".',
188
+ example: 'CERN-LHC-ATLAS',
189
+ },
190
+ {
191
+ term: 'texkey',
192
+ meaning: "INSPIRE's citation key, used by the BibTeX and LaTeX entries of cern_inspire_export_citations.",
193
+ example: 'ATLAS:2012yve',
194
+ },
195
+ {
196
+ term: 'HEPData ins<recid>',
197
+ meaning: 'HEPData addresses a paper by its INSPIRE literature recid with an ins prefix; the paper input of cern_inspire_get_paper accepts it, and a literature query takes recid:N.',
198
+ example: 'ins3182500',
199
+ },
200
+ {
201
+ term: 'HEPData record DOI',
202
+ meaning: 'The DOI of a HEPData record (all versions); cite it when reusing the data.',
203
+ example: '10.17182/hepdata.182706',
204
+ },
205
+ {
206
+ term: 'HEPData version DOI',
207
+ meaning: 'The DOI of one version of a HEPData record.',
208
+ example: '10.17182/hepdata.182706.v1',
209
+ },
210
+ {
211
+ term: 'HEPData table DOI',
212
+ meaning: 'The DOI of one table within a version.',
213
+ example: '10.17182/hepdata.182706.v1/t1',
214
+ },
215
+ ],
216
+ document_types: DOCUMENT_TYPES.map((term) => ({ term, meaning: DOCUMENT_TYPE_MEANINGS[term] })),
217
+ subjects: SUBJECTS.map((term) => ({ term, meaning: SUBJECT_MEANINGS[term] })),
218
+ citation_buckets: [
219
+ {
220
+ term: '0, 1–9, 10–49, 50–99, 100–249, 250–499, 500+',
221
+ meaning: "Citation ranges; each bucket counts the papers whose citation count falls in it. INSPIRE's web tier labels are not in the API.",
222
+ },
223
+ {
224
+ term: 'all (citeable)',
225
+ meaning: 'Papers INSPIRE flags as citeable — records with enough publication information to be cited reliably.',
226
+ },
227
+ {
228
+ term: 'published',
229
+ meaning: 'The citeable papers that are also published in a refereed journal.',
230
+ },
231
+ {
232
+ term: 'h-index',
233
+ meaning: 'The largest h such that h papers have at least h citations each, for all citeable and for published papers.',
234
+ },
235
+ {
236
+ term: 'matchedRecords vs citeablePapers',
237
+ meaning: 'Every record the query matched, versus the citeable subset the summary is computed over.',
238
+ },
239
+ {
240
+ term: 'exclude_self_citations',
241
+ meaning: 'Drops citations from papers sharing an author with the cited paper. For papers with over 20 authors and no collaboration name, only the first 20 authors count.',
242
+ },
243
+ ],
244
+ hepdata: [
245
+ {
246
+ term: 'HEPData record',
247
+ meaning: 'The numerical tables behind one paper, on hepdata.net at /record/ins followed by the INSPIRE literature recid.',
248
+ example: 'https://www.hepdata.net/record/ins3182500',
249
+ },
250
+ {
251
+ term: 'versions',
252
+ meaning: 'A record holds one or more versions, each with its own DOI and tables. latestVersion and tableCount describe the newest version.',
253
+ },
254
+ {
255
+ term: 'DOIs',
256
+ meaning: 'Record DOI 10.17182/hepdata.N; version DOI adds .vK; table DOI adds /tJ to the version DOI.',
257
+ example: '10.17182/hepdata.182706.v1/t1',
258
+ },
259
+ {
260
+ term: 'table values',
261
+ meaning: 'Live on hepdata.net; this server does not read them. cern_inspire_get_paper and cern_inspire_search_hepdata return hepdataUrl, the record page that holds them, and the record DOI.',
262
+ },
263
+ {
264
+ term: 'search',
265
+ meaning: "cern_inspire_search_hepdata searches INSPIRE's index of HEPData submissions: titles, abstracts, collaborations, and keywords such as reactions, observables, and centre-of-mass energies.",
266
+ example: 'P P --> TOP TOPBAR X',
267
+ },
268
+ {
269
+ term: 'licence and citation',
270
+ meaning: 'HEPData tables are CC0. Cite the HEPData record DOI when reusing its data, and credit INSPIRE for its metadata.',
271
+ },
272
+ ],
273
+ };
274
+ /** A static string in a table cell: pipes escaped so the row keeps its columns. */
275
+ const cellText = (text) => text.replace(/\|/g, '\\|');
276
+ export const listReferenceTool = tool('cern_inspire_list_reference', {
277
+ title: 'INSPIRE reference vocabulary',
278
+ description: 'Decode the vocabulary the other cern_inspire tools take: INSPIRE search syntax (field operators, boolean logic, sort orders, the 10,000-result window, and how malformed queries behave), identifier forms (recid, arXiv, DOI, BAI, ORCID, INSPIRE ID, texkey, HEPData DOIs), the document_types and subjects filter values, citation-summary buckets, and HEPData record versions and DOIs. Static content with no upstream call; use it to build a query or to recover from an empty or unexpectedly broad result.',
279
+ annotations: { readOnlyHint: true, idempotentHint: true, openWorldHint: false },
280
+ input: z.object({
281
+ topic: z
282
+ .enum(TOPICS)
283
+ .describe('Which vocabulary to decode: search_syntax (query operators and rules), identifiers (paper, author, experiment, and HEPData identifier forms), document_types, subjects, citation_buckets (citation-summary ranges and terms), or hepdata (record versions, DOIs, and licence).'),
284
+ }),
285
+ output: z.object({
286
+ topic: z.enum(TOPICS).describe('The topic decoded.'),
287
+ entries: z
288
+ .array(z
289
+ .object({
290
+ term: z.string().describe('The operator, identifier form, value, or concept.'),
291
+ meaning: z.string().describe('What it means and how the tools use it.'),
292
+ example: z.string().optional().describe('A working example, when one applies.'),
293
+ })
294
+ .describe('One vocabulary entry.'))
295
+ .describe('The entries for the topic.'),
296
+ }),
297
+ handler(input) {
298
+ return { topic: input.topic, entries: REFERENCE[input.topic] };
299
+ },
300
+ format: (result) => {
301
+ const rows = result.entries.map((entry) => `| \`${cellText(entry.term)}\` | ${cellText(entry.meaning)} | ${entry.example ? `\`${cellText(entry.example)}\`` : '—'} |`);
302
+ const text = [
303
+ `## INSPIRE reference: ${result.topic}`,
304
+ '',
305
+ '| Term | Meaning | Example |',
306
+ '|:-----|:--------|:--------|',
307
+ ...rows,
308
+ ].join('\n');
309
+ return [{ type: 'text', text }];
310
+ },
311
+ });
312
+ //# sourceMappingURL=list-reference.tool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-reference.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/list-reference.tool.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EACL,cAAc,EAEd,QAAQ,GAET,MAAM,kCAAkC,CAAC;AAE1C,MAAM,MAAM,GAAG;IACb,eAAe;IACf,aAAa;IACb,gBAAgB;IAChB,UAAU;IACV,kBAAkB;IAClB,SAAS;CACD,CAAC;AAUX,MAAM,sBAAsB,GAAiC;IAC3D,OAAO,EAAE,kDAAkD;IAC3D,SAAS,EACP,uIAAuI;IACzI,kBAAkB,EAAE,iCAAiC;IACrD,MAAM,EAAE,mCAAmC;IAC3C,MAAM,EAAE,mBAAmB;IAC3B,IAAI,EAAE,sDAAsD;IAC5D,WAAW,EAAE,kCAAkC;IAC/C,QAAQ,EAAE,gBAAgB;IAC1B,cAAc,EAAE,sBAAsB;IACtC,IAAI,EAAE,SAAS;IACf,YAAY,EAAE,uCAAuC;IACrD,iBAAiB,EAAE,qEAAqE;IACxF,MAAM,EAAE,8BAA8B;CACvC,CAAC;AAEF,MAAM,gBAAgB,GAA4B;IAChD,YAAY,EAAE,qDAAqD;IACnE,mBAAmB,EAAE,0CAA0C;IAC/D,YAAY,EAAE,mCAAmC;IACjD,iBAAiB,EAAE,kCAAkC;IACrD,OAAO,EAAE,6BAA6B;IACtC,2BAA2B,EAAE,wDAAwD;IACrF,gBAAgB,EAAE,uCAAuC;IACzD,aAAa,EAAE,gCAAgC;IAC/C,YAAY,EAAE,4CAA4C;IAC1D,eAAe,EAAE,uDAAuD;IACxE,iBAAiB,EAAE,kB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ern_inspire_search_authors — INSPIRE-HEP author profiles by
3
+ * name, BAI, ORCID, INSPIRE ID, or author recid: positions, identifiers,
4
+ * advisors, arXiv categories, and the literature query that selects each
5
+ * person's papers. Returns ranked candidates; never auto-picks among namesakes.
6
+ * @module mcp-server/tools/definitions/search-authors.tool
7
+ */
8
+ import { z } from '@cyanheads/mcp-ts-core';
9
+ import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors';
10
+ export declare const searchAuthorsTool: import("@cyanheads/mcp-ts-core").ToolDefinition<z.ZodObject<{
11
+ query: z.ZodPreprocess<z.ZodString, unknown>;
12
+ limit: z.ZodPreprocess<z.ZodDefault<z.ZodNumber>, unknown>;
13
+ }, z.core.$strip>, z.ZodObject<{
14
+ authors: z.ZodArray<z.ZodObject<{
15
+ recid: z.ZodString;
16
+ name: z.ZodString;
17
+ preferredName: z.ZodOptional<z.ZodString>;
18
+ bai: z.ZodOptional<z.ZodString>;
19
+ orcid: z.ZodOptional<z.ZodString>;
20
+ inspireId: z.ZodOptional<z.ZodString>;
21
+ otherIds: z.ZodArray<z.ZodObject<{
22
+ schema: z.ZodString;
23
+ value: z.ZodString;
24
+ }, z.core.$strip>>;
25
+ status: z.ZodOptional<z.ZodString>;
26
+ stub: z.ZodOptional<z.ZodBoolean>;
27
+ currentPositions: z.ZodArray<z.ZodObject<{
28
+ institution: z.ZodString;
29
+ rank: z.ZodOptional<z.ZodString>;
30
+ startDate: z.ZodOptional<z.ZodString>;
31
+ endDate: z.ZodOptional<z.ZodString>;
32
+ institutionRecid: z.ZodOptional<z.ZodString>;
33
+ }, z.core.$strip>>;
34
+ pastPositions: z.ZodArray<z.ZodObject<{
35
+ institution: z.ZodString;
36
+ rank: z.ZodOptional<z.ZodString>;
37
+ startDate: z.ZodOptional<z.ZodString>;
38
+ endDate: z.ZodOptional<z.ZodString>;
39
+ institutionRecid: z.ZodOptional<z.ZodString>;
40
+ }, z.core.$strip>>;
41
+ arxivCategories: z.ZodArray<z.ZodString>;
42
+ advisors: z.ZodArray<z.ZodObject<{
43
+ name: z.ZodString;
44
+ degreeType: z.ZodOptional<z.ZodString>;
45
+ recid: z.ZodOptional<z.ZodString>;
46
+ }, z.core.$strip>>;
47
+ urls: z.ZodArray<z.ZodObject<{
48
+ url: z.ZodString;
49
+ description: z.ZodOptional<z.ZodString>;
50
+ }, z.core.$strip>>;
51
+ awards: z.ZodArray<z.ZodObject<{
52
+ name: z.ZodString;
53
+ year: z.ZodOptional<z.ZodNumber>;
54
+ }, z.core.$strip>>;
55
+ literatureQuery: z.ZodString;
56
+ }, z.core.$strip>>;
57
+ }, z.core.$strip>, readonly [{
58
+ readonly reason: "invalid_query";
59
+ readonly code: JsonRpcErrorCode.ValidationError;
60
+ readonly when: "INSPIRE answered 400 to a parameter value it refuses.";
61
+ readonly recovery: "Check the name or identifier form against cern_inspire_list_reference topic identifiers, then retry cern_inspire_search_authors.";
62
+ readonly severity: "notice";
63
+ readonly thrownBy: "service";
64
+ }, {
65
+ readonly reason: "inspire_rate_limited";
66
+ readonly code: JsonRpcErrorCode.RateLimited;
67
+ readonly when: "INSPIRE returned 429 after the pacer and retries.";
68
+ readonly recovery: "Wait the retry-after seconds this error states (at least 5), then retry this call; INSPIRE allows 15 requests per 5 seconds from one address.";
69
+ readonly retryable: true;
70
+ readonly thrownBy: "service";
71
+ }, {
72
+ readonly reason: "pacer_shed";
73
+ readonly code: JsonRpcErrorCode.RateLimited;
74
+ readonly when: "The server's outbound INSPIRE queue could not start the request within the call's remaining budget.";
75
+ readonly recovery: "This server's INSPIRE request queue is saturated; wait the seconds in this error's retryAfter field (about 5 when it is not shown), then retry this call with fewer cern_inspire calls running in parallel.";
76
+ readonly retryable: true;
77
+ readonly thrownBy: "service";
78
+ }, {
79
+ readonly reason: "upstream_unreadable";
80
+ readonly code: JsonRpcErrorCode.ServiceUnavailable;
81
+ readonly when: "The INSPIRE body exceeded the byte ceiling, was HTML where JSON was expected, or was invalid JSON.";
82
+ readonly recovery: "Retry this call in a few seconds; if it fails again, retry cern_inspire_search_authors with a smaller limit.";
83
+ readonly thrownBy: "service";
84
+ }], {
85
+ readonly totalCount: z.ZodNumber;
86
+ readonly truncated: z.ZodBoolean;
87
+ readonly shown: z.ZodNumber;
88
+ readonly cap: z.ZodNumber;
89
+ readonly matchedAs: z.ZodString;
90
+ readonly notice: z.ZodOptional<z.ZodString>;
91
+ }>;
92
+ //# sourceMappingURL=search-authors.tool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-authors.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/search-authors.tool.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAmOjE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmI5B,CAAC"}