@cyanheads/biorxiv-mcp-server 0.2.1 → 0.2.3

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 (45) hide show
  1. package/AGENTS.md +6 -2
  2. package/CLAUDE.md +6 -2
  3. package/README.md +12 -6
  4. package/changelog/0.2.x/0.2.2.md +21 -0
  5. package/changelog/0.2.x/0.2.3.md +26 -0
  6. package/dist/config/server-config.d.ts +5 -4
  7. package/dist/config/server-config.d.ts.map +1 -1
  8. package/dist/config/server-config.js +12 -11
  9. package/dist/config/server-config.js.map +1 -1
  10. package/dist/mcp-server/tools/definitions/biorxiv-get-fulltext.tool.d.ts +35 -6
  11. package/dist/mcp-server/tools/definitions/biorxiv-get-fulltext.tool.d.ts.map +1 -1
  12. package/dist/mcp-server/tools/definitions/biorxiv-get-fulltext.tool.js +117 -23
  13. package/dist/mcp-server/tools/definitions/biorxiv-get-fulltext.tool.js.map +1 -1
  14. package/dist/mcp-server/tools/definitions/biorxiv-get-preprint.tool.d.ts +11 -0
  15. package/dist/mcp-server/tools/definitions/biorxiv-get-preprint.tool.d.ts.map +1 -1
  16. package/dist/mcp-server/tools/definitions/biorxiv-get-preprint.tool.js +50 -13
  17. package/dist/mcp-server/tools/definitions/biorxiv-get-preprint.tool.js.map +1 -1
  18. package/dist/mcp-server/tools/definitions/biorxiv-get-published-version.tool.d.ts +10 -1
  19. package/dist/mcp-server/tools/definitions/biorxiv-get-published-version.tool.d.ts.map +1 -1
  20. package/dist/mcp-server/tools/definitions/biorxiv-get-published-version.tool.js +26 -1
  21. package/dist/mcp-server/tools/definitions/biorxiv-get-published-version.tool.js.map +1 -1
  22. package/dist/mcp-server/tools/definitions/biorxiv-list-recent.tool.d.ts +16 -0
  23. package/dist/mcp-server/tools/definitions/biorxiv-list-recent.tool.d.ts.map +1 -1
  24. package/dist/mcp-server/tools/definitions/biorxiv-list-recent.tool.js +54 -12
  25. package/dist/mcp-server/tools/definitions/biorxiv-list-recent.tool.js.map +1 -1
  26. package/dist/mcp-server/tools/definitions/biorxiv-search-preprints.tool.d.ts +12 -0
  27. package/dist/mcp-server/tools/definitions/biorxiv-search-preprints.tool.d.ts.map +1 -1
  28. package/dist/mcp-server/tools/definitions/biorxiv-search-preprints.tool.js +57 -17
  29. package/dist/mcp-server/tools/definitions/biorxiv-search-preprints.tool.js.map +1 -1
  30. package/dist/mcp-server/tools/definitions/index.d.ts +46 -2
  31. package/dist/mcp-server/tools/definitions/index.d.ts.map +1 -1
  32. package/dist/services/biorxiv/biorxiv-service.d.ts +7 -1
  33. package/dist/services/biorxiv/biorxiv-service.d.ts.map +1 -1
  34. package/dist/services/biorxiv/biorxiv-service.js +148 -92
  35. package/dist/services/biorxiv/biorxiv-service.js.map +1 -1
  36. package/dist/services/biorxiv-fulltext/biorxiv-fulltext-service.d.ts +29 -7
  37. package/dist/services/biorxiv-fulltext/biorxiv-fulltext-service.d.ts.map +1 -1
  38. package/dist/services/biorxiv-fulltext/biorxiv-fulltext-service.js +119 -15
  39. package/dist/services/biorxiv-fulltext/biorxiv-fulltext-service.js.map +1 -1
  40. package/dist/services/shared.d.ts +35 -2
  41. package/dist/services/shared.d.ts.map +1 -1
  42. package/dist/services/shared.js +64 -2
  43. package/dist/services/shared.js.map +1 -1
  44. package/package.json +1 -1
  45. package/server.json +31 -3
