UNPKG

clinicaltrialsgov-mcp-server

Version:

Search ClinicalTrials.gov trials, retrieve study details and results, and match patients to eligible trials via MCP. STDIO or Streamable HTTP.

128 lines (127 loc) 4.57 kB
{ "name": "clinicaltrialsgov-mcp-server", "version": "2.8.0", "mcpName": "io.github.cyanheads/clinicaltrialsgov-mcp-server", "description": "Search ClinicalTrials.gov trials, retrieve study details and results, and match patients to eligible trials via MCP. STDIO or Streamable HTTP.", "main": "dist/index.js", "types": "dist/index.d.ts", "files": ["dist"], "bin": { "clinicaltrialsgov-mcp-server": "dist/index.js" }, "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" }, "./*": "./dist/*" }, "type": "module", "sideEffects": false, "repository": { "type": "git", "url": "git+https://github.com/cyanheads/clinicaltrialsgov-mcp-server.git" }, "bugs": { "url": "https://github.com/cyanheads/clinicaltrialsgov-mcp-server/issues" }, "homepage": "https://github.com/cyanheads/clinicaltrialsgov-mcp-server#readme", "scripts": { "build": "bun run scripts/build.ts", "build:worker": "bun build ./src/worker.ts --outdir ./dist --target bun --no-external", "deploy:dev": "MCP_TRANSPORT_TYPE=http bunx wrangler dev", "deploy:prod": "MCP_TRANSPORT_TYPE=http bunx wrangler deploy", "start": "bun ./dist/index.js", "start:stdio": "MCP_TRANSPORT_TYPE=stdio bun ./dist/index.js", "start:http": "MCP_TRANSPORT_TYPE=http bun ./dist/index.js", "devdocs": "bun run scripts/devdocs.ts", "devcheck": "bun run scripts/devcheck.ts", "rebuild": "bun run scripts/clean.ts && bun run build", "docs:generate": "bunx typedoc", "depcheck": "bunx depcheck", "lint": "bunx eslint .", "lint:fix": "bunx eslint . --fix", "typecheck": "bunx tsc --noEmit && bunx tsc --noEmit -p tsconfig.test.json", "tree": "bun run scripts/tree.ts", "fetch-spec": "bun run scripts/fetch-openapi-spec.ts", "format": "bunx biome check --write", "format:unsafe": "bunx biome check --write --unsafe", "prepare": "bunx husky", "inspector": "bunx mcp-inspector --config mcp.json --server clinicaltrialsgov-mcp-server", "test": "bunx vitest run", "test:conformance": "bunx vitest run --config vitest.conformance.ts", "test:fuzz": "bunx vitest run fuzz", "test:coverage": "bunx vitest run --coverage", "coverage:update": "bun run scripts/update-coverage.ts", "coverage:commit": "bun run scripts/update-coverage.ts --commit", "audit": "bun audit", "audit:fix": "bun audit --fix", "audit:refresh": "rm -f bun.lock && bun install && bun audit", "list-skills": "bun run scripts/list-skills.ts", "lint:packaging": "bun run scripts/lint-packaging.ts", "bundle": "bun run build && bunx -y @anthropic-ai/mcpb pack . dist/clinicaltrialsgov-mcp-server.mcpb && bun run scripts/clean-mcpb.ts dist/clinicaltrialsgov-mcp-server.mcpb", "release:github": "bun run scripts/release-github.ts", "changelog:build": "bun run scripts/build-changelog.ts", "changelog:check": "bun run scripts/build-changelog.ts --check", "publish-mcp": "bunx mcp-publisher login github -token \"$(security find-generic-password -a \"$USER\" -s mcp-publisher-github-pat -w)\" && bunx mcp-publisher publish" }, "keywords": [ "mcp", "mcp-server", "model-context-protocol", "ai-agent", "typescript", "clinical-trials", "clinicaltrials.gov", "patient-matching", "eligibility-criteria", "trial-finder", "research-tools", "bioinformatics", "health-tech", "bun", "stdio", "streamable-http" ], "author": "cyanheads <casey@caseyjhand.com> (https://github.com/cyanheads/clinicaltrialsgov-mcp-server#readme)", "license": "Apache-2.0", "funding": [ { "type": "github", "url": "https://github.com/sponsors/cyanheads" }, { "type": "buy_me_a_coffee", "url": "https://www.buymeacoffee.com/cyanheads" } ], "packageManager": "bun@1.3.2", "engines": { "bun": ">=1.3.0", "node": ">=24.0.0" }, "dependencies": { "@cyanheads/mcp-ts-core": "^0.10.10", "pino-pretty": "^13.1.3", "zod": "^4.4.3" }, "devDependencies": { "@biomejs/biome": "^2.5.0", "@cloudflare/workers-types": "4.20260620.1", "@types/bun": "^1.3.14", "@types/node": "26.0.1", "@vitest/coverage-istanbul": "^4.1.9", "depcheck": "^1.4.7", "fast-check": "^4.8.0", "husky": "^9.1.7", "ignore": "^7.0.5", "tsc-alias": "^1.8.17", "typedoc": "^0.28.19", "typescript": "^6.0.3", "vite": "^8.0.16", "vitest": "^4.1.9" }, "publishConfig": { "access": "public" } }