fda-mcp-server 0.0.12 → 0.0.13

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.
Files changed (2) hide show
  1. package/README.md +25 -18
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -40,13 +40,11 @@ The enriched tools are powered by 1,047 classified warning letters, 6,714 Form 4
40
40
 
41
41
  ## Setup
42
42
 
43
- ### Prerequisites
43
+ ### Free (local, no account needed)
44
44
 
45
- [Node.js](https://nodejs.org/) v18 or later.
45
+ Runs locally via npx. No API key, no account, no server.
46
46
 
47
- ### Claude Desktop
48
-
49
- Add to your Claude Desktop config (`Settings → Developer → Edit Config`):
47
+ **Claude Desktop** — add to `Settings > Developer > Edit Config`:
50
48
 
51
49
  ```json
52
50
  {
@@ -59,37 +57,46 @@ Add to your Claude Desktop config (`Settings → Developer → Edit Config`):
59
57
  }
60
58
  ```
61
59
 
62
- Restart Claude Desktop. You should see a hammer icon indicating FDA tools are available.
60
+ **Claude Code:**
61
+
62
+ ```bash
63
+ claude mcp add fda -- npx -y fda-mcp-server
64
+ ```
65
+
66
+ Restart your client. You should see `search_recalls`, `search_device_events`, and `company_enforcement_profile`.
67
+
68
+ ### Pro (hosted, all 6 tools)
63
69
 
64
- ### Enabling Pro Tools
70
+ Get an API key at [fda-mcp.jasencarroll.com](https://fda-mcp.jasencarroll.com). Pro connects to the hosted server over HTTP — no npm install needed.
65
71
 
66
- Get an API key at [fda-mcp.jasencarroll.com](https://fda-mcp.jasencarroll.com), then add it to your config:
72
+ **Claude Desktop** add to `Settings > Developer > Edit Config`:
67
73
 
68
74
  ```json
69
75
  {
70
76
  "mcpServers": {
71
77
  "fda": {
72
- "command": "npx",
73
- "args": ["-y", "fda-mcp-server"],
74
- "env": {
75
- "FDA_API_KEY": "fda_live_your-key-here"
78
+ "type": "streamable-http",
79
+ "url": "https://fda-mcp-server.jasencarroll.com/mcp",
80
+ "headers": {
81
+ "Authorization": "Bearer fda_live_your-key-here"
76
82
  }
77
83
  }
78
84
  }
79
85
  }
80
86
  ```
81
87
 
82
- ### Claude Code
88
+ **Claude Code:**
83
89
 
84
90
  ```bash
85
- claude mcp add fda -- npx -y fda-mcp-server
91
+ claude mcp add fda --transport http https://fda-mcp-server.jasencarroll.com/mcp --header "Authorization: Bearer fda_live_your-key-here"
86
92
  ```
87
93
 
88
- With Pro tools:
94
+ ### Any MCP client
89
95
 
90
- ```bash
91
- claude mcp add fda -e FDA_API_KEY=fda_live_your-key-here -- npx -y fda-mcp-server
92
- ```
96
+ The server supports two transports:
97
+
98
+ - **stdio** (free tools): `npx fda-mcp-server` — standard MCP stdio transport
99
+ - **HTTP** (all tools): `POST https://fda-mcp-server.jasencarroll.com/mcp` — Streamable HTTP transport with `Authorization: Bearer` header
93
100
 
94
101
  ## Data Sources
95
102
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fda-mcp-server",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "MCP server for FDA Warning Letters, Form 483 Inspections, and Enforcement/Recall data. Query FDA public data from any MCP client.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",