clinicaltrialsgov-mcp-server 2.4.7 → 2.4.8
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/README.md +2 -2
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
|
|
11
11
|
[](https://www.npmjs.com/package/clinicaltrialsgov-mcp-server)
|
|
12
12
|
[](https://github.com/users/cyanheads/packages/container/package/clinicaltrialsgov-mcp-server)
|
|
13
|
-
[](./CHANGELOG.md)
|
|
14
14
|
[](https://www.npmjs.com/package/@cyanheads/mcp-ts-core)
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
[](https://modelcontextprotocol.io/)
|
|
18
18
|
[](./LICENSE)
|
|
19
19
|
[](https://www.typescriptlang.org/)
|
|
20
20
|
|
package/dist/index.js
CHANGED
|
@@ -12,6 +12,7 @@ await createApp({
|
|
|
12
12
|
tools: allToolDefinitions,
|
|
13
13
|
resources: allResourceDefinitions,
|
|
14
14
|
prompts: allPromptDefinitions,
|
|
15
|
+
instructions: `Use the clinicaltrials_* tools to access the ClinicalTrials.gov registry — public, read-only, ~577K studies. Studies are addressed by NCT ID (NCT followed by 8 digits). Field names for the fields, advancedFilter, and sort parameters are PascalCase leaves (NCTId, OverallStatus, EnrollmentCount) — call clinicaltrials_get_field_definitions to discover them and clinicaltrials_get_field_values for valid enum values. Typical workflow: clinicaltrials_search_studies (pass fields to trim ~70KB records) → clinicaltrials_get_study_record → clinicaltrials_get_study_results (only when hasResults=true). Use clinicaltrials_get_study_count for cheap breakdowns and clinicaltrials_find_eligible for patient matching.`,
|
|
15
16
|
setup() {
|
|
16
17
|
initClinicalTrialsService();
|
|
17
18
|
},
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,yBAAyB,EAAE,MAAM,uDAAuD,CAAC;AAElG,MAAM,SAAS,CAAC;IACd,KAAK,EAAE,kBAAkB;IACzB,SAAS,EAAE,sBAAsB;IACjC,OAAO,EAAE,oBAAoB;IAC7B,KAAK;QACH,yBAAyB,EAAE,CAAC;IAC9B,CAAC;CACF,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,yBAAyB,EAAE,MAAM,uDAAuD,CAAC;AAElG,MAAM,SAAS,CAAC;IACd,KAAK,EAAE,kBAAkB;IACzB,SAAS,EAAE,sBAAsB;IACjC,OAAO,EAAE,oBAAoB;IAC7B,YAAY,EAAE,qsBAAqsB;IACntB,KAAK;QACH,yBAAyB,EAAE,CAAC;IAC9B,CAAC;CACF,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clinicaltrialsgov-mcp-server",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.8",
|
|
4
4
|
"mcpName": "io.github.cyanheads/clinicaltrialsgov-mcp-server",
|
|
5
5
|
"description": "MCP server for the ClinicalTrials.gov v2 API. Search trials, retrieve study details and results, and match patients to eligible trials.",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -99,24 +99,24 @@
|
|
|
99
99
|
"node": ">=24.0.0"
|
|
100
100
|
},
|
|
101
101
|
"dependencies": {
|
|
102
|
-
"@cyanheads/mcp-ts-core": "^0.
|
|
102
|
+
"@cyanheads/mcp-ts-core": "^0.9.1",
|
|
103
103
|
"pino-pretty": "^13.1.3"
|
|
104
104
|
},
|
|
105
105
|
"devDependencies": {
|
|
106
106
|
"@biomejs/biome": "^2.4.15",
|
|
107
|
-
"@cloudflare/workers-types": "^4.
|
|
108
|
-
"@types/bun": "^1.3.
|
|
109
|
-
"@types/node": "^25.
|
|
110
|
-
"@vitest/coverage-istanbul": "^4.1.
|
|
107
|
+
"@cloudflare/workers-types": "^4.20260516.1",
|
|
108
|
+
"@types/bun": "^1.3.14",
|
|
109
|
+
"@types/node": "^25.8.0",
|
|
110
|
+
"@vitest/coverage-istanbul": "^4.1.6",
|
|
111
111
|
"depcheck": "^1.4.7",
|
|
112
|
-
"fast-check": "^4.
|
|
112
|
+
"fast-check": "^4.8.0",
|
|
113
113
|
"husky": "^9.1.7",
|
|
114
114
|
"ignore": "^7.0.5",
|
|
115
115
|
"tsc-alias": "^1.8.17",
|
|
116
116
|
"typedoc": "^0.28.19",
|
|
117
117
|
"typescript": "^6.0.3",
|
|
118
|
-
"vite": "^8.0.
|
|
119
|
-
"vitest": "^4.1.
|
|
118
|
+
"vite": "^8.0.13",
|
|
119
|
+
"vitest": "^4.1.6"
|
|
120
120
|
},
|
|
121
121
|
"publishConfig": {
|
|
122
122
|
"access": "public"
|