package.json•3.79 kB
{
"name": "clinicaltrialsgov-mcp-server",
"version": "1.1.11",
"description": "ClinicalTrials.gov Model Context Protocol (MCP) Server that provides a suite of tools for interacting with the official ClinicalTrials.gov v2 API. Enables AI agents and LLMs to programmatically search, retrieve, and analyze clinical trial data.",
"main": "dist/index.js",
"files": [
"dist"
],
"bin": {
"clinicaltrialsgov-mcp-server": "dist/index.js"
},
"exports": "./dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"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": "tsc && node --loader ts-node/esm scripts/make-executable.ts dist/index.js",
"start": "node dist/index.js",
"start:stdio": "MCP_LOG_LEVEL=debug MCP_TRANSPORT_TYPE=stdio node dist/index.js",
"start:http": "MCP_LOG_LEVEL=debug MCP_TRANSPORT_TYPE=http node dist/index.js",
"rebuild": "ts-node --esm scripts/clean.ts && npm run build",
"docs:generate": "typedoc --tsconfig ./tsconfig.typedoc.json",
"depcheck": "npx depcheck",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"tree": "ts-node --esm scripts/tree.ts",
"fetch-spec": "ts-node --esm scripts/fetch-openapi-spec.ts",
"format": "prettier --write \"**/*.{ts,js,json,md,html,css}\"",
"inspector": "npx mcp-inspector --config mcp.json --server clinicaltrialsgov-mcp-server",
"db:duckdb-example": "MCP_LOG_LEVEL=debug tsc && node dist/storage/duckdbExample.js",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage"
},
"dependencies": {
"@hono/node-server": "^1.17.1",
"@modelcontextprotocol/sdk": "^1.17.1",
"@supabase/supabase-js": "^2.53.0",
"@types/node": "^24.2.0",
"@types/sanitize-html": "^2.16.0",
"@types/validator": "13.15.2",
"chrono-node": "^2.8.0",
"dotenv": "^16.6.1",
"hono": "^4.8.10",
"ignore": "^7.0.5",
"jose": "^6.0.12",
"js-yaml": "^4.1.0",
"node-cron": "^4.2.1",
"openai": "^5.12.0",
"partial-json": "^0.1.7",
"sanitize-html": "^2.17.0",
"tiktoken": "^1.0.21",
"ts-node": "^10.9.2",
"typescript": "^5.8.3",
"typescript-eslint": "^8.39.0",
"validator": "13.15.15",
"winston": "^3.17.0",
"winston-transport": "^4.9.0",
"zod": "^3.25.76"
},
"keywords": [
"mcp",
"mcp-server",
"model-context-protocol",
"ai-agent",
"llm",
"llm-agent",
"typescript",
"clinical-trials",
"clinicaltrials.gov",
"api-client",
"research-tools",
"bioinformatics",
"health-tech",
"hono",
"stdio",
"http"
],
"author": "cyanheads <casey@caseyjhand.com>",
"license": "Apache-2.0",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/cyanheads"
},
{
"type": "buy_me_a_coffee",
"url": "https://www.buymeacoffee.com/cyanheads"
}
],
"engines": {
"node": ">=20.0.0"
},
"devDependencies": {
"@anatine/zod-mock": "^3.14.0",
"@eslint/js": "^9.32.0",
"@faker-js/faker": "^9.9.0",
"@types/js-yaml": "^4.0.9",
"@types/node-cron": "^3.0.11",
"@types/supertest": "^6.0.3",
"@vitest/coverage-v8": "^3.2.4",
"axios": "^1.11.0",
"depcheck": "^1.4.7",
"eslint": "^9.32.0",
"globals": "^16.3.0",
"msw": "^2.10.4",
"prettier": "^3.6.2",
"supertest": "^7.1.4",
"typedoc": "^0.28.9",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.2.4"
},
"publishConfig": {
"access": "public"
}
}