@@ -1,7 +1,9 @@
1
1
  /**
2
2
  * @fileoverview Shared utilities for biorxiv-mcp-server service layer. Provides
3
- * the Context→RequestContext cast, HTML error detection, and the server version
4
- * string used in User-Agent headers across all services.
3
+ * the Context→RequestContext cast, HTML error detection, calendar-date and
4
+ * upstream-text normalization, `Retry-After` parsing and rate-limit rejection
5
+ * lookup shared by both fetch paths, and the server version string used in
6
+ * User-Agent headers across all services.
5
7
  * @module services/shared
6
8
  */
7
9
  import type { Context } from '@cyanheads/mcp-ts-core';
@@ -45,6 +47,37 @@ export declare function isValidCalendarDate(dateStr: string): boolean;
45
47
  * fields as absent rather than as empty strings.
46
48
  */
47
49
  export declare function normalizeUpstreamText(text: string | undefined): string | undefined;
50
+ /**
51
+ * Reads a `Retry-After` header value as a wait in whole seconds. RFC 9110 §10.2.3
52
+ * allows either delta-seconds or an HTTP-date; the date form is converted to a
53
+ * wait from now and clamped at zero. Returns undefined for an absent, malformed,
54
+ * or unparseable value so callers fall back to generic wording rather than
55
+ * echoing an uninterpretable header into agent-facing prose.
56
+ *
57
+ * Shared by both fetch paths — the JSON API and the full-text article origin
58
+ * each surface the same header and must read it identically.
59
+ */
60
+ export declare function parseRetryAfterSeconds(raw: unknown): number | undefined;
61
+ /**
62
+ * Finds an origin rate limit among a set of rejections, recognising the
63
+ * `reason: 'rate_limited'` marker this server's services attach when they
64
+ * classify an HTTP 429. Returns the wait the caller should honor — the longest
65
+ * of the reported ones, since a shorter wait would still land inside whichever
66
+ * origin asked for the longer one — or an empty object when a rate limit fired
67
+ * without a usable `Retry-After`. Returns undefined when no rejection was a
68
+ * rate limit, so callers fall through to their generic upstream-failure
69
+ * contract entry.
70
+ */
71
+ export declare function findRateLimit(errors: readonly unknown[]): {
72
+ retryAfter?: number;
73
+ } | undefined;
74
+ /**
75
+ * Renders a `Retry-After` wait as the phrase every rate-limit recovery hint
76
+ * interpolates, so the wording an agent reads is identical whichever origin or
77
+ * tool produced the limit — including the fallback for a 429 whose response
78
+ * named no usable wait.
79
+ */
80
+ export declare function describeWait(seconds: number | undefined): string;
48
81
  /**
49
82
  * Version string used in outbound User-Agent headers. Derived from package.json
50
83
  * (the single source of truth) so it can never drift from the released version.
@@ -1 +1 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/services/shared.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAGnE;;;GAGG;AACH,wBAAgB,IAAI,CAAC,GAAG,EAAE,OAAO,GAA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G,SAAS,GAAG,MAAM,CAEhE;AAED;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,EAAE,MAA4B,CAAC"}
@@ -1,9 +1,12 @@
1
1
  /**
2
2
  * @fileoverview Shared utilities for biorxiv-mcp-server service layer. Provides
3
- * the Context→RequestContext cast, HTML error detection, and the server version
4
- * string used in User-Agent headers across all services.
3
+ * the Context→RequestContext cast, HTML error detection, calendar-date and
4
+ * upstream-text normalization, `Retry-After` parsing and rate-limit rejection
5
+ * lookup shared by both fetch paths, and the server version string used in
6
+ * User-Agent headers across all services.
5
7
  * @module services/shared
6
8
  */
9
+ import { McpError } from '@cyanheads/mcp-ts-core/errors';
7
10
  import packageJson from '../../package.json' with { type: 'json' };
