@cyanheads/pubchem-mcp-server 0.1.1
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/LICENSE +190 -0
- package/README.md +198 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp-server/tools/definitions/get-bioactivity.tool.d.ts +33 -0
- package/dist/mcp-server/tools/definitions/get-bioactivity.tool.d.ts.map +1 -0
- package/dist/mcp-server/tools/definitions/get-bioactivity.tool.js +115 -0
- package/dist/mcp-server/tools/definitions/get-bioactivity.tool.js.map +1 -0
- package/dist/mcp-server/tools/definitions/get-compound-details.tool.d.ts +22 -0
- package/dist/mcp-server/tools/definitions/get-compound-details.tool.d.ts.map +1 -0
- package/dist/mcp-server/tools/definitions/get-compound-details.tool.js +190 -0
- package/dist/mcp-server/tools/definitions/get-compound-details.tool.js.map +1 -0
- package/dist/mcp-server/tools/definitions/get-compound-image.tool.d.ts +19 -0
- package/dist/mcp-server/tools/definitions/get-compound-image.tool.d.ts.map +1 -0
- package/dist/mcp-server/tools/definitions/get-compound-image.tool.js +57 -0
- package/dist/mcp-server/tools/definitions/get-compound-image.tool.js.map +1 -0
- package/dist/mcp-server/tools/definitions/get-compound-safety.tool.d.ts +25 -0
- package/dist/mcp-server/tools/definitions/get-compound-safety.tool.d.ts.map +1 -0
- package/dist/mcp-server/tools/definitions/get-compound-safety.tool.js +94 -0
- package/dist/mcp-server/tools/definitions/get-compound-safety.tool.js.map +1 -0
- package/dist/mcp-server/tools/definitions/get-compound-xrefs.tool.d.ts +21 -0
- package/dist/mcp-server/tools/definitions/get-compound-xrefs.tool.d.ts.map +1 -0
- package/dist/mcp-server/tools/definitions/get-compound-xrefs.tool.js +90 -0
- package/dist/mcp-server/tools/definitions/get-compound-xrefs.tool.js.map +1 -0
- package/dist/mcp-server/tools/definitions/get-summary.tool.d.ts +23 -0
- package/dist/mcp-server/tools/definitions/get-summary.tool.d.ts.map +1 -0
- package/dist/mcp-server/tools/definitions/get-summary.tool.js +143 -0
- package/dist/mcp-server/tools/definitions/get-summary.tool.js.map +1 -0
- package/dist/mcp-server/tools/definitions/index.d.ts +152 -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/mcp-server/tools/definitions/search-assays.tool.d.ts +22 -0
- package/dist/mcp-server/tools/definitions/search-assays.tool.d.ts.map +1 -0
- package/dist/mcp-server/tools/definitions/search-assays.tool.js +76 -0
- package/dist/mcp-server/tools/definitions/search-assays.tool.js.map +1 -0
- package/dist/mcp-server/tools/definitions/search-compounds.tool.d.ts +42 -0
- package/dist/mcp-server/tools/definitions/search-compounds.tool.d.ts.map +1 -0
- package/dist/mcp-server/tools/definitions/search-compounds.tool.js +204 -0
- package/dist/mcp-server/tools/definitions/search-compounds.tool.js.map +1 -0
- package/dist/services/pubchem/pubchem-client.d.ts +37 -0
- package/dist/services/pubchem/pubchem-client.d.ts.map +1 -0
- package/dist/services/pubchem/pubchem-client.js +546 -0
- package/dist/services/pubchem/pubchem-client.js.map +1 -0
- package/dist/services/pubchem/types.d.ts +133 -0
- package/dist/services/pubchem/types.d.ts.map +1 -0
- package/dist/services/pubchem/types.js +68 -0
- package/dist/services/pubchem/types.js.map +1 -0
- package/package.json +67 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview PubChem API response types and shared constants.
|
|
3
|
+
* @module services/pubchem/types
|
|
4
|
+
*/
|
|
5
|
+
/** CID list from identifier/formula/structure searches */
|
|
6
|
+
export interface CidListResponse {
|
|
7
|
+
IdentifierList: {
|
|
8
|
+
CID: number[];
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
/** Async search response — PubChem returns a ListKey when results aren't ready yet */
|
|
12
|
+
export interface ListKeyResponse {
|
|
13
|
+
Waiting: {
|
|
14
|
+
ListKey: string;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
/** AID list from assay target searches */
|
|
18
|
+
export interface AidListResponse {
|
|
19
|
+
IdentifierList: {
|
|
20
|
+
AID: number[];
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
/** Compound property table */
|
|
24
|
+
export interface PropertyTableResponse {
|
|
25
|
+
PropertyTable: {
|
|
26
|
+
Properties: Array<Record<string, unknown> & {
|
|
27
|
+
CID: number;
|
|
28
|
+
}>;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
/** Synonym list for a compound */
|
|
32
|
+
export interface SynonymResponse {
|
|
33
|
+
InformationList: {
|
|
34
|
+
Information: Array<{
|
|
35
|
+
CID: number;
|
|
36
|
+
Synonym: string[];
|
|
37
|
+
}>;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
/** Cross-reference list for a compound */
|
|
41
|
+
export interface XrefResponse {
|
|
42
|
+
InformationList: {
|
|
43
|
+
Information: Array<Record<string, unknown> & {
|
|
44
|
+
CID: number;
|
|
45
|
+
}>;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
/** Bioassay summary table (column-oriented) */
|
|
49
|
+
export interface AssaySummaryTableResponse {
|
|
50
|
+
Table: {
|
|
51
|
+
Columns: {
|
|
52
|
+
Column: string[];
|
|
53
|
+
};
|
|
54
|
+
Row: Array<{
|
|
55
|
+
Cell: (string | number | null)[];
|
|
56
|
+
}>;
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
export interface PugViewResponse {
|
|
60
|
+
Record: {
|
|
61
|
+
RecordType: string;
|
|
62
|
+
RecordNumber: number;
|
|
63
|
+
Section?: PugViewSection[];
|
|
64
|
+
Reference?: Array<{
|
|
65
|
+
ReferenceNumber: number;
|
|
66
|
+
SourceName: string;
|
|
67
|
+
SourceID?: string;
|
|
68
|
+
}>;
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
export interface PugViewSection {
|
|
72
|
+
Description?: string;
|
|
73
|
+
Information?: PugViewInformation[];
|
|
74
|
+
Section?: PugViewSection[];
|
|
75
|
+
TOCHeading: string;
|
|
76
|
+
}
|
|
77
|
+
export interface PugViewInformation {
|
|
78
|
+
Description?: string;
|
|
79
|
+
Name?: string;
|
|
80
|
+
ReferenceNumber?: number;
|
|
81
|
+
Value: {
|
|
82
|
+
StringWithMarkup?: Array<{
|
|
83
|
+
String: string;
|
|
84
|
+
Markup?: Array<{
|
|
85
|
+
Start: number;
|
|
86
|
+
Length: number;
|
|
87
|
+
URL?: string;
|
|
88
|
+
Type?: string;
|
|
89
|
+
Extra?: string;
|
|
90
|
+
}>;
|
|
91
|
+
}>;
|
|
92
|
+
Number?: number[];
|
|
93
|
+
Boolean?: boolean[];
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
/** Parsed GHS hazard classification */
|
|
97
|
+
export interface GHSClassification {
|
|
98
|
+
hazardStatements: Array<{
|
|
99
|
+
code: string;
|
|
100
|
+
statement: string;
|
|
101
|
+
}>;
|
|
102
|
+
pictograms: string[];
|
|
103
|
+
precautionaryStatements: Array<{
|
|
104
|
+
code: string;
|
|
105
|
+
statement: string;
|
|
106
|
+
}>;
|
|
107
|
+
signalWord?: string;
|
|
108
|
+
source?: string;
|
|
109
|
+
}
|
|
110
|
+
/** Parsed bioactivity row from assay summary table */
|
|
111
|
+
export interface BioactivityRow {
|
|
112
|
+
activityValues: Array<{
|
|
113
|
+
name: string;
|
|
114
|
+
value: number;
|
|
115
|
+
unit: string;
|
|
116
|
+
}>;
|
|
117
|
+
aid: number;
|
|
118
|
+
assayName: string;
|
|
119
|
+
outcome: string;
|
|
120
|
+
targetAccession?: string;
|
|
121
|
+
targetGeneId?: number;
|
|
122
|
+
}
|
|
123
|
+
/** Structured error from PubChem API */
|
|
124
|
+
export declare class PubChemNotFoundError extends Error {
|
|
125
|
+
name: "PubChemNotFoundError";
|
|
126
|
+
}
|
|
127
|
+
/** All valid PubChem compound property names */
|
|
128
|
+
export declare const COMPOUND_PROPERTIES: readonly ["MolecularFormula", "MolecularWeight", "CanonicalSMILES", "IsomericSMILES", "InChI", "InChIKey", "IUPACName", "Title", "XLogP", "ExactMass", "MonoisotopicMass", "TPSA", "Complexity", "Charge", "HBondDonorCount", "HBondAcceptorCount", "RotatableBondCount", "HeavyAtomCount", "IsotopeAtomCount", "AtomStereoCount", "DefinedAtomStereoCount", "UndefinedAtomStereoCount", "BondStereoCount", "DefinedBondStereoCount", "UndefinedBondStereoCount", "CovalentUnitCount", "Volume3D"];
|
|
129
|
+
/** Default properties when none specified */
|
|
130
|
+
export declare const DEFAULT_PROPERTIES: readonly ["MolecularFormula", "MolecularWeight", "IUPACName", "CanonicalSMILES", "IsomericSMILES", "InChIKey", "XLogP", "TPSA", "HBondDonorCount", "HBondAcceptorCount", "RotatableBondCount", "HeavyAtomCount", "Charge", "Complexity"];
|
|
131
|
+
/** Supported cross-reference types */
|
|
132
|
+
export declare const XREF_TYPES: readonly ["RegistryID", "RN", "PubMedID", "PatentID", "GeneID", "ProteinGI", "TaxonomyID"];
|
|
133
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/services/pubchem/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,0DAA0D;AAC1D,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE;QAAE,GAAG,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;CACnC;AAED,sFAAsF;AACtF,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CAC9B;AAED,0CAA0C;AAC1C,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE;QAAE,GAAG,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;CACnC;AAED,8BAA8B;AAC9B,MAAM,WAAW,qBAAqB;IACpC,aAAa,EAA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AAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAID,wCAAwC;AACxC,qBAAa,oBAAqB,SAAQ,KAAK;IACpC,IAAI,EAAG,sBAAsB,CAAU;CACjD;AAID,gDAAgD;AAChD,eAAO,MAAM,mBAAmB,oeA4BtB,CAAC;AAEX,6CAA6C;AAC7C,eAAO,MAAM,kBAAkB,0OAerB,CAAC;AAEX,sCAAsC;AACtC,eAAO,MAAM,UAAU,4FAQb,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview PubChem API response types and shared constants.
|
|
3
|
+
* @module services/pubchem/types
|
|
4
|
+
*/
|
|
5
|
+
// ── PubChem error ────────────────────────────────────────────────────
|
|
6
|
+
/** Structured error from PubChem API */
|
|
7
|
+
export class PubChemNotFoundError extends Error {
|
|
8
|
+
name = 'PubChemNotFoundError';
|
|
9
|
+
}
|
|
10
|
+
// ── Constants ────────────────────────────────────────────────────────
|
|
11
|
+
/** All valid PubChem compound property names */
|
|
12
|
+
export const COMPOUND_PROPERTIES = [
|
|
13
|
+
'MolecularFormula',
|
|
14
|
+
'MolecularWeight',
|
|
15
|
+
'CanonicalSMILES',
|
|
16
|
+
'IsomericSMILES',
|
|
17
|
+
'InChI',
|
|
18
|
+
'InChIKey',
|
|
19
|
+
'IUPACName',
|
|
20
|
+
'Title',
|
|
21
|
+
'XLogP',
|
|
22
|
+
'ExactMass',
|
|
23
|
+
'MonoisotopicMass',
|
|
24
|
+
'TPSA',
|
|
25
|
+
'Complexity',
|
|
26
|
+
'Charge',
|
|
27
|
+
'HBondDonorCount',
|
|
28
|
+
'HBondAcceptorCount',
|
|
29
|
+
'RotatableBondCount',
|
|
30
|
+
'HeavyAtomCount',
|
|
31
|
+
'IsotopeAtomCount',
|
|
32
|
+
'AtomStereoCount',
|
|
33
|
+
'DefinedAtomStereoCount',
|
|
34
|
+
'UndefinedAtomStereoCount',
|
|
35
|
+
'BondStereoCount',
|
|
36
|
+
'DefinedBondStereoCount',
|
|
37
|
+
'UndefinedBondStereoCount',
|
|
38
|
+
'CovalentUnitCount',
|
|
39
|
+
'Volume3D',
|
|
40
|
+
];
|
|
41
|
+
/** Default properties when none specified */
|
|
42
|
+
export const DEFAULT_PROPERTIES = [
|
|
43
|
+
'MolecularFormula',
|
|
44
|
+
'MolecularWeight',
|
|
45
|
+
'IUPACName',
|
|
46
|
+
'CanonicalSMILES',
|
|
47
|
+
'IsomericSMILES',
|
|
48
|
+
'InChIKey',
|
|
49
|
+
'XLogP',
|
|
50
|
+
'TPSA',
|
|
51
|
+
'HBondDonorCount',
|
|
52
|
+
'HBondAcceptorCount',
|
|
53
|
+
'RotatableBondCount',
|
|
54
|
+
'HeavyAtomCount',
|
|
55
|
+
'Charge',
|
|
56
|
+
'Complexity',
|
|
57
|
+
];
|
|
58
|
+
/** Supported cross-reference types */
|
|
59
|
+
export const XREF_TYPES = [
|
|
60
|
+
'RegistryID',
|
|
61
|
+
'RN',
|
|
62
|
+
'PubMedID',
|
|
63
|
+
'PatentID',
|
|
64
|
+
'GeneID',
|
|
65
|
+
'ProteinGI',
|
|
66
|
+
'TaxonomyID',
|
|
67
|
+
];
|
|
68
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/services/pubchem/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA2GH,wEAAwE;AAExE,wCAAwC;AACxC,MAAM,OAAO,oBAAqB,SAAQ,KAAK;IACpC,IAAI,GAAG,sBAA+B,CAAC;CACjD;AAED,wEAAwE;AAExE,gDAAgD;AAChD,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,kBAAkB;IAClB,iBAAiB;IACjB,iBAAiB;IACjB,gBAAgB;IAChB,OAAO;IACP,UAAU;IACV,WAAW;IACX,OAAO;IACP,OAAO;IACP,WAAW;IACX,kBAAkB;IAClB,MAAM;IACN,YAAY;IACZ,QAAQ;IACR,iBAAiB;IACjB,oBAAoB;IACpB,oBAAoB;IACpB,gBAAgB;IAChB,kBAAkB;IAClB,iBAAiB;IACjB,wBAAwB;IACxB,0BAA0B;IAC1B,iBAAiB;IACjB,wBAAwB;IACxB,0BAA0B;IAC1B,mBAAmB;IACnB,UAAU;CACF,CAAC;AAEX,6CAA6C;AAC7C,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,kBAAkB;IAClB,iBAAiB;IACjB,WAAW;IACX,iBAAiB;IACjB,gBAAgB;IAChB,UAAU;IACV,OAAO;IACP,MAAM;IACN,iBAAiB;IACjB,oBAAoB;IACpB,oBAAoB;IACpB,gBAAgB;IAChB,QAAQ;IACR,YAAY;CACJ,CAAC;AAEX,sCAAsC;AACtC,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,YAAY;IACZ,IAAI;IACJ,UAAU;IACV,UAAU;IACV,QAAQ;IACR,WAAW;IACX,YAAY;CACJ,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@cyanheads/pubchem-mcp-server",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "MCP server for the PubChem chemical database. Search compounds, fetch properties, safety data, bioactivity, cross-references, and entity summaries.",
|
|
5
|
+
"mcpName": "io.github.cyanheads/pubchem-mcp-server",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "dist/index.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"bin": {
|
|
10
|
+
"pubchem-mcp-server": "dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"files": ["dist/"],
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "bun scripts/build.ts",
|
|
15
|
+
"rebuild": "bun scripts/clean.ts && bun scripts/build.ts",
|
|
16
|
+
"clean": "bun scripts/clean.ts",
|
|
17
|
+
"devcheck": "bun scripts/devcheck.ts",
|
|
18
|
+
"tree": "bun scripts/tree.ts",
|
|
19
|
+
"format": "biome check --write --unsafe .",
|
|
20
|
+
"lint:mcp": "bun scripts/lint-mcp.ts",
|
|
21
|
+
"test": "vitest run",
|
|
22
|
+
"dev:stdio": "bun --watch src/index.ts",
|
|
23
|
+
"dev:http": "MCP_TRANSPORT_TYPE=http bun --watch src/index.ts",
|
|
24
|
+
"start:stdio": "node dist/index.js",
|
|
25
|
+
"start:http": "MCP_TRANSPORT_TYPE=http node dist/index.js"
|
|
26
|
+
},
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "git+https://github.com/cyanheads/pubchem-mcp-server.git"
|
|
30
|
+
},
|
|
31
|
+
"homepage": "https://github.com/cyanheads/pubchem-mcp-server#readme",
|
|
32
|
+
"bugs": {
|
|
33
|
+
"url": "https://github.com/cyanheads/pubchem-mcp-server/issues"
|
|
34
|
+
},
|
|
35
|
+
"author": "Casey Hand <casey@cyanheads.dev> (https://github.com/cyanheads)",
|
|
36
|
+
"keywords": [
|
|
37
|
+
"mcp",
|
|
38
|
+
"mcp-server",
|
|
39
|
+
"model-context-protocol",
|
|
40
|
+
"pubchem",
|
|
41
|
+
"chemistry",
|
|
42
|
+
"compounds",
|
|
43
|
+
"bioactivity"
|
|
44
|
+
],
|
|
45
|
+
"license": "Apache-2.0",
|
|
46
|
+
"engines": {
|
|
47
|
+
"node": ">=22.0.0",
|
|
48
|
+
"bun": ">=1.2.0"
|
|
49
|
+
},
|
|
50
|
+
"packageManager": "bun@1.3.2",
|
|
51
|
+
"publishConfig": {
|
|
52
|
+
"access": "public"
|
|
53
|
+
},
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"@cyanheads/mcp-ts-core": "^0.1.18",
|
|
56
|
+
"pino-pretty": "^13.1.3"
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@biomejs/biome": "^2.4.8",
|
|
60
|
+
"@types/node": "^25.5.0",
|
|
61
|
+
"depcheck": "^1.4.7",
|
|
62
|
+
"ignore": "^7.0.5",
|
|
63
|
+
"tsc-alias": "^1.8.16",
|
|
64
|
+
"typescript": "^5.9.3",
|
|
65
|
+
"vitest": "^4.1.0"
|
|
66
|
+
}
|
|
67
|
+
}
|