@cyanheads/biorxiv-mcp-server 0.1.5
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 +309 -0
- package/CLAUDE.md +309 -0
- package/Dockerfile +99 -0
- package/LICENSE +195 -0
- package/README.md +279 -0
- package/changelog/0.1.x/0.1.0.md +18 -0
- package/changelog/0.1.x/0.1.1.md +32 -0
- package/changelog/0.1.x/0.1.2.md +23 -0
- package/changelog/0.1.x/0.1.3.md +23 -0
- package/changelog/0.1.x/0.1.4.md +19 -0
- package/changelog/0.1.x/0.1.5.md +18 -0
- package/changelog/template.md +93 -0
- package/dist/biorxiv-mcp-server.mcpb +0 -0
- package/dist/config/server-config.d.ts +17 -0
- package/dist/config/server-config.d.ts.map +1 -0
- package/dist/config/server-config.js +34 -0
- package/dist/config/server-config.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +25 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp-server/tools/definitions/biorxiv-get-preprint.tool.d.ts +54 -0
- package/dist/mcp-server/tools/definitions/biorxiv-get-preprint.tool.d.ts.map +1 -0
- package/dist/mcp-server/tools/definitions/biorxiv-get-preprint.tool.js +208 -0
- package/dist/mcp-server/tools/definitions/biorxiv-get-preprint.tool.js.map +1 -0
- package/dist/mcp-server/tools/definitions/biorxiv-get-published-version.tool.d.ts +39 -0
- package/dist/mcp-server/tools/definitions/biorxiv-get-published-version.tool.d.ts.map +1 -0
- package/dist/mcp-server/tools/definitions/biorxiv-get-published-version.tool.js +99 -0
- package/dist/mcp-server/tools/definitions/biorxiv-get-published-version.tool.js.map +1 -0
- package/dist/mcp-server/tools/definitions/biorxiv-list-categories.tool.d.ts +13 -0
- package/dist/mcp-server/tools/definitions/biorxiv-list-categories.tool.d.ts.map +1 -0
- package/dist/mcp-server/tools/definitions/biorxiv-list-categories.tool.js +40 -0
- package/dist/mcp-server/tools/definitions/biorxiv-list-categories.tool.js.map +1 -0
- package/dist/mcp-server/tools/definitions/biorxiv-list-recent.tool.d.ts +65 -0
- package/dist/mcp-server/tools/definitions/biorxiv-list-recent.tool.d.ts.map +1 -0
- package/dist/mcp-server/tools/definitions/biorxiv-list-recent.tool.js +269 -0
- package/dist/mcp-server/tools/definitions/biorxiv-list-recent.tool.js.map +1 -0
- package/dist/mcp-server/tools/definitions/biorxiv-search-preprints.tool.d.ts +46 -0
- package/dist/mcp-server/tools/definitions/biorxiv-search-preprints.tool.d.ts.map +1 -0
- package/dist/mcp-server/tools/definitions/biorxiv-search-preprints.tool.js +279 -0
- package/dist/mcp-server/tools/definitions/biorxiv-search-preprints.tool.js.map +1 -0
- package/dist/mcp-server/tools/definitions/index.d.ts +171 -0
- package/dist/mcp-server/tools/definitions/index.d.ts.map +1 -0
- package/dist/mcp-server/tools/definitions/index.js +23 -0
- package/dist/mcp-server/tools/definitions/index.js.map +1 -0
- package/dist/services/biorxiv/biorxiv-service.d.ts +39 -0
- package/dist/services/biorxiv/biorxiv-service.d.ts.map +1 -0
- package/dist/services/biorxiv/biorxiv-service.js +307 -0
- package/dist/services/biorxiv/biorxiv-service.js.map +1 -0
- package/dist/services/biorxiv/types.d.ts +127 -0
- package/dist/services/biorxiv/types.d.ts.map +1 -0
- package/dist/services/biorxiv/types.js +9 -0
- package/dist/services/biorxiv/types.js.map +1 -0
- package/dist/services/europe-pmc/europe-pmc-service.d.ts +36 -0
- package/dist/services/europe-pmc/europe-pmc-service.d.ts.map +1 -0
- package/dist/services/europe-pmc/europe-pmc-service.js +100 -0
- package/dist/services/europe-pmc/europe-pmc-service.js.map +1 -0
- package/dist/services/europe-pmc/types.d.ts +33 -0
- package/dist/services/europe-pmc/types.d.ts.map +1 -0
- package/dist/services/europe-pmc/types.js +8 -0
- package/dist/services/europe-pmc/types.js.map +1 -0
- package/package.json +102 -0
- package/server.json +111 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Domain types for the EuropePMC service. Covers raw API shapes
|
|
3
|
+
* from the EuropePMC REST search endpoint and normalized domain types used by
|
|
4
|
+
* the search_preprints tool handler.
|
|
5
|
+
* @module services/europe-pmc/types
|
|
6
|
+
*/
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/services/europe-pmc/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
|
package/package.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@cyanheads/biorxiv-mcp-server",
|
|
3
|
+
"version": "0.1.5",
|
|
4
|
+
"mcpName": "io.github.cyanheads/biorxiv-mcp-server",
|
|
5
|
+
"description": "Search and retrieve bioRxiv and medRxiv preprints — by DOI, date interval, or keyword — via MCP. STDIO or Streamable HTTP.",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "dist/index.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"bin": {
|
|
10
|
+
"biorxiv-mcp-server": "dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"changelog/",
|
|
14
|
+
"dist/",
|
|
15
|
+
"README.md",
|
|
16
|
+
"LICENSE",
|
|
17
|
+
"CLAUDE.md",
|
|
18
|
+
"AGENTS.md",
|
|
19
|
+
"Dockerfile",
|
|
20
|
+
"server.json"
|
|
21
|
+
],
|
|
22
|
+
"scripts": {
|
|
23
|
+
"build": "bun run scripts/build.ts",
|
|
24
|
+
"rebuild": "bun run scripts/clean.ts && bun run build",
|
|
25
|
+
"clean": "bun run scripts/clean.ts",
|
|
26
|
+
"devcheck": "bun run scripts/devcheck.ts",
|
|
27
|
+
"tree": "bun run scripts/tree.ts",
|
|
28
|
+
"format": "biome check --write --unsafe .",
|
|
29
|
+
"lint:mcp": "bun run scripts/lint-mcp.ts",
|
|
30
|
+
"lint:packaging": "bun run scripts/lint-packaging.ts",
|
|
31
|
+
"bundle": "bun run build && bunx @anthropic-ai/mcpb pack . dist/biorxiv-mcp-server.mcpb",
|
|
32
|
+
"publish-mcp": "mcp-publisher login github -token \"$(security find-generic-password -a \"$USER\" -s mcp-publisher-github-pat -w)\" && mcp-publisher publish",
|
|
33
|
+
"audit:refresh": "rm -f bun.lock && bun install && bun audit",
|
|
34
|
+
"changelog:build": "bun run scripts/build-changelog.ts",
|
|
35
|
+
"changelog:check": "bun run scripts/build-changelog.ts --check",
|
|
36
|
+
"list-skills": "bun run scripts/list-skills.ts",
|
|
37
|
+
"test": "bunx vitest run",
|
|
38
|
+
"start:stdio": "MCP_TRANSPORT_TYPE=stdio bun ./dist/index.js",
|
|
39
|
+
"start:http": "MCP_TRANSPORT_TYPE=http bun ./dist/index.js"
|
|
40
|
+
},
|
|
41
|
+
"keywords": [
|
|
42
|
+
"biorxiv",
|
|
43
|
+
"medrxiv",
|
|
44
|
+
"preprint",
|
|
45
|
+
"biomedical",
|
|
46
|
+
"life-sciences",
|
|
47
|
+
"research",
|
|
48
|
+
"mcp",
|
|
49
|
+
"mcp-server",
|
|
50
|
+
"model-context-protocol",
|
|
51
|
+
"typescript",
|
|
52
|
+
"bun",
|
|
53
|
+
"stdio",
|
|
54
|
+
"streamable-http",
|
|
55
|
+
"ai-agent",
|
|
56
|
+
"llm",
|
|
57
|
+
"europepmc",
|
|
58
|
+
"doi"
|
|
59
|
+
],
|
|
60
|
+
"repository": {
|
|
61
|
+
"type": "git",
|
|
62
|
+
"url": "git+https://github.com/cyanheads/biorxiv-mcp-server.git"
|
|
63
|
+
},
|
|
64
|
+
"bugs": {
|
|
65
|
+
"url": "https://github.com/cyanheads/biorxiv-mcp-server/issues"
|
|
66
|
+
},
|
|
67
|
+
"homepage": "https://github.com/cyanheads/biorxiv-mcp-server#readme",
|
|
68
|
+
"author": "cyanheads <casey@caseyjhand.com> (https://github.com/cyanheads/biorxiv-mcp-server#readme)",
|
|
69
|
+
"funding": [
|
|
70
|
+
{
|
|
71
|
+
"type": "github",
|
|
72
|
+
"url": "https://github.com/sponsors/cyanheads"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"type": "buy_me_a_coffee",
|
|
76
|
+
"url": "https://www.buymeacoffee.com/cyanheads"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"license": "Apache-2.0",
|
|
80
|
+
"packageManager": "bun@1.3.2",
|
|
81
|
+
"engines": {
|
|
82
|
+
"bun": ">=1.3.2",
|
|
83
|
+
"node": ">=24.0.0"
|
|
84
|
+
},
|
|
85
|
+
"publishConfig": {
|
|
86
|
+
"access": "public"
|
|
87
|
+
},
|
|
88
|
+
"dependencies": {
|
|
89
|
+
"@cyanheads/mcp-ts-core": "^0.9.6",
|
|
90
|
+
"pino-pretty": "^13.1.3",
|
|
91
|
+
"zod": "^4.4.3"
|
|
92
|
+
},
|
|
93
|
+
"devDependencies": {
|
|
94
|
+
"@biomejs/biome": "^2.4.15",
|
|
95
|
+
"@types/node": "^25.9.1",
|
|
96
|
+
"depcheck": "^1.4.7",
|
|
97
|
+
"ignore": "^7.0.5",
|
|
98
|
+
"tsc-alias": "^1.8.17",
|
|
99
|
+
"typescript": "^6.0.3",
|
|
100
|
+
"vitest": "^4.1.7"
|
|
101
|
+
}
|
|
102
|
+
}
|
package/server.json
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
|
+
"name": "io.github.cyanheads/biorxiv-mcp-server",
|
|
4
|
+
"description": "Search and retrieve bioRxiv and medRxiv preprints \u2014 by DOI, date interval, or keyword \u2014 via MCP.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"url": "https://github.com/cyanheads/biorxiv-mcp-server",
|
|
7
|
+
"source": "github"
|
|
8
|
+
},
|
|
9
|
+
"version": "0.1.5",
|
|
10
|
+
"packages": [
|
|
11
|
+
{
|
|
12
|
+
"registryType": "npm",
|
|
13
|
+
"registryBaseUrl": "https://registry.npmjs.org",
|
|
14
|
+
"identifier": "@cyanheads/biorxiv-mcp-server",
|
|
15
|
+
"runtimeHint": "bun",
|
|
16
|
+
"version": "0.1.5",
|
|
17
|
+
"packageArguments": [
|
|
18
|
+
{
|
|
19
|
+
"type": "positional",
|
|
20
|
+
"value": "run"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"type": "positional",
|
|
24
|
+
"value": "start:stdio"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"environmentVariables": [
|
|
28
|
+
{
|
|
29
|
+
"name": "BIORXIV_MAILTO",
|
|
30
|
+
"description": "Contact email for User-Agent header \u2014 optional, for polite API access.",
|
|
31
|
+
"format": "string",
|
|
32
|
+
"isRequired": false
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "MCP_LOG_LEVEL",
|
|
36
|
+
"description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').",
|
|
37
|
+
"format": "string",
|
|
38
|
+
"isRequired": false,
|
|
39
|
+
"default": "info"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"transport": {
|
|
43
|
+
"type": "stdio"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"registryType": "npm",
|
|
48
|
+
"registryBaseUrl": "https://registry.npmjs.org",
|
|
49
|
+
"identifier": "@cyanheads/biorxiv-mcp-server",
|
|
50
|
+
"runtimeHint": "bun",
|
|
51
|
+
"version": "0.1.5",
|
|
52
|
+
"packageArguments": [
|
|
53
|
+
{
|
|
54
|
+
"type": "positional",
|
|
55
|
+
"value": "run"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "positional",
|
|
59
|
+
"value": "start:http"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"environmentVariables": [
|
|
63
|
+
{
|
|
64
|
+
"name": "BIORXIV_MAILTO",
|
|
65
|
+
"description": "Contact email for User-Agent header \u2014 optional, for polite API access.",
|
|
66
|
+
"format": "string",
|
|
67
|
+
"isRequired": false
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "MCP_HTTP_HOST",
|
|
71
|
+
"description": "The hostname for the HTTP server.",
|
|
72
|
+
"format": "string",
|
|
73
|
+
"isRequired": false,
|
|
74
|
+
"default": "127.0.0.1"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "MCP_HTTP_PORT",
|
|
78
|
+
"description": "The port to run the HTTP server on.",
|
|
79
|
+
"format": "string",
|
|
80
|
+
"isRequired": false,
|
|
81
|
+
"default": "3010"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "MCP_HTTP_ENDPOINT_PATH",
|
|
85
|
+
"description": "The endpoint path for the MCP server.",
|
|
86
|
+
"format": "string",
|
|
87
|
+
"isRequired": false,
|
|
88
|
+
"default": "/mcp"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "MCP_AUTH_MODE",
|
|
92
|
+
"description": "Authentication mode to use: 'none', 'jwt', or 'oauth'.",
|
|
93
|
+
"format": "string",
|
|
94
|
+
"isRequired": false,
|
|
95
|
+
"default": "none"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "MCP_LOG_LEVEL",
|
|
99
|
+
"description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').",
|
|
100
|
+
"format": "string",
|
|
101
|
+
"isRequired": false,
|
|
102
|
+
"default": "info"
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"transport": {
|
|
106
|
+
"type": "streamable-http",
|
|
107
|
+
"url": "http://localhost:3010/mcp"
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
]
|
|
111
|
+
}
|