@cyanheads/pubmed-mcp-server 2.10.13 → 2.10.14

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 (110) hide show
  1. package/AGENTS.md +22 -4
  2. package/CLAUDE.md +22 -4
  3. package/README.md +5 -5
  4. package/changelog/2.0.x/2.0.0.md +32 -0
  5. package/changelog/2.0.x/2.0.1.md +32 -0
  6. package/changelog/2.1.x/2.1.0.md +17 -0
  7. package/changelog/2.1.x/2.1.1.md +29 -0
  8. package/changelog/2.1.x/2.1.2.md +18 -0
  9. package/changelog/2.1.x/2.1.3.md +10 -0
  10. package/changelog/2.1.x/2.1.4.md +12 -0
  11. package/changelog/2.1.x/2.1.5.md +18 -0
  12. package/changelog/2.1.x/2.1.6.md +15 -0
  13. package/changelog/2.10.x/2.10.0.md +17 -0
  14. package/changelog/2.10.x/2.10.1.md +14 -0
  15. package/changelog/2.10.x/2.10.10.md +22 -0
  16. package/changelog/2.10.x/2.10.11.md +21 -0
  17. package/changelog/2.10.x/2.10.12.md +14 -0
  18. package/changelog/2.10.x/2.10.13.md +28 -0
  19. package/changelog/2.10.x/2.10.14.md +28 -0
  20. package/changelog/2.10.x/2.10.2.md +13 -0
  21. package/changelog/2.10.x/2.10.3.md +26 -0
  22. package/changelog/2.10.x/2.10.4.md +11 -0
  23. package/changelog/2.10.x/2.10.5.md +31 -0
  24. package/changelog/2.10.x/2.10.6.md +30 -0
  25. package/changelog/2.10.x/2.10.7.md +17 -0
  26. package/changelog/2.10.x/2.10.8.md +22 -0
  27. package/changelog/2.10.x/2.10.9.md +15 -0
  28. package/changelog/2.2.x/2.2.0.md +67 -0
  29. package/changelog/2.2.x/2.2.1.md +10 -0
  30. package/changelog/2.2.x/2.2.2.md +20 -0
  31. package/changelog/2.2.x/2.2.3.md +17 -0
  32. package/changelog/2.2.x/2.2.4.md +34 -0
  33. package/changelog/2.2.x/2.2.5.md +10 -0
  34. package/changelog/2.2.x/2.2.6.md +17 -0
  35. package/changelog/2.3.x/2.3.0.md +27 -0
  36. package/changelog/2.3.x/2.3.1.md +15 -0
  37. package/changelog/2.3.x/2.3.10.md +20 -0
  38. package/changelog/2.3.x/2.3.11.md +21 -0
  39. package/changelog/2.3.x/2.3.2.md +27 -0
  40. package/changelog/2.3.x/2.3.3.md +38 -0
  41. package/changelog/2.3.x/2.3.4.md +21 -0
  42. package/changelog/2.3.x/2.3.5.md +24 -0
  43. package/changelog/2.3.x/2.3.6.md +26 -0
  44. package/changelog/2.3.x/2.3.7.md +31 -0
  45. package/changelog/2.3.x/2.3.8.md +19 -0
  46. package/changelog/2.3.x/2.3.9.md +22 -0
  47. package/changelog/2.4.x/2.4.0.md +34 -0
  48. package/changelog/2.4.x/2.4.1.md +32 -0
  49. package/changelog/2.5.x/2.5.0.md +35 -0
  50. package/changelog/2.5.x/2.5.1.md +32 -0
  51. package/changelog/2.5.x/2.5.2.md +23 -0
  52. package/changelog/2.5.x/2.5.3.md +22 -0
  53. package/changelog/2.5.x/2.5.5.md +52 -0
  54. package/changelog/2.5.x/2.5.6.md +33 -0
  55. package/changelog/2.6.x/2.6.0.md +32 -0
  56. package/changelog/2.6.x/2.6.1.md +26 -0
  57. package/changelog/2.6.x/2.6.10.md +16 -0
  58. package/changelog/2.6.x/2.6.11.md +24 -0
  59. package/changelog/2.6.x/2.6.12.md +29 -0
  60. package/changelog/2.6.x/2.6.2.md +23 -0
  61. package/changelog/2.6.x/2.6.3.md +17 -0
  62. package/changelog/2.6.x/2.6.4.md +21 -0
  63. package/changelog/2.6.x/2.6.5.md +30 -0
  64. package/changelog/2.6.x/2.6.6.md +25 -0
  65. package/changelog/2.6.x/2.6.7.md +37 -0
  66. package/changelog/2.6.x/2.6.8.md +15 -0
  67. package/changelog/2.6.x/2.6.9.md +36 -0
  68. package/changelog/2.7.x/2.7.0.md +41 -0
  69. package/changelog/2.7.x/2.7.1.md +21 -0
  70. package/changelog/2.7.x/2.7.10.md +13 -0
  71. package/changelog/2.7.x/2.7.11.md +15 -0
  72. package/changelog/2.7.x/2.7.2.md +22 -0
  73. package/changelog/2.7.x/2.7.3.md +18 -0
  74. package/changelog/2.7.x/2.7.4.md +15 -0
  75. package/changelog/2.7.x/2.7.5.md +34 -0
  76. package/changelog/2.7.x/2.7.6.md +14 -0
  77. package/changelog/2.7.x/2.7.7.md +14 -0
  78. package/changelog/2.7.x/2.7.8.md +18 -0
  79. package/changelog/2.7.x/2.7.9.md +16 -0
  80. package/changelog/2.8.x/2.8.0.md +23 -0
  81. package/changelog/2.9.x/2.9.0.md +21 -0
  82. package/changelog/2.9.x/2.9.1.md +12 -0
  83. package/changelog/2.9.x/2.9.10.md +15 -0
  84. package/changelog/2.9.x/2.9.2.md +21 -0
  85. package/changelog/2.9.x/2.9.3.md +11 -0
  86. package/changelog/2.9.x/2.9.4.md +24 -0
  87. package/changelog/2.9.x/2.9.5.md +20 -0
  88. package/changelog/2.9.x/2.9.6.md +22 -0
  89. package/changelog/2.9.x/2.9.7.md +26 -0
  90. package/changelog/2.9.x/2.9.8.md +15 -0
  91. package/changelog/2.9.x/2.9.9.md +35 -0
  92. package/changelog/template.md +151 -0
  93. package/dist/index.js +1 -0
  94. package/dist/index.js.map +1 -1
  95. package/dist/services/europe-pmc/europe-pmc-service.d.ts.map +1 -1
  96. package/dist/services/europe-pmc/europe-pmc-service.js +3 -10
  97. package/dist/services/europe-pmc/europe-pmc-service.js.map +1 -1
  98. package/dist/services/ncbi/ncbi-service.d.ts +0 -2
  99. package/dist/services/ncbi/ncbi-service.d.ts.map +1 -1
  100. package/dist/services/ncbi/ncbi-service.js +2 -9
  101. package/dist/services/ncbi/ncbi-service.js.map +1 -1
  102. package/dist/services/openalex/openalex-service.d.ts.map +1 -1
  103. package/dist/services/openalex/openalex-service.js +3 -10
  104. package/dist/services/openalex/openalex-service.js.map +1 -1
  105. package/package.json +17 -8
  106. package/server.json +3 -3
  107. package/dist/services/retry-policy.d.ts +0 -18
  108. package/dist/services/retry-policy.d.ts.map +0 -1
  109. package/dist/services/retry-policy.js +0 -21
  110. package/dist/services/retry-policy.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyanheads/pubmed-mcp-server",
3
- "version": "2.10.13",
3
+ "version": "2.10.14",
4
4
  "mcpName": "io.github.cyanheads/pubmed-mcp-server",
5
5
  "description": "Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms via MCP. STDIO or Streamable HTTP.",
6
6
  "type": "module",
@@ -9,7 +9,16 @@
9
9
  "bin": {
10
10
  "pubmed-mcp-server": "dist/index.js"
11
11
  },
12
- "files": ["dist/", "README.md", "LICENSE", "CLAUDE.md", "AGENTS.md", "Dockerfile", "server.json"],
12
+ "files": [
13
+ "changelog/",
14
+ "dist/",
15
+ "README.md",
16
+ "LICENSE",
17
+ "CLAUDE.md",
18
+ "AGENTS.md",
19
+ "Dockerfile",
20
+ "server.json"
21
+ ],
13
22
  "scripts": {
14
23
  "build": "bun run scripts/build.ts",
15
24
  "rebuild": "bun run scripts/clean.ts && bun run build",
@@ -83,27 +92,27 @@
83
92
  "access": "public"
84
93
  },
85
94
  "dependencies": {
86
- "@cyanheads/mcp-ts-core": "^0.13.0",
95
+ "@cyanheads/mcp-ts-core": "^0.13.4",
87
96
  "defuddle": "^0.19.3",
88
97
  "fast-xml-parser": "^5.11.1",
89
98
  "linkedom": "^0.18.13",
90
99
  "pino-pretty": "^13.1.3",
91
100
  "sanitize-html": "^2.17.7",
92
101
  "unpdf": "^1.8.1",
93
- "zod": "^4.6.1"
102
+ "zod": "^4.6.5"
94
103
  },
95
104
  "devDependencies": {
96
105
  "@biomejs/biome": "^2.5.13",
97
106
  "@socketsecurity/bun-security-scanner": "^1.1.2",
98
107
  "@types/node": "^26.5.1",
99
108
  "@types/sanitize-html": "^2.16.1",
100
- "@vitest/coverage-istanbul": "^5.0.0",
109
+ "@vitest/coverage-istanbul": "^5.0.1",
101
110
  "depcheck": "^1.4.7",
102
- "fast-check": "^4.9.0",
111
+ "fast-check": "^4.10.0",
103
112
  "ignore": "^7.0.9",
104
- "tsc-alias": "^1.9.4",
113
+ "tsc-alias": "^1.9.5",
105
114
  "typescript": "^7.0.2",
106
- "vitest": "^5.0.0"
115
+ "vitest": "^5.0.1"
107
116
  },
108
117
  "overrides": {
109
118
  "@hono/node-server": "^2.0.11",
package/server.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "url": "https://github.com/cyanheads/pubmed-mcp-server",
7
7
  "source": "github"
8
8
  },
9
- "version": "2.10.13",
9
+ "version": "2.10.14",
10
10
  "remotes": [
11
11
  {
12
12
  "type": "streamable-http",
@@ -19,7 +19,7 @@
19
19
  "registryBaseUrl": "https://registry.npmjs.org",
20
20
  "identifier": "@cyanheads/pubmed-mcp-server",
21
21
  "runtimeHint": "bun",
22
- "version": "2.10.13",
22
+ "version": "2.10.14",
23
23
  "packageArguments": [
24
24
  {
25
25
  "type": "positional",
@@ -66,7 +66,7 @@
66
66
  "registryBaseUrl": "https://registry.npmjs.org",
67
67
  "identifier": "@cyanheads/pubmed-mcp-server",
68
68
  "runtimeHint": "bun",
69
- "version": "2.10.13",
69
+ "version": "2.10.14",
70
70
  "packageArguments": [
71
71
  {
72
72
  "type": "positional",
@@ -1,18 +0,0 @@
1
- /**
2
- * @fileoverview Shared transience check for the hand-rolled retry loops in the NCBI,
3
- * OpenAlex, and Europe PMC services. Mirrors the framework's `defaultIsTransient`
4
- * (`withRetry`, `@cyanheads/mcp-ts-core/utils`) so the three gates classify identically
5
- * to the framework path they don't use.
6
- * @module src/services/retry-policy
7
- */
8
- import type { JsonRpcErrorCode, McpError } from '@cyanheads/mcp-ts-core/errors';
9
- /**
10
- * Whether a thrown `McpError` should be retried. An explicit `data.retryable === false`
11
- * opt-out wins over code-based classification; absent (or `true`) the code decides.
12
- *
13
- * The HTTP helpers stamp the opt-out on an upstream 501, which classifies as
14
- * `ServiceUnavailable` — a transient code — but re-asks for a method the upstream has
15
- * declared absent, so it must fail on the first attempt.
16
- */
17
- export declare function isTransient(error: McpError, transientCodes: ReadonlySet<JsonRpcErrorCode>): boolean;
18
- //# sourceMappingURL=retry-policy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"retry-policy.d.ts","sourceRoot":"","sources":["../../src/services/retry-policy.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAEhF;;;;;;;GAOG;AACH,wBAAgB,WAAW,CACzB,KAAK,EAAE,QAAQ,EACf,cAAc,EAAE,WAAW,CAAC,gBAAgB,CAAC,GAC5C,OAAO,CAGT"}
@@ -1,21 +0,0 @@
1
- /**
2
- * @fileoverview Shared transience check for the hand-rolled retry loops in the NCBI,
3
- * OpenAlex, and Europe PMC services. Mirrors the framework's `defaultIsTransient`
4
- * (`withRetry`, `@cyanheads/mcp-ts-core/utils`) so the three gates classify identically
5
- * to the framework path they don't use.
6
- * @module src/services/retry-policy
7
- */
8
- /**
9
- * Whether a thrown `McpError` should be retried. An explicit `data.retryable === false`
10
- * opt-out wins over code-based classification; absent (or `true`) the code decides.
11
- *
12
- * The HTTP helpers stamp the opt-out on an upstream 501, which classifies as
13
- * `ServiceUnavailable` — a transient code — but re-asks for a method the upstream has
14
- * declared absent, so it must fail on the first attempt.
15
- */
16
- export function isTransient(error, transientCodes) {
17
- if (error.data?.retryable === false)
18
- return false;
19
- return transientCodes.has(error.code);
20
- }
21
- //# sourceMappingURL=retry-policy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"retry-policy.js","sourceRoot":"","sources":["../../src/services/retry-policy.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH;;;;;;;GAOG;AACH,MAAM,UAAU,WAAW,CACzB,KAAe,EACf,cAA6C;IAE7C,IAAI,KAAK,CAAC,IAAI,EAAE,SAAS,KAAK,KAAK;QAAE,OAAO,KAAK,CAAC;IAClD,OAAO,cAAc,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AACxC,CAAC"}