@cyanheads/biorxiv-mcp-server 0.4.3 → 0.5.0
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/AGENTS.md +20 -7
- package/CLAUDE.md +20 -7
- package/Dockerfile +14 -7
- package/README.md +22 -93
- package/changelog/0.5.x/0.5.0.md +23 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/mcp-server/tools/definitions/biorxiv-search-preprints.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/biorxiv-search-preprints.tool.js +1 -1
- package/dist/mcp-server/tools/definitions/biorxiv-search-preprints.tool.js.map +1 -1
- package/package.json +4 -3
- package/server.json +3 -3
- package/skills/biorxiv-guide/SKILL.md +67 -0
package/AGENTS.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Agent Protocol
|
|
2
2
|
|
|
3
3
|
**Server:** biorxiv-mcp-server
|
|
4
|
-
**Version:** 0.
|
|
5
|
-
**Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.13.
|
|
4
|
+
**Version:** 0.5.0
|
|
5
|
+
**Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.13.18`
|
|
6
6
|
**Engines:** Bun ≥1.4.0, Node ≥24.0.0
|
|
7
|
-
**MCP SDK:** `@modelcontextprotocol/server` ^2.
|
|
7
|
+
**MCP SDK:** `@modelcontextprotocol/server` ^2.4.0
|
|
8
8
|
**Zod:** ^4.6.7
|
|
9
9
|
|
|
10
10
|
> **Read the framework docs first:** `node_modules/@cyanheads/mcp-ts-core/CLAUDE.md` contains the full API reference — builders, Context, error codes, exports, patterns. This file covers server-specific conventions only.
|
|
@@ -251,9 +251,18 @@ src/
|
|
|
251
251
|
|
|
252
252
|
## Skills
|
|
253
253
|
|
|
254
|
-
|
|
254
|
+
Two skill trees live at the project root, written for different readers:
|
|
255
255
|
|
|
256
|
-
|
|
256
|
+
| Tree | For | Written by |
|
|
257
|
+
|:-----|:----|:-----------|
|
|
258
|
+
| `framework-skills/` | The agent developing this server — framework skills (`metadata.audience: external`) plus any development-time skills of the server's own | `init` and the `maintenance` sync (framework skills); you (your own) |
|
|
259
|
+
| `skills/` | The agents that install the server and call its tools — tool chains, identifier sources, gates | You, deliberately, with the `add-skill` skill. Absent by default; usually none is needed |
|
|
260
|
+
|
|
261
|
+
Development skills are modular instructions. Read them directly when a task matches — e.g., `framework-skills/add-tool/SKILL.md` when adding a tool. `bun run list-skills` prints the full registry. Their directory is deliberately not `skills/`: Claude Code and Codex auto-load a plugin's root `skills/`, so a server that ships `.claude-plugin/` or `.codex-plugin/` would hand them to every agent that installs it.
|
|
262
|
+
|
|
263
|
+
A published skill in root `skills/` reaches plugin installs and the `.mcpb` bundle as-is, ships in the npm package and the Docker image, and reaches MCP clients when the server opts in with `createApp({ skills: 'skills' })`. `lint:packaging` validates the tree.
|
|
264
|
+
|
|
265
|
+
**Agent skill directory:** Copy `framework-skills/` into the directory your agent discovers (Claude Code: `.claude/skills/`, others: equivalent). Skills then load as context without referencing `framework-skills/` paths. After framework updates, run the `maintenance` skill — Phase B re-syncs the agent directory.
|
|
257
266
|
|
|
258
267
|
Available skills:
|
|
259
268
|
|
|
@@ -265,6 +274,7 @@ Available skills:
|
|
|
265
274
|
| `add-app-tool` | Scaffold an MCP App tool + paired UI resource |
|
|
266
275
|
| `add-resource` | Scaffold a new resource definition |
|
|
267
276
|
| `add-prompt` | Scaffold a new prompt definition |
|
|
277
|
+
| `add-skill` | Author a skill the server publishes in root `skills/` for the agents that use it — when one earns its place, structure, validation, delivery |
|
|
268
278
|
| `add-service` | Scaffold a new service integration |
|
|
269
279
|
| `add-test` | Scaffold test file for a tool, resource, or service |
|
|
270
280
|
| `field-test` | Exercise tools/resources/prompts with real inputs, verify behavior, report issues |
|
|
@@ -312,7 +322,7 @@ When you complete a skill's checklist, check the boxes and add a completion time
|
|
|
312
322
|
| `bun run audit:fix` | `bun audit fix` — upgrade vulnerable packages to the lowest safe version within existing ranges (`--dry-run` previews, `--latest` rewrites ranges). First response when `devcheck` flags a transitive advisory; then `bun update <name>`, then `bun dedupe` |
|
|
313
323
|
| `bun run audit:refresh` | Delete `bun.lock` and reinstall. Last resort after `audit:fix`, `bun update <name>`, and `bun dedupe` — re-resolves every ranged dep (the framework pin included) and rewrites the lockfile as `lockfileVersion: 2` |
|
|
314
324
|
| `bun run lint:mcp` | Run the MCP definition linter standalone (rule catalog: `api-linter` skill) |
|
|
315
|
-
| `bun run lint:packaging` | Packaging surface checks — `server.json`/`manifest.json` env-var parity (run by devcheck) |
|
|
325
|
+
| `bun run lint:packaging` | Packaging surface checks — `server.json`/`manifest.json` env-var parity, `.mcpbignore` coverage, plugin manifests, the published `skills/` tree (run by devcheck) |
|
|
316
326
|
| `bun run list-skills` | Print the skill registry |
|
|
317
327
|
| `bun run tree` | Generate directory structure doc |
|
|
318
328
|
| `bun run format` | Auto-fix formatting (safe fixes only) |
|
|
@@ -331,7 +341,7 @@ When you complete a skill's checklist, check the boxes and add a completion time
|
|
|
331
341
|
|
|
332
342
|
## Bundling
|
|
333
343
|
|
|
334
|
-
`bun run bundle` produces a `.mcpb` extension bundle for one-click install in Claude Desktop. The pack step is followed by `scripts/clean-mcpb.ts`, which prunes dev dependencies (`mcpb clean`) and strips
|
|
344
|
+
`bun run bundle` produces a `.mcpb` extension bundle for one-click install in Claude Desktop. `mcpb pack` reads `.mcpbignore`, not `.gitignore`, so every root path the bundle must not ship — source, tests, docs, caches, logs, agent docs, plugin manifests, gitignored local files — needs a root-anchored line there (`/docs/`, never `docs/`, which also strips `node_modules/*/docs/`); `lint:packaging` names each missing or unanchored line. Root `skills/` ships on purpose. The pack step is followed by `scripts/clean-mcpb.ts`, which prunes dev dependencies (`mcpb clean`) and strips four classes of `node_modules/**` content that root-anchored `.mcpbignore` patterns cannot reach: dependency-shipped agent docs (`framework-skills/`, `skills/`, `.claude/`, `.agents/` at a package root, and `SKILL.md` — a `skills/` deeper in a package, like the MCP SDK's `dist/ext/skills/`, is runtime code and ships); platform-specific native bindings, which would otherwise lock the bundle to the platform it was packed on; node-gyp build output beside a `binding.gyp`, which records the packing machine's paths — compiled `*.node` addons stay; and build-only package files — the framework's `changelog/`, `scripts/`, `templates/`, `CLAUDE.md`, `AGENTS.md`, and config bases. MCPB is stdio-only — HTTP deployments are unaffected. Delete `manifest.json` and `.mcpbignore` to opt out; `lint:packaging` skips cleanly.
|
|
335
345
|
|
|
336
346
|
**Adding an env var requires both files:** `server.json` (registry discovery, `environmentVariables[]`) and `manifest.json` (bundle install UX, `mcp_config.env` + `user_config`). `lint:packaging` (run by `devcheck`) verifies the env var names match, that every `user_config` option is wired into `mcp_config.env` as `"X": "${user_config.X}"` (the host substitutes nothing else — `"${X}"` reaches the server as that literal string), and that an optional string option carries `"default": ""`.
|
|
337
347
|
|
|
@@ -404,7 +414,10 @@ import { getEuropePmcService } from '@/services/europe-pmc/europe-pmc-service.js
|
|
|
404
414
|
- [ ] `biorxiv_list_recent` and `biorxiv_list_published_versions` with `server="both"` surface per-server pagination state, not a merged cursor
|
|
405
415
|
- [ ] Registered in `createApp()` arrays (directly or via barrel exports)
|
|
406
416
|
- [ ] Tests use `createMockContext()` from `@cyanheads/mcp-ts-core/testing`
|
|
417
|
+
- [ ] `plugin.json` + `mcp.json` (Agent Plugins 1.0.0 — read by Codex, Cursor, GitHub Copilot, VS Code, Kiro) populated — `plugin.json` `name` = the unscoped repo name (lowercase `a-z`, `0-9`, `-`, `.` only); `version`, `description`, `author`, `homepage`, `repository`, `license`, `keywords` from `package.json`; no other top-level field, `extensions` included. `mcp.json` holds one `"type": "stdio"` entry keyed by the unscoped name, `npx -y <full package name>`, and the same fixed `env` as `.codex-plugin/mcp.json`. Neither file carries a user-supplied variable (no `""`, no `${…}` besides `${PLUGIN_ROOT}`/`${PLUGIN_DATA}`): keys reach Codex through `.codex-plugin/mcp.json` `env_vars`, which works only while `.codex-plugin/plugin.json` keeps `"mcpServers": "./.codex-plugin/mcp.json"`
|
|
407
418
|
- [ ] `.codex-plugin/plugin.json` populated — `name`, `version`, `description`, `repository`, `license` from `package.json`; `interface.displayName` = the unscoped repo name (never the npm scope — `lint:packaging` enforces this); `interface.shortDescription` from `package.json` description
|
|
408
419
|
- [ ] `.codex-plugin/mcp.json` updated — server name key is the unscoped repo name; every user-supplied variable (API key, contact email, instance URL) is listed in `env_vars` so Codex forwards it from the user's environment. Never write `"KEY": ""` into `env` — an empty value replaces the user's exported key and is read as unset
|
|
409
420
|
- [ ] `.claude-plugin/plugin.json` populated — `name`, `version`, `description`, `author`, `repository`, `license`, `keywords` from `package.json`; inline `mcpServers` entry keyed by the unscoped repo name. Every user-supplied variable is declared under `userConfig` (`type`, `title`, `description`; `sensitive: true` for keys and tokens; `required: true` or `default: ""`) and referenced from `env` as `"KEY": "${user_config.<option>}"` — mirror the `user_config` block in `manifest.json`. Never write `"KEY": ""` into `env`
|
|
421
|
+
- [ ] Any new root dev path has a root-anchored line in `.mcpbignore`; `bun run bundle` and `lint:packaging` pass
|
|
422
|
+
- [ ] If the server publishes a skill in root `skills/`: `lint:packaging` passes, and `field-test` verified every gate and identifier claim in it against live tool behavior
|
|
410
423
|
- [ ] `bun run devcheck` passes
|
package/CLAUDE.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Agent Protocol
|
|
2
2
|
|
|
3
3
|
**Server:** biorxiv-mcp-server
|
|
4
|
-
**Version:** 0.
|
|
5
|
-
**Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.13.
|
|
4
|
+
**Version:** 0.5.0
|
|
5
|
+
**Framework:** [@cyanheads/mcp-ts-core](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) `^0.13.18`
|
|
6
6
|
**Engines:** Bun ≥1.4.0, Node ≥24.0.0
|
|
7
|
-
**MCP SDK:** `@modelcontextprotocol/server` ^2.
|
|
7
|
+
**MCP SDK:** `@modelcontextprotocol/server` ^2.4.0
|
|
8
8
|
**Zod:** ^4.6.7
|
|
9
9
|
|
|
10
10
|
> **Read the framework docs first:** `node_modules/@cyanheads/mcp-ts-core/CLAUDE.md` contains the full API reference — builders, Context, error codes, exports, patterns. This file covers server-specific conventions only.
|
|
@@ -251,9 +251,18 @@ src/
|
|
|
251
251
|
|
|
252
252
|
## Skills
|
|
253
253
|
|
|
254
|
-
|
|
254
|
+
Two skill trees live at the project root, written for different readers:
|
|
255
255
|
|
|
256
|
-
|
|
256
|
+
| Tree | For | Written by |
|
|
257
|
+
|:-----|:----|:-----------|
|
|
258
|
+
| `framework-skills/` | The agent developing this server — framework skills (`metadata.audience: external`) plus any development-time skills of the server's own | `init` and the `maintenance` sync (framework skills); you (your own) |
|
|
259
|
+
| `skills/` | The agents that install the server and call its tools — tool chains, identifier sources, gates | You, deliberately, with the `add-skill` skill. Absent by default; usually none is needed |
|
|
260
|
+
|
|
261
|
+
Development skills are modular instructions. Read them directly when a task matches — e.g., `framework-skills/add-tool/SKILL.md` when adding a tool. `bun run list-skills` prints the full registry. Their directory is deliberately not `skills/`: Claude Code and Codex auto-load a plugin's root `skills/`, so a server that ships `.claude-plugin/` or `.codex-plugin/` would hand them to every agent that installs it.
|
|
262
|
+
|
|
263
|
+
A published skill in root `skills/` reaches plugin installs and the `.mcpb` bundle as-is, ships in the npm package and the Docker image, and reaches MCP clients when the server opts in with `createApp({ skills: 'skills' })`. `lint:packaging` validates the tree.
|
|
264
|
+
|
|
265
|
+
**Agent skill directory:** Copy `framework-skills/` into the directory your agent discovers (Claude Code: `.claude/skills/`, others: equivalent). Skills then load as context without referencing `framework-skills/` paths. After framework updates, run the `maintenance` skill — Phase B re-syncs the agent directory.
|
|
257
266
|
|
|
258
267
|
Available skills:
|
|
259
268
|
|
|
@@ -265,6 +274,7 @@ Available skills:
|
|
|
265
274
|
| `add-app-tool` | Scaffold an MCP App tool + paired UI resource |
|
|
266
275
|
| `add-resource` | Scaffold a new resource definition |
|
|
267
276
|
| `add-prompt` | Scaffold a new prompt definition |
|
|
277
|
+
| `add-skill` | Author a skill the server publishes in root `skills/` for the agents that use it — when one earns its place, structure, validation, delivery |
|
|
268
278
|
| `add-service` | Scaffold a new service integration |
|
|
269
279
|
| `add-test` | Scaffold test file for a tool, resource, or service |
|
|
270
280
|
| `field-test` | Exercise tools/resources/prompts with real inputs, verify behavior, report issues |
|
|
@@ -312,7 +322,7 @@ When you complete a skill's checklist, check the boxes and add a completion time
|
|
|
312
322
|
| `bun run audit:fix` | `bun audit fix` — upgrade vulnerable packages to the lowest safe version within existing ranges (`--dry-run` previews, `--latest` rewrites ranges). First response when `devcheck` flags a transitive advisory; then `bun update <name>`, then `bun dedupe` |
|
|
313
323
|
| `bun run audit:refresh` | Delete `bun.lock` and reinstall. Last resort after `audit:fix`, `bun update <name>`, and `bun dedupe` — re-resolves every ranged dep (the framework pin included) and rewrites the lockfile as `lockfileVersion: 2` |
|
|
314
324
|
| `bun run lint:mcp` | Run the MCP definition linter standalone (rule catalog: `api-linter` skill) |
|
|
315
|
-
| `bun run lint:packaging` | Packaging surface checks — `server.json`/`manifest.json` env-var parity (run by devcheck) |
|
|
325
|
+
| `bun run lint:packaging` | Packaging surface checks — `server.json`/`manifest.json` env-var parity, `.mcpbignore` coverage, plugin manifests, the published `skills/` tree (run by devcheck) |
|
|
316
326
|
| `bun run list-skills` | Print the skill registry |
|
|
317
327
|
| `bun run tree` | Generate directory structure doc |
|
|
318
328
|
| `bun run format` | Auto-fix formatting (safe fixes only) |
|
|
@@ -331,7 +341,7 @@ When you complete a skill's checklist, check the boxes and add a completion time
|
|
|
331
341
|
|
|
332
342
|
## Bundling
|
|
333
343
|
|
|
334
|
-
`bun run bundle` produces a `.mcpb` extension bundle for one-click install in Claude Desktop. The pack step is followed by `scripts/clean-mcpb.ts`, which prunes dev dependencies (`mcpb clean`) and strips
|
|
344
|
+
`bun run bundle` produces a `.mcpb` extension bundle for one-click install in Claude Desktop. `mcpb pack` reads `.mcpbignore`, not `.gitignore`, so every root path the bundle must not ship — source, tests, docs, caches, logs, agent docs, plugin manifests, gitignored local files — needs a root-anchored line there (`/docs/`, never `docs/`, which also strips `node_modules/*/docs/`); `lint:packaging` names each missing or unanchored line. Root `skills/` ships on purpose. The pack step is followed by `scripts/clean-mcpb.ts`, which prunes dev dependencies (`mcpb clean`) and strips four classes of `node_modules/**` content that root-anchored `.mcpbignore` patterns cannot reach: dependency-shipped agent docs (`framework-skills/`, `skills/`, `.claude/`, `.agents/` at a package root, and `SKILL.md` — a `skills/` deeper in a package, like the MCP SDK's `dist/ext/skills/`, is runtime code and ships); platform-specific native bindings, which would otherwise lock the bundle to the platform it was packed on; node-gyp build output beside a `binding.gyp`, which records the packing machine's paths — compiled `*.node` addons stay; and build-only package files — the framework's `changelog/`, `scripts/`, `templates/`, `CLAUDE.md`, `AGENTS.md`, and config bases. MCPB is stdio-only — HTTP deployments are unaffected. Delete `manifest.json` and `.mcpbignore` to opt out; `lint:packaging` skips cleanly.
|
|
335
345
|
|
|
336
346
|
**Adding an env var requires both files:** `server.json` (registry discovery, `environmentVariables[]`) and `manifest.json` (bundle install UX, `mcp_config.env` + `user_config`). `lint:packaging` (run by `devcheck`) verifies the env var names match, that every `user_config` option is wired into `mcp_config.env` as `"X": "${user_config.X}"` (the host substitutes nothing else — `"${X}"` reaches the server as that literal string), and that an optional string option carries `"default": ""`.
|
|
337
347
|
|
|
@@ -404,7 +414,10 @@ import { getEuropePmcService } from '@/services/europe-pmc/europe-pmc-service.js
|
|
|
404
414
|
- [ ] `biorxiv_list_recent` and `biorxiv_list_published_versions` with `server="both"` surface per-server pagination state, not a merged cursor
|
|
405
415
|
- [ ] Registered in `createApp()` arrays (directly or via barrel exports)
|
|
406
416
|
- [ ] Tests use `createMockContext()` from `@cyanheads/mcp-ts-core/testing`
|
|
417
|
+
- [ ] `plugin.json` + `mcp.json` (Agent Plugins 1.0.0 — read by Codex, Cursor, GitHub Copilot, VS Code, Kiro) populated — `plugin.json` `name` = the unscoped repo name (lowercase `a-z`, `0-9`, `-`, `.` only); `version`, `description`, `author`, `homepage`, `repository`, `license`, `keywords` from `package.json`; no other top-level field, `extensions` included. `mcp.json` holds one `"type": "stdio"` entry keyed by the unscoped name, `npx -y <full package name>`, and the same fixed `env` as `.codex-plugin/mcp.json`. Neither file carries a user-supplied variable (no `""`, no `${…}` besides `${PLUGIN_ROOT}`/`${PLUGIN_DATA}`): keys reach Codex through `.codex-plugin/mcp.json` `env_vars`, which works only while `.codex-plugin/plugin.json` keeps `"mcpServers": "./.codex-plugin/mcp.json"`
|
|
407
418
|
- [ ] `.codex-plugin/plugin.json` populated — `name`, `version`, `description`, `repository`, `license` from `package.json`; `interface.displayName` = the unscoped repo name (never the npm scope — `lint:packaging` enforces this); `interface.shortDescription` from `package.json` description
|
|
408
419
|
- [ ] `.codex-plugin/mcp.json` updated — server name key is the unscoped repo name; every user-supplied variable (API key, contact email, instance URL) is listed in `env_vars` so Codex forwards it from the user's environment. Never write `"KEY": ""` into `env` — an empty value replaces the user's exported key and is read as unset
|
|
409
420
|
- [ ] `.claude-plugin/plugin.json` populated — `name`, `version`, `description`, `author`, `repository`, `license`, `keywords` from `package.json`; inline `mcpServers` entry keyed by the unscoped repo name. Every user-supplied variable is declared under `userConfig` (`type`, `title`, `description`; `sensitive: true` for keys and tokens; `required: true` or `default: ""`) and referenced from `env` as `"KEY": "${user_config.<option>}"` — mirror the `user_config` block in `manifest.json`. Never write `"KEY": ""` into `env`
|
|
421
|
+
- [ ] Any new root dev path has a root-anchored line in `.mcpbignore`; `bun run bundle` and `lint:packaging` pass
|
|
422
|
+
- [ ] If the server publishes a skill in root `skills/`: `lint:packaging` passes, and `field-test` verified every gate and identifier claim in it against live tool behavior
|
|
410
423
|
- [ ] `bun run devcheck` passes
|
package/Dockerfile
CHANGED
|
@@ -29,6 +29,11 @@ RUN --mount=type=cache,target=/root/.bun/install/cache \
|
|
|
29
29
|
# Copy the rest of the source code
|
|
30
30
|
COPY . .
|
|
31
31
|
|
|
32
|
+
# The skills a server publishes (`createApp({ skills: 'skills' })`) are read at
|
|
33
|
+
# runtime from the application root. Created when the project has none, so the
|
|
34
|
+
# production stage's copy below holds with or without one.
|
|
35
|
+
RUN mkdir -p skills
|
|
36
|
+
|
|
32
37
|
# Build the application
|
|
33
38
|
RUN bun run build
|
|
34
39
|
|
|
@@ -40,8 +45,8 @@ RUN bun run build
|
|
|
40
45
|
# here can run JavaScript — bunfig.toml's security scanner runs as a Bun
|
|
41
46
|
# program, and so do the OTel and musl-prune scripts — so the stage runs on
|
|
42
47
|
# $BUILDPLATFORM and cross-installs with `--os`/`--cpu`, which pick each
|
|
43
|
-
# platform-specific optional dependency (native bindings
|
|
44
|
-
# `node_modules` leaves this stage.
|
|
48
|
+
# platform-specific optional dependency (native bindings such as DuckDB's) for
|
|
49
|
+
# the target. Only `node_modules` leaves this stage.
|
|
45
50
|
#
|
|
46
51
|
# A clean image rather than `FROM build`: the build stage's node_modules holds
|
|
47
52
|
# devDependencies.
|
|
@@ -94,10 +99,11 @@ RUN --mount=type=cache,target=/root/.bun/install/cache \
|
|
|
94
99
|
fi
|
|
95
100
|
|
|
96
101
|
# `--os`/`--cpu` have no libc counterpart, so a native dependency published in
|
|
97
|
-
# glibc and musl variants installs both. The
|
|
98
|
-
# and never loads the musl copy; the script
|
|
99
|
-
# `libc` admits only musl. It follows every
|
|
100
|
-
# `bun install` restores what it removes.
|
|
102
|
+
# glibc and musl variants (DuckDB's bindings, for one) installs both. The
|
|
103
|
+
# runtime image is Debian (glibc) and never loads the musl copy; the script
|
|
104
|
+
# deletes every package whose own `libc` admits only musl. It follows every
|
|
105
|
+
# install, since a later `bun install` restores what it removes. A server on a
|
|
106
|
+
# musl (Alpine) runtime image drops these two lines.
|
|
101
107
|
COPY scripts/prune-musl-packages.ts ./scripts/
|
|
102
108
|
RUN bun scripts/prune-musl-packages.ts
|
|
103
109
|
|
|
@@ -122,7 +128,7 @@ ENV NODE_ENV=production
|
|
|
122
128
|
|
|
123
129
|
# OCI image metadata (https://github.com/opencontainers/image-spec/blob/main/annotations.md)
|
|
124
130
|
ARG APP_VERSION
|
|
125
|
-
LABEL org.opencontainers.image.title="
|
|
131
|
+
LABEL org.opencontainers.image.title="biorxiv-mcp-server"
|
|
126
132
|
LABEL org.opencontainers.image.description="Search and retrieve bioRxiv and medRxiv preprints — by DOI, date interval, or keyword — via MCP. STDIO or Streamable HTTP."
|
|
127
133
|
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
|
128
134
|
LABEL org.opencontainers.image.version="${APP_VERSION}"
|
|
@@ -135,6 +141,7 @@ COPY --from=deps /usr/src/app/node_modules ./node_modules
|
|
|
135
141
|
|
|
136
142
|
# Copy the compiled application code from the build stage
|
|
137
143
|
COPY --from=build /usr/src/app/dist ./dist
|
|
144
|
+
COPY --from=build /usr/src/app/skills ./skills
|
|
138
145
|
|
|
139
146
|
# The 'oven/bun' image already provides a non-root user named 'bun'.
|
|
140
147
|
# We will use this existing user for enhanced security.
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
<div align="center">
|
|
9
9
|
|
|
10
|
-
[](./CHANGELOG.md) [](./LICENSE) [](https://github.com/users/cyanheads/packages/container/package/biorxiv-mcp-server) [](https://modelcontextprotocol.io/) [](https://www.npmjs.com/package/@cyanheads/biorxiv-mcp-server) [](https://www.typescriptlang.org/) [](https://bun.sh/)
|
|
11
11
|
|
|
12
12
|
</div>
|
|
13
13
|
|
|
@@ -123,112 +123,32 @@ Agent-friendly output:
|
|
|
123
123
|
|
|
124
124
|
## Getting started
|
|
125
125
|
|
|
126
|
-
|
|
126
|
+
Connect to the hosted instance, no install:
|
|
127
127
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
```json
|
|
131
|
-
{
|
|
132
|
-
"mcpServers": {
|
|
133
|
-
"biorxiv-mcp-server": {
|
|
134
|
-
"type": "streamable-http",
|
|
135
|
-
"url": "https://biorxiv.caseyjhand.com/mcp"
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
128
|
+
```sh
|
|
129
|
+
claude mcp add --transport http biorxiv-mcp-server https://biorxiv.caseyjhand.com/mcp
|
|
139
130
|
```
|
|
140
131
|
|
|
141
|
-
|
|
132
|
+
Or run it locally:
|
|
142
133
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
```json
|
|
146
|
-
{
|
|
147
|
-
"mcpServers": {
|
|
148
|
-
"biorxiv-mcp-server": {
|
|
149
|
-
"type": "stdio",
|
|
150
|
-
"command": "bunx",
|
|
151
|
-
"args": ["@cyanheads/biorxiv-mcp-server@latest"],
|
|
152
|
-
"env": {
|
|
153
|
-
"MCP_TRANSPORT_TYPE": "stdio",
|
|
154
|
-
"MCP_LOG_LEVEL": "info",
|
|
155
|
-
"BIORXIV_MAILTO": "your@email.com"
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
134
|
+
```sh
|
|
135
|
+
claude mcp add biorxiv-mcp-server -- npx -y @cyanheads/biorxiv-mcp-server
|
|
160
136
|
```
|
|
161
137
|
|
|
162
|
-
|
|
138
|
+
For other clients, add this to the MCP config file:
|
|
163
139
|
|
|
164
140
|
```json
|
|
165
141
|
{
|
|
166
142
|
"mcpServers": {
|
|
167
143
|
"biorxiv-mcp-server": {
|
|
168
|
-
"type": "stdio",
|
|
169
144
|
"command": "npx",
|
|
170
|
-
"args": ["-y", "@cyanheads/biorxiv-mcp-server
|
|
171
|
-
"env": {
|
|
172
|
-
"MCP_TRANSPORT_TYPE": "stdio",
|
|
173
|
-
"MCP_LOG_LEVEL": "info",
|
|
174
|
-
"BIORXIV_MAILTO": "your@email.com"
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
```
|
|
180
|
-
|
|
181
|
-
Or with Docker:
|
|
182
|
-
|
|
183
|
-
```json
|
|
184
|
-
{
|
|
185
|
-
"mcpServers": {
|
|
186
|
-
"biorxiv-mcp-server": {
|
|
187
|
-
"type": "stdio",
|
|
188
|
-
"command": "docker",
|
|
189
|
-
"args": ["run", "-i", "--rm", "-e", "MCP_TRANSPORT_TYPE=stdio", "-e", "BIORXIV_MAILTO=your@email.com", "ghcr.io/cyanheads/biorxiv-mcp-server:latest"]
|
|
145
|
+
"args": ["-y", "@cyanheads/biorxiv-mcp-server"]
|
|
190
146
|
}
|
|
191
147
|
}
|
|
192
148
|
}
|
|
193
149
|
```
|
|
194
150
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
```sh
|
|
198
|
-
MCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 BIORXIV_MAILTO=your@email.com bun run start:http
|
|
199
|
-
# Server listens at http://localhost:3010/mcp
|
|
200
|
-
```
|
|
201
|
-
|
|
202
|
-
### Prerequisites
|
|
203
|
-
|
|
204
|
-
- [Bun v1.4.0](https://bun.sh/) or higher (or Node.js v24+).
|
|
205
|
-
|
|
206
|
-
### Installation
|
|
207
|
-
|
|
208
|
-
1. **Clone the repository:**
|
|
209
|
-
|
|
210
|
-
```sh
|
|
211
|
-
git clone https://github.com/cyanheads/biorxiv-mcp-server.git
|
|
212
|
-
```
|
|
213
|
-
|
|
214
|
-
2. **Navigate into the directory:**
|
|
215
|
-
|
|
216
|
-
```sh
|
|
217
|
-
cd biorxiv-mcp-server
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
3. **Install dependencies:**
|
|
221
|
-
|
|
222
|
-
```sh
|
|
223
|
-
bun install
|
|
224
|
-
```
|
|
225
|
-
|
|
226
|
-
4. **Configure environment:**
|
|
227
|
-
|
|
228
|
-
```sh
|
|
229
|
-
cp .env.example .env
|
|
230
|
-
# optionally set BIORXIV_MAILTO for polite API access
|
|
231
|
-
```
|
|
151
|
+
A contact email in `BIORXIV_MAILTO` (`-e BIORXIV_MAILTO=you@example.com`, or an `env` entry) identifies your requests in the `User-Agent` header, as the Cold Spring Harbor Lab API guidelines ask. For Docker or a source build, see [Running the server](#running-the-server).
|
|
232
152
|
|
|
233
153
|
## Configuration
|
|
234
154
|
|
|
@@ -256,6 +176,16 @@ See [`.env.example`](./.env.example) for the full list of optional overrides.
|
|
|
256
176
|
|
|
257
177
|
### Local development
|
|
258
178
|
|
|
179
|
+
Requires [Bun v1.4.0](https://bun.sh/) or higher (or Node.js v24+).
|
|
180
|
+
|
|
181
|
+
- **Clone and install:**
|
|
182
|
+
|
|
183
|
+
```sh
|
|
184
|
+
git clone https://github.com/cyanheads/biorxiv-mcp-server.git
|
|
185
|
+
cd biorxiv-mcp-server && bun install
|
|
186
|
+
cp .env.example .env # optionally set BIORXIV_MAILTO
|
|
187
|
+
```
|
|
188
|
+
|
|
259
189
|
- **Build and run:**
|
|
260
190
|
|
|
261
191
|
```sh
|
|
@@ -279,11 +209,10 @@ See [`.env.example`](./.env.example) for the full list of optional overrides.
|
|
|
279
209
|
### Docker
|
|
280
210
|
|
|
281
211
|
```sh
|
|
282
|
-
docker
|
|
283
|
-
docker run --rm -e BIORXIV_MAILTO=your@email.com -p 3010:3010 biorxiv-mcp-server
|
|
212
|
+
docker run --rm -e BIORXIV_MAILTO=your@email.com -p 3010:3010 ghcr.io/cyanheads/biorxiv-mcp-server:latest
|
|
284
213
|
```
|
|
285
214
|
|
|
286
|
-
The
|
|
215
|
+
The image defaults to HTTP transport, stateless session mode, and logs to `/var/log/biorxiv-mcp-server`; the server listens at `http://localhost:3010/mcp`. To run it over stdio from an MCP client, use `"command": "docker"` with `"args": ["run", "-i", "--rm", "-e", "MCP_TRANSPORT_TYPE=stdio", "ghcr.io/cyanheads/biorxiv-mcp-server:latest"]`. To build locally, `docker build -t biorxiv-mcp-server .`; OpenTelemetry peer dependencies are installed by default — build with `--build-arg OTEL_ENABLED=false` to omit them.
|
|
287
216
|
|
|
288
217
|
## Project structure
|
|
289
218
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
summary: "Publishes the biorxiv-guide Agent Skill over MCP as skill://biorxiv-guide/SKILL.md and moves to mcp-ts-core 0.13.18, with MCP SDK 2.4 and the fix for the per-request HTTP memory leak in 0.13.16."
|
|
3
|
+
breaking: false
|
|
4
|
+
security: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# 0.5.0 — 2026-10-28
|
|
8
|
+
|
|
9
|
+
## Added
|
|
10
|
+
|
|
11
|
+
- **`biorxiv-guide` Agent Skill**: a published skill covering search syntax, identifier origins, and counting gates for the `biorxiv_*` tools, served over MCP as the resource `skill://biorxiv-guide/SKILL.md` (with the `skill://{+path}` resource template) and shipped in the npm package, the Docker image, and the `.mcpb`.
|
|
12
|
+
|
|
13
|
+
## Changed
|
|
14
|
+
|
|
15
|
+
- `@cyanheads/mcp-ts-core` ^0.13.16 → ^0.13.18: MCP SDK 2.4 and the fix for the 0.13.16 per-request HTTP memory leak (0.13.17); `createApp({ skills })`, the Agent Plugins root `plugin.json` and `mcp.json`, and a `.mcpb` without the framework's build-only files (0.13.18)
|
|
16
|
+
- Bundle cleaner and packaging check keep the MCP SDK's skills runtime in the `.mcpb` (local port of cyanheads/mcp-ts-core#794)
|
|
17
|
+
- **`biorxiv_search_preprints` `server` description** now says it scopes the search itself as well as enrichment; the parameter already restricted the EuropePMC search to that server's preprints.
|
|
18
|
+
- **README Getting started** is the hosted `claude mcp add` command, a local `npx` command, and one client-config JSON; the MCP SDK badge reads `^2.4.0`.
|
|
19
|
+
- **`CLAUDE.md` and `AGENTS.md`** framework sections, `.github/SECURITY.md`, and the issue forms (one Environment table in the bug report) resynced from mcp-ts-core 0.13.18; `bunfig.toml` `minimumReleaseAge` is 1 day (was 3).
|
|
20
|
+
|
|
21
|
+
## Fixed
|
|
22
|
+
|
|
23
|
+
- **Per-request HTTP memory leak**: the HTTP transport no longer retains each request's signal; 0.13.16 leaked about 71 KiB per request, growing the heap under sustained traffic (mcp-ts-core 0.13.17, cyanheads/mcp-ts-core#786).
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* @fileoverview biorxiv-mcp-server entry point. Initializes BiorxivApiService,
|
|
4
4
|
* EuropePmcService, and BiorxivFullTextService in setup(), then registers all
|
|
5
|
-
* tool definitions with createApp().
|
|
5
|
+
* tool definitions and the published skills/ tree with createApp().
|
|
6
6
|
* @module index
|
|
7
7
|
*/
|
|
8
8
|
export {};
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* @fileoverview biorxiv-mcp-server entry point. Initializes BiorxivApiService,
|
|
4
4
|
* EuropePmcService, and BiorxivFullTextService in setup(), then registers all
|
|
5
|
-
* tool definitions with createApp().
|
|
5
|
+
* tool definitions and the published skills/ tree with createApp().
|
|
6
6
|
* @module index
|
|
7
7
|
*/
|
|
8
8
|
import { createApp } from '@cyanheads/mcp-ts-core';
|
|
@@ -16,6 +16,7 @@ await createApp({
|
|
|
16
16
|
tools: [...allToolDefinitions],
|
|
17
17
|
resources: [],
|
|
18
18
|
prompts: [],
|
|
19
|
+
skills: 'skills',
|
|
19
20
|
instructions: 'bioRxiv/medRxiv preprints, addressed by 10.1101/ or 10.64898/ DOI and searched across both servers by default. Find preprints with biorxiv_search_preprints (keyword or author, ranked by EuropePMC) or biorxiv_list_recent (a date interval, filtered by a category string from biorxiv_list_categories and, on bioRxiv, by a funder ROR ID). Resolve a DOI with biorxiv_get_preprint for metadata and revisions, biorxiv_get_fulltext for the article body as Markdown, and biorxiv_get_published_version for the journal crosswalk once a preprint has been published — it also takes the DOI of a journal article and returns the preprint it was posted as. biorxiv_list_published_versions lists those crosswalk records by journal publication date — the preprints that became journal articles in an interval, whenever they were posted, filtered on bioRxiv by the DOI prefix of a journal publisher.',
|
|
20
21
|
// Stateless HTTP: no tool gates on ctx.requestInput, so no session store is needed.
|
|
21
22
|
sessionMode: 'stateless',
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;;;GAKG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,yDAAyD,CAAC;AACrG,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAEnF,MAAM,SAAS,CAAC;IACd,IAAI,EAAE,oBAAoB;IAC1B,KAAK,EAAE,oBAAoB;IAC3B,KAAK,EAAE,CAAC,GAAG,kBAAkB,CAAC;IAC9B,SAAS,EAAE,EAAE;IACb,OAAO,EAAE,EAAE;IACX,YAAY,EACV,k3BAAk3B;IACp3B,oFAAoF;IACpF,WAAW,EAAE,WAAW;IACxB,0FAA0F;IAC1F,OAAO,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE;IAC/B,KAAK,CAAC,IAAI;QACR,qBAAqB,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACjD,oBAAoB,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,0BAA0B,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IACxD,CAAC;CACF,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;;;GAKG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,yDAAyD,CAAC;AACrG,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAEnF,MAAM,SAAS,CAAC;IACd,IAAI,EAAE,oBAAoB;IAC1B,KAAK,EAAE,oBAAoB;IAC3B,KAAK,EAAE,CAAC,GAAG,kBAAkB,CAAC;IAC9B,SAAS,EAAE,EAAE;IACb,OAAO,EAAE,EAAE;IACX,MAAM,EAAE,QAAQ;IAChB,YAAY,EACV,k3BAAk3B;IACp3B,oFAAoF;IACpF,WAAW,EAAE,WAAW;IACxB,0FAA0F;IAC1F,OAAO,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE;IAC/B,KAAK,CAAC,IAAI;QACR,qBAAqB,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACjD,oBAAoB,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,0BAA0B,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IACxD,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"biorxiv-search-preprints.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/biorxiv-search-preprints.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAY,MAAM,+BAA+B,CAAC;AA2F3E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"biorxiv-search-preprints.tool.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/biorxiv-search-preprints.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH,OAAO,EAAQ,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAY,MAAM,+BAA+B,CAAC;AA2F3E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuiBrC,CAAC"}
|
|
@@ -125,7 +125,7 @@ export const biorxivSearchPreprintsTool = tool('biorxiv_search_preprints', {
|
|
|
125
125
|
server: z
|
|
126
126
|
.enum(['biorxiv', 'medrxiv', 'both'])
|
|
127
127
|
.default('both')
|
|
128
|
-
.describe('Server scope for enrichment
|
|
128
|
+
.describe('Server scope for the search and its enrichment: "biorxiv" or "medrxiv" returns only that server\'s preprints; "both" searches both and checks each matching DOI on both servers.'),
|
|
129
129
|
date_from: blankAsUnset(z
|
|
130
130
|
.string()
|
|
131
131
|
.regex(/^\d{4}-\d{2}-\d{2}$/, 'Use YYYY-MM-DD, e.g. 2025-03-04')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"biorxiv-search-preprints.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/biorxiv-search-preprints.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAElF,OAAO,EACL,oBAAoB,EACpB,Y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QACvC,CAAC;QAED,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,eAAe,EAAE,UAAU;SAC5B,CAAC;IACJ,CAAC;IAED,MAAM,EAAE,CAAC,MAAM,EAAE,EAAE;QACjB,MAAM,KAAK,GAAa,EAAE,CAAC;QAE3B,KAAK,CAAC,IAAI,CAAC,KAAK,MAAM,CAAC,SAAS,CAAC,MAAM,YAAY,CAAC,CAAC;QACrD,IAAI,MAAM,CAAC,eAAe,EAAE,CAAC;YAC3B,KAAK,CAAC,IAAI,CACR,4FAA4F,CAC7F,CAAC;QACJ,CAAC;QAED,KAAK,MAAM,CAAC,IAAI,MAAM,CAAC,SAAS,EAAE,CAAC;YACjC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;YACf,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;YAC5B,KAAK,CAAC,IAAI,CACR,cAAc,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,yBAAyB,GAAG,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,CACzI,CAAC;QACJ,CAAC;QAED,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,aAAa,EAAE,CAAC,CAAC;IACrE,CAAC;CACF,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"biorxiv-search-preprints.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/biorxiv-search-preprints.tool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,+B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
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
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",
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"CLAUDE.md",
|
|
19
19
|
"AGENTS.md",
|
|
20
20
|
"Dockerfile",
|
|
21
|
-
"server.json"
|
|
21
|
+
"server.json",
|
|
22
|
+
"skills/"
|
|
22
23
|
],
|
|
23
24
|
"scripts": {
|
|
24
25
|
"build": "bun run scripts/build.ts",
|
|
@@ -95,7 +96,7 @@
|
|
|
95
96
|
"postcss": "^8.5.23"
|
|
96
97
|
},
|
|
97
98
|
"dependencies": {
|
|
98
|
-
"@cyanheads/mcp-ts-core": "^0.13.
|
|
99
|
+
"@cyanheads/mcp-ts-core": "^0.13.18",
|
|
99
100
|
"defuddle": "^0.19.6",
|
|
100
101
|
"linkedom": "^0.18.14",
|
|
101
102
|
"pino-pretty": "^13.2.0",
|
package/server.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"url": "https://github.com/cyanheads/biorxiv-mcp-server",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.5.0",
|
|
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/biorxiv-mcp-server",
|
|
21
21
|
"runtimeHint": "npx",
|
|
22
|
-
"version": "0.
|
|
22
|
+
"version": "0.5.0",
|
|
23
23
|
"environmentVariables": [
|
|
24
24
|
{
|
|
25
25
|
"name": "BIORXIV_MAILTO",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
59
59
|
"identifier": "@cyanheads/biorxiv-mcp-server",
|
|
60
60
|
"runtimeHint": "npx",
|
|
61
|
-
"version": "0.
|
|
61
|
+
"version": "0.5.0",
|
|
62
62
|
"environmentVariables": [
|
|
63
63
|
{
|
|
64
64
|
"name": "MCP_TRANSPORT_TYPE",
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: biorxiv-guide
|
|
3
|
+
description: Search syntax, identifier origins, and counting gates for the biorxiv_* tools over bioRxiv and medRxiv preprints. Use when finding preprints by topic, author, or date window; counting what a category, funder, or journal took up; tracing a preprint to its journal article or back; or reading a preprint's full text or an earlier revision.
|
|
4
|
+
license: Apache-2.0
|
|
5
|
+
metadata:
|
|
6
|
+
author: cyanheads
|
|
7
|
+
version: "1.0"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Scope
|
|
11
|
+
|
|
12
|
+
bioRxiv (biology) and medRxiv (health sciences) preprints: metadata, every revision, the preprint-to-journal crosswalk, and full text. Keyless. Listings and DOI lookups read api.biorxiv.org; keyword search is EuropePMC's ranked index, restricted to the two servers, so arXiv, Research Square, SSRN, and other preprint servers never appear.
|
|
13
|
+
|
|
14
|
+
No citation counts and no journal-article content beyond the crosswalk record. Pair with a PubMed, Crossref, or OpenAlex server for the journal side, and with an arXiv server for computational biology posted only there.
|
|
15
|
+
|
|
16
|
+
## Identifiers
|
|
17
|
+
|
|
18
|
+
- **DOI prefix is an era, not a server.** `10.1101/` is the older prefix and `10.64898/` the newer; bioRxiv and medRxiv both issue both, and a preprint keeps its DOI through every revision (`10.1101/2025.11.24.690249` was revised as v2 under `10.1101/` long after new submissions moved to `10.64898/`). Leave `server` at `"both"` for DOI lookups; the response names the server that holds it.
|
|
19
|
+
- **The date inside a DOI is the submission date, not the posting date.** `10.1101/2024.01.03.573434` was posted 2024-01-04; `10.1101/2025.05.22.653117` on 2025-05-27. Read `date` (or `preprintDate` on crosswalk rows) for when a preprint appeared. Older bioRxiv DOIs are plain serials with no date (`10.1101/049882`).
|
|
20
|
+
- **Versions.** Each revision has its own title, authors, and date; `biorxiv_get_preprint` lists them. Only the latest revision carries an abstract — the API keeps one per preprint. An earlier revision's own abstract and text come from `biorxiv_get_fulltext` with `version`: `10.1101/049882` v1 opens with a different abstract than the one `biorxiv_get_preprint` returns.
|
|
21
|
+
- **Category strings** come from `biorxiv_list_categories`, or from any record's `category` field, which is accepted as input as written.
|
|
22
|
+
- **Funder** is a ROR ID (`https://ror.org/<id>`), looked up by name at ror.org. A Crossref Funder Registry ID (`100000002`) is not one and is rejected before any request.
|
|
23
|
+
- **Publisher** is the DOI prefix of a journal publisher, the part before the slash, taken from any article DOI of the journal you care about. It names the whole publisher, not one journal: `10.1038` returns rows from many Springer Nature journals at once (`s41467-`, `s41598-`, `s41593-`, and more DOI stems on one two-day page).
|
|
24
|
+
|
|
25
|
+
## Gates
|
|
26
|
+
|
|
27
|
+
### Keyword search (`biorxiv_search_preprints`)
|
|
28
|
+
|
|
29
|
+
`query` is EuropePMC query syntax, passed through and joined to the server's own clauses with `AND`.
|
|
30
|
+
|
|
31
|
+
- **Wrap every `OR` in parentheses.** The server appends `AND <date and server clauses>`, and in EuropePMC's parser an unparenthesized `OR` before an `AND` stops constraining the match: `transformer OR CRISPR` returns exactly the hits for `CRISPR` alone, while `(transformer OR CRISPR)` returns both sets. The same applies to any `OR` inside a larger query.
|
|
32
|
+
- **Spell out synonyms yourself.** Synonym expansion is off, so `"heart attack"` misses the far larger set written `"myocardial infarction"`. Search `("heart attack" OR "myocardial infarction")`.
|
|
33
|
+
- **Scope by field when precision matters.** A bare term or phrase matches more than the title and abstract. `TITLE_ABS:"…"`, `TITLE:"…"`, `ABSTRACT:"…"`, `AUTH:"…"`, and `AFF:"…"` all work inside `query`; `TITLE_ABS:"base editing"` and `TITLE:"base editing"` each match fewer records than the bare phrase.
|
|
34
|
+
- **Author names.** `author` becomes `AUTH:"…"`. A full name and `Surname Initial` match the same records (`Jennifer Doudna`, `Doudna J`); adding a middle initial (`Doudna JA`) drops records indexed without it. The surname alone is broadest. Confirm identity from co-authors and institution before attributing a list to one person.
|
|
35
|
+
- **`server` scopes the search itself**, not only enrichment: `"medrxiv"` returns medRxiv preprints only.
|
|
36
|
+
- **The date window is first posting; the record shows the latest revision.** `date_from` / `date_to` filter on when v1 appeared, while each result's `date` and `version` are the latest revision's: a January 2024 window returned `10.1101/2024.01.29.577624` dated 2024-12-15, v2. Never re-filter search results on `date` to enforce the window.
|
|
37
|
+
|
|
38
|
+
### Posting-date listing (`biorxiv_list_recent`)
|
|
39
|
+
|
|
40
|
+
- **Rows are revisions, and `total` counts them.** A revised preprint reappears on the day its new version posts, under its old DOI and `version` 2, 3, …. bioRxiv's 2026-10-01..07 listing held 1,460 rows, of which 1,092 were new preprints. To count or list new preprints, keep `version` `"1"` rows.
|
|
41
|
+
- **It has no keyword filter.** At 30 rows a page, one bioRxiv week runs to dozens of pages. For a topic within a window, search with `date_from` / `date_to` and filter enriched results on `category` locally; reserve the listing for a complete category census or for the last day or two that EuropePMC has not indexed yet.
|
|
42
|
+
- **A funder filter is not a funder's output.** It reaches only records api.biorxiv.org linked to that ROR ID: NIH (`01cwqze88`) returned 9 rows for that same week, all of them revisions. Report what it returns as "preprints bioRxiv links to this funder", never as everything the funder supported.
|
|
43
|
+
|
|
44
|
+
### Journal crosswalk
|
|
45
|
+
|
|
46
|
+
- **A missing `publishedJournalDoi` means bioRxiv records no journal version**, which is not proof that none exists. Before reporting a preprint as unpublished, search the journal literature by its authors and key title words on a PubMed or Crossref server; titles drift, as `10.1101/049882`'s did across its five revisions.
|
|
47
|
+
- **medRxiv's `type` reads `PUBLISHAHEADOFPRINT` on its preprints**, published or not. It says nothing about journal publication; `publishedJournalDoi` does.
|
|
48
|
+
- **Publication listings count rows, not preprints.** medRxiv can list one preprint twice with different `preprintDate` values (one week's first page: 100 rows, 97 distinct preprints). Deduplicate on `preprintDoi` before counting.
|
|
49
|
+
- **A past interval's total keeps growing** as bioRxiv records more matches (the medRxiv week 2026-09-01..07 held 103 rows on 2026-10-17 and 107 on 2026-10-28). State counts as of the day you ran them, and finish a walk in one session.
|
|
50
|
+
|
|
51
|
+
## Workflows
|
|
52
|
+
|
|
53
|
+
**New preprints on a topic in a period.** `biorxiv_search_preprints` with a parenthesized, field-scoped query and `date_from` / `date_to`, `include_abstract: false` and `limit: 100` for triage, passing each `nextCursorMark` back as `cursor_mark`. Narrow to a field by the `category` on enriched results (EuropePMC-fallback results carry none). Read abstracts for the shortlist with `biorxiv_get_preprint` (10 DOIs a call). For the last day or two, add a `biorxiv_list_recent` pass with `category`.
|
|
54
|
+
|
|
55
|
+
**Everything a category posted in a window.** `biorxiv_list_recent` with `category`, each server advanced at its own `nextCursor` until none is returned; keep `version` `"1"` rows for new preprints.
|
|
56
|
+
|
|
57
|
+
**Find a person's preprints.** `author` (surname plus initial, then surname alone if the list looks short) with `server` when the field is clear; add a topic `query` to separate namesakes.
|
|
58
|
+
|
|
59
|
+
**Has this preprint been published, and where?** `biorxiv_get_preprint` shows `publishedJournalDoi`; `biorxiv_get_published_version` adds the journal name and date. Holding the journal article instead, pass its DOI to `biorxiv_get_published_version` to find the preprint. A not-found answer is bioRxiv's record only, per the crosswalk gate.
|
|
60
|
+
|
|
61
|
+
**What a journal or publisher took up in a period.** `biorxiv_list_published_versions` filters on the journal's publication date, so the preprints can be years older.
|
|
62
|
+
|
|
63
|
+
- One bioRxiv publisher: pass `publisher` and walk with `limit: 100`. Rows carry no journal name, so isolate one journal by its DOI stem in `publishedDoi` (`10.1038/s41422-` is Cell Research), then call `biorxiv_get_published_version` for the full record of rows you keep.
|
|
64
|
+
- medRxiv, or a journal named in words: list without `publisher` on the one server and match `publishedJournal`, which those rows carry.
|
|
65
|
+
- Deduplicate on `preprintDoi` before counting.
|
|
66
|
+
|
|
67
|
+
**Read a preprint.** `biorxiv_get_fulltext` returns sections as `## ` headings; every chunk reports `totalChars`, and a `limit` at or above it from `offset` 0 returns the whole text in one call. Table cells are never in the text; `omittedTables` gives the page that serves each table's values. To compare what the preprint claimed at first with what it claims now, read `version: 1` beside the latest.
|