8
11
  /**
9
12
  * Cast Context to RequestContext for fetchWithTimeout / withRetry.
@@ -81,6 +84,65 @@ export function normalizeUpstreamText(text) {
81
84
  .trim();
82
85
  return cleaned || undefined;
83
86
  }
87
+ /**
88
+ * Reads a `Retry-After` header value as a wait in whole seconds. RFC 9110 §10.2.3
89
+ * allows either delta-seconds or an HTTP-date; the date form is converted to a
90
+ * wait from now and clamped at zero. Returns undefined for an absent, malformed,
91
+ * or unparseable value so callers fall back to generic wording rather than
92
+ * echoing an uninterpretable header into agent-facing prose.
93
+ *
94
+ * Shared by both fetch paths — the JSON API and the full-text article origin
95
+ * each surface the same header and must read it identically.
96
+ */
97
+ export function parseRetryAfterSeconds(raw) {
98
+ if (typeof raw !== 'string')
99
+ return;
100
+ const trimmed = raw.trim();
101
+ if (/^\d+$/.test(trimmed))
102
+ return Number(trimmed);
103
+ const dateMs = Date.parse(trimmed);
104
+ if (Number.isNaN(dateMs))
105
+ return;
106
+ return Math.max(0, Math.round((dateMs - Date.now()) / 1000));
107
+ }
108
+ /**
109
+ * Finds an origin rate limit among a set of rejections, recognising the
110
+ * `reason: 'rate_limited'` marker this server's services attach when they
111
+ * classify an HTTP 429. Returns the wait the caller should honor — the longest
112
+ * of the reported ones, since a shorter wait would still land inside whichever
113
+ * origin asked for the longer one — or an empty object when a rate limit fired
114
+ * without a usable `Retry-After`. Returns undefined when no rejection was a
115
+ * rate limit, so callers fall through to their generic upstream-failure
116
+ * contract entry.
117
+ */
118
+ export function findRateLimit(errors) {
119
+ let found = false;
120
+ let longest;
121
+ for (const err of errors) {
122
+ if (!(err instanceof McpError))
123
+ continue;
124
+ const data = err.data;
125
+ if (data?.reason !== 'rate_limited')
126
+ continue;
127
+ found = true;
128
+ if (typeof data.retryAfter === 'number' &&
129
+ (longest === undefined || data.retryAfter > longest)) {
130
+ longest = data.retryAfter;
131
+ }
132
+ }
133
+ if (!found)
134
+ return;
135
+ return longest === undefined ? {} : { retryAfter: longest };
136
+ }
137
+ /**
138
+ * Renders a `Retry-After` wait as the phrase every rate-limit recovery hint
139
+ * interpolates, so the wording an agent reads is identical whichever origin or
140
+ * tool produced the limit — including the fallback for a 429 whose response
141
+ * named no usable wait.
142
+ */
143
+ export function describeWait(seconds) {
144
+ return seconds === undefined ? 'a minute or two' : `${seconds} seconds`;
145
+ }
84
146
  /**
85
147
  * Version string used in outbound User-Agent headers. Derived from package.json
86
148
  * (the single source of truth) so it can never drift from the released version.
@@ -1 +1 @@
1
- {"version":3,"file":"shared.js","sourceRoot":"","sources":["../../src/services/shared.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,WAAW,MAAM,oBAAoB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAEnE;;;GAGG;AACH,MAAM,UAAU,IAAI,CAAC,GAAY;IAC/B,OAAO,GAAgC,CAAC;AAC1C,CAAC;AAED,yEAAyE;AACzE,MAAM,UAAU,eAAe,CAAC,IAAY;IAC1C,OAAO,mCAAmC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACxD,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,mBAAmB,CAAC,OAAe;IACjD,MAAM,KAAK,GAAG,2BAA2B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACxD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C,MAAM,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,aAAa,CAAC,MAA0B;IACtD,IAAI,KAAK,GAAG,KAAK,CAAC;IAClB,IAAI,OAA2B,CAAC;IAChC,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE,CAAC;QACzB,IAAI,CAAC,CAAC,GAAG,YAAY,QAAQ,CAAC;YAAE,SAAS;QACzC,MAAM,IAAI,GAAG,GAAG,CAAC,IAA8D,CAAC;QAChF,IAAI,IAAI,EAAE,MAAM,KAAK,cAAc;YAAE,SAAS;QAC9C,KAAK,GAAG,IAAI,CAAC;QACb,IACE,OAAO,IAAI,CAAC,UAAU,KAAK,QAAQ;YACnC,CAAC,OAAO,KAAK,SAAS,IAAI,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,EACpD,CAAC;YACD,OAAO,GAAG,IAAI,CAAC,UAAU,CAAC;QAC5B,CAAC;IACH,CAAC;IACD,IAAI,CAAC,KAAK;QAAE,OAAO;IACnB,OAAO,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC;AAC9D,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,YAAY,CAAC,OAA2B;IACtD,OAAO,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,GAAG,OAAO,UAAU,CAAC;AAC1E,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,cAAc,GAAW,WAAW,CAAC,OAAO,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyanheads/biorxiv-mcp-server",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "mcpName": "io.github.cyanheads/biorxiv-mcp-server",
5
5
  "description": "Search and retrieve bioRxiv and medRxiv preprints — by DOI, date interval, or keyword — via MCP. STDIO or Streamable HTTP.",
6
6
  "type": "module",
package/server.json CHANGED
@@ -6,14 +6,14 @@
6
6
  "url": "https://github.com/cyanheads/biorxiv-mcp-server",
7
7
  "source": "github"
8
8
  },
9
- "version": "0.2.1",
9
+ "version": "0.2.3",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "registryBaseUrl": "https://registry.npmjs.org",
14
14
  "identifier": "@cyanheads/biorxiv-mcp-server",
15
15
  "runtimeHint": "bun",
16
- "version": "0.2.1",
16
+ "version": "0.2.3",
17
17
  "packageArguments": [
18
18
  {
19
19
  "type": "positional",
@@ -31,6 +31,20 @@
31
31
  "format": "string",
32
32
  "isRequired": false
33
33
  },
34
+ {
35
+ "name": "BIORXIV_WEB_BASE_URL",
36
+ "description": "bioRxiv website base URL \u2014 source of rendered full-text HTML pages for biorxiv_get_fulltext.",
37
+ "format": "string",
38
+ "isRequired": false,
39
+ "default": "https://www.biorxiv.org"
40
+ },
41
+ {
42
+ "name": "MEDRXIV_WEB_BASE_URL",
43
+ "description": "medRxiv website base URL \u2014 source of rendered full-text HTML pages for biorxiv_get_fulltext.",
44
+ "format": "string",
45
+ "isRequired": false,
46
+ "default": "https://www.medrxiv.org"
47
+ },
34
48
  {
35
49
  "name": "MCP_LOG_LEVEL",
36
50
  "description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').",
@@ -48,7 +62,7 @@
48
62
  "registryBaseUrl": "https://registry.npmjs.org",
49
63
  "identifier": "@cyanheads/biorxiv-mcp-server",
50
64
  "runtimeHint": "bun",
51
- "version": "0.2.1",
65
+ "version": "0.2.3",
52
66
  "packageArguments": [
53
67
  {
54
68
  "type": "positional",
@@ -66,6 +80,20 @@
66
80
  "format": "string",
67
81
  "isRequired": false
68
82
  },
83
+ {
84
+ "name": "BIORXIV_WEB_BASE_URL",
85
+ "description": "bioRxiv website base URL \u2014 source of rendered full-text HTML pages for biorxiv_get_fulltext.",
86
+ "format": "string",
87
+ "isRequired": false,
88
+ "default": "https://www.biorxiv.org"
89
+ },
90
+ {
91
+ "name": "MEDRXIV_WEB_BASE_URL",
92
+ "description": "medRxiv website base URL \u2014 source of rendered full-text HTML pages for biorxiv_get_fulltext.",
93
+ "format": "string",
94
+ "isRequired": false,
95
+ "default": "https://www.medrxiv.org"
96
+ },
69
97
  {
70
98
  "name": "MCP_HTTP_HOST",
71
99
  "description": "The hostname for the HTTP server.",