@cyanheads/pubchem-mcp-server 0.1.2 → 0.1.3
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 +12 -5
- package/package.json +13 -3
- package/server.json +3 -3
package/README.md
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<h1
|
|
3
|
-
<p><b>MCP server for the PubChem chemical database. Search compounds, fetch properties, safety data, bioactivity, cross-references, and entity summaries.
|
|
2
|
+
<h1>@cyanheads/pubchem-mcp-server</h1>
|
|
3
|
+
<p><b>MCP server for the PubChem chemical database. Search compounds, fetch properties, safety data, bioactivity, cross-references, and entity summaries. STDIO & Streamable HTTP</b></p>
|
|
4
|
+
<p><b>8 Tools</b></p>
|
|
4
5
|
</div>
|
|
5
6
|
|
|
6
7
|
<div align="center">
|
|
7
8
|
|
|
8
|
-
[](./CHANGELOG.md) [](https://www.npmjs.com/package/@cyanheads/mcp-ts-core) [](https://modelcontextprotocol.io/) [](./LICENSE) [](https://www.typescriptlang.org/) [](https://bun.sh/)
|
|
9
10
|
|
|
10
11
|
</div>
|
|
11
12
|
|
|
@@ -114,16 +115,19 @@ Add to your MCP client config (e.g., `claude_desktop_config.json`):
|
|
|
114
115
|
### Installation
|
|
115
116
|
|
|
116
117
|
1. **Clone the repository:**
|
|
118
|
+
|
|
117
119
|
```sh
|
|
118
120
|
git clone https://github.com/cyanheads/pubchem-mcp-server.git
|
|
119
121
|
```
|
|
120
122
|
|
|
121
|
-
|
|
123
|
+
1. **Navigate into the directory:**
|
|
124
|
+
|
|
122
125
|
```sh
|
|
123
126
|
cd pubchem-mcp-server
|
|
124
127
|
```
|
|
125
128
|
|
|
126
|
-
|
|
129
|
+
1. **Install dependencies:**
|
|
130
|
+
|
|
127
131
|
```sh
|
|
128
132
|
bun install
|
|
129
133
|
```
|
|
@@ -147,17 +151,20 @@ No API keys are required — PubChem's API is freely accessible.
|
|
|
147
151
|
### Local Development
|
|
148
152
|
|
|
149
153
|
- **Build and run the production version:**
|
|
154
|
+
|
|
150
155
|
```sh
|
|
151
156
|
bun run build
|
|
152
157
|
bun run start:http # or start:stdio
|
|
153
158
|
```
|
|
154
159
|
|
|
155
160
|
- **Run in dev mode (auto-reload):**
|
|
161
|
+
|
|
156
162
|
```sh
|
|
157
163
|
bun run dev:stdio # or dev:http
|
|
158
164
|
```
|
|
159
165
|
|
|
160
166
|
- **Run checks and tests:**
|
|
167
|
+
|
|
161
168
|
```sh
|
|
162
169
|
bun run devcheck # Lints, formats, type-checks
|
|
163
170
|
bun run test # Runs test suite
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyanheads/pubchem-mcp-server",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "MCP server for the PubChem chemical database. Search compounds, fetch properties, safety data, bioactivity, cross-references, and entity summaries.",
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"description": "MCP server for the PubChem chemical database. Search compounds, fetch properties, safety data, bioactivity, cross-references, and entity summaries. STDIO & Streamable HTTP.",
|
|
5
5
|
"mcpName": "io.github.cyanheads/pubchem-mcp-server",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -43,6 +43,16 @@
|
|
|
43
43
|
"bioactivity"
|
|
44
44
|
],
|
|
45
45
|
"license": "Apache-2.0",
|
|
46
|
+
"funding": [
|
|
47
|
+
{
|
|
48
|
+
"type": "github",
|
|
49
|
+
"url": "https://github.com/sponsors/cyanheads"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "buy_me_a_coffee",
|
|
53
|
+
"url": "https://www.buymeacoffee.com/cyanheads"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
46
56
|
"engines": {
|
|
47
57
|
"node": ">=22.0.0",
|
|
48
58
|
"bun": ">=1.2.0"
|
|
@@ -52,7 +62,7 @@
|
|
|
52
62
|
"access": "public"
|
|
53
63
|
},
|
|
54
64
|
"dependencies": {
|
|
55
|
-
"@cyanheads/mcp-ts-core": "^0.1.
|
|
65
|
+
"@cyanheads/mcp-ts-core": "^0.1.21",
|
|
56
66
|
"pino-pretty": "^13.1.3"
|
|
57
67
|
},
|
|
58
68
|
"devDependencies": {
|
package/server.json
CHANGED
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
"url": "https://github.com/cyanheads/pubchem-mcp-server",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "0.1.
|
|
9
|
+
"version": "0.1.3",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
14
14
|
"identifier": "@cyanheads/pubchem-mcp-server",
|
|
15
15
|
"runtimeHint": "bun",
|
|
16
|
-
"version": "0.1.
|
|
16
|
+
"version": "0.1.3",
|
|
17
17
|
"packageArguments": [
|
|
18
18
|
{ "type": "positional", "value": "run" },
|
|
19
19
|
{ "type": "positional", "value": "start:stdio" }
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
37
37
|
"identifier": "@cyanheads/pubchem-mcp-server",
|
|
38
38
|
"runtimeHint": "bun",
|
|
39
|
-
"version": "0.1.
|
|
39
|
+
"version": "0.1.3",
|
|
40
40
|
"packageArguments": [
|
|
41
41
|
{ "type": "positional", "value": "run" },
|
|
42
42
|
{ "type": "positional", "value": "start:http" }
|