@cyanheads/pubmed-mcp-server 2.1.2 → 2.1.4

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 (3) hide show
  1. package/README.md +18 -1
  2. package/dist/index.js +10 -3
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  <div align="center">
9
9
 
10
- [![npm](https://img.shields.io/npm/v/@cyanheads/pubmed-mcp-server?style=flat-square&logo=npm&logoColor=white)](https://www.npmjs.com/package/@cyanheads/pubmed-mcp-server) [![Version](https://img.shields.io/badge/Version-2.1.2-blue.svg?style=flat-square)](./CHANGELOG.md) [![MCP Spec](https://img.shields.io/badge/MCP%20Spec-2025--11--25-8A2BE2.svg?style=flat-square)](https://modelcontextprotocol.io/specification/2025-11-25)
10
+ [![npm](https://img.shields.io/npm/v/@cyanheads/pubmed-mcp-server?style=flat-square&logo=npm&logoColor=white)](https://www.npmjs.com/package/@cyanheads/pubmed-mcp-server) [![Version](https://img.shields.io/badge/Version-2.1.4-blue.svg?style=flat-square)](./CHANGELOG.md) [![MCP Spec](https://img.shields.io/badge/MCP%20Spec-2025--11--25-8A2BE2.svg?style=flat-square)](https://modelcontextprotocol.io/specification/2025-11-25)
11
11
 
12
12
  [![MCP SDK](https://img.shields.io/badge/MCP%20SDK-^1.27.1-green.svg?style=flat-square)](https://modelcontextprotocol.io/) [![License](https://img.shields.io/badge/License-Apache%202.0-orange.svg?style=flat-square)](./LICENSE) [![Status](https://img.shields.io/badge/Status-Stable-brightgreen.svg?style=flat-square)](https://github.com/cyanheads/pubmed-mcp-server/issues) [![TypeScript](https://img.shields.io/badge/TypeScript-^5.9.3-3178C6.svg?style=flat-square)](https://www.typescriptlang.org/) [![Bun](https://img.shields.io/badge/Bun-v1.3.2-blueviolet.svg?style=flat-square)](https://bun.sh/)
13
13
 
@@ -136,6 +136,23 @@ PubMed-specific:
136
136
 
137
137
  ## Getting started
138
138
 
139
+ ### Public Hosted Instance
140
+
141
+ A public instance is available at `https://pubmed.caseyjhand.com/mcp` — no installation required. Point any MCP client at it via Streamable HTTP:
142
+
143
+ ```json
144
+ {
145
+ "mcpServers": {
146
+ "pubmed": {
147
+ "type": "streamable-http",
148
+ "url": "https://pubmed.caseyjhand.com/mcp"
149
+ }
150
+ }
151
+ }
152
+ ```
153
+
154
+ ### Self-Hosted / Local
155
+
139
156
  Add the following to your MCP client configuration file.
140
157
 
141
158
  ```json
package/dist/index.js CHANGED
@@ -135503,7 +135503,7 @@ config(en_default());
135503
135503
  // package.json
135504
135504
  var package_default = {
135505
135505
  name: "@cyanheads/pubmed-mcp-server",
135506
- version: "2.1.2",
135506
+ version: "2.1.4",
135507
135507
  mcpName: "io.github.cyanheads/pubmed-mcp-server",
135508
135508
  description: "MCP server for PubMed/NCBI E-utilities integration. Search articles, fetch metadata, generate citations, explore MeSH terms, and discover related research.",
135509
135509
  main: "dist/index.js",
@@ -152166,6 +152166,7 @@ var ArticleSchema2 = exports_external.object({
152166
152166
  pmid: exports_external.string().optional().describe("PubMed ID"),
152167
152167
  title: exports_external.string().optional().describe("Article title"),
152168
152168
  abstractText: exports_external.string().optional().describe("Abstract text"),
152169
+ affiliations: exports_external.array(exports_external.string()).optional().describe("Deduplicated author affiliations"),
152169
152170
  authors: exports_external.array(exports_external.any()).optional().describe("Author list"),
152170
152171
  journalInfo: exports_external.any().optional().describe("Journal information"),
152171
152172
  doi: exports_external.string().optional().describe("Digital Object Identifier"),
@@ -152175,7 +152176,13 @@ var ArticleSchema2 = exports_external.object({
152175
152176
  publicationTypes: exports_external.array(exports_external.string()).optional().describe("Publication types"),
152176
152177
  keywords: exports_external.array(exports_external.string()).optional().describe("Keywords"),
152177
152178
  meshTerms: exports_external.array(exports_external.any()).optional().describe("MeSH terms"),
152178
- grantList: exports_external.array(exports_external.any()).optional().describe("Grant information")
152179
+ grantList: exports_external.array(exports_external.any()).optional().describe("Grant information"),
152180
+ articleDates: exports_external.array(exports_external.object({
152181
+ dateType: exports_external.string().optional().describe('Date type (e.g. "Electronic", "received")'),
152182
+ year: exports_external.string().optional().describe("Year"),
152183
+ month: exports_external.string().optional().describe("Month"),
152184
+ day: exports_external.string().optional().describe("Day")
152185
+ })).optional().describe("Article dates (e.g. electronic publication, received, accepted)")
152179
152186
  });
152180
152187
  var OutputSchema4 = exports_external.object({
152181
152188
  articles: exports_external.array(ArticleSchema2).describe("Parsed articles"),
@@ -162136,7 +162143,7 @@ var sdk = null;
162136
162143
  var isOtelInitialized = false;
162137
162144
  var initializationPromise = null;
162138
162145
  function canUseNodeSDK() {
162139
- return runtimeCaps.isNode && !runtimeCaps.isBun && typeof process?.versions?.node === "string" && typeof process.env === "object";
162146
+ return runtimeCaps.isNode && typeof process?.versions?.node === "string" && typeof process.env === "object";
162140
162147
  }
162141
162148
  function detectCloudResource() {
162142
162149
  const attrs = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyanheads/pubmed-mcp-server",
3
- "version": "2.1.2",
3
+ "version": "2.1.4",
4
4
  "mcpName": "io.github.cyanheads/pubmed-mcp-server",
5
5
  "description": "MCP server for PubMed/NCBI E-utilities integration. Search articles, fetch metadata, generate citations, explore MeSH terms, and discover related research.",
6
6
  "main": "dist/index.js",