Developers
Public MCP server
Free, read-only access to The Wiley Rule’s public data for Claude and other AI apps, using the Model Context Protocol (MCP). Server URL: https://thewileyrule.org/mcp
Not medical advice. Every result includes source links and a medical disclaimer. Never use these tools for dosing. In an emergency call 911. Poison Help: 1-800-222-1222. Crisis line: 988.
Add it to Claude (claude.ai or Claude Desktop)
- Open Settings → Connectors (on Team or Enterprise plans an owner may need to allow custom connectors).
- Choose Add custom connector.
- Name:
The Wiley Rule. URL:https://thewileyrule.org/mcp. Leave OAuth fields empty (no sign-in needed). - Click Add, then enable it in a chat from the tools menu. Try: “Using The Wiley Rule, which states ban concentrated 7-OH?”
Older Claude Desktop builds without custom connectors can use the mcp-remote (opens in a new tab) bridge in claude_desktop_config.json:
{
"mcpServers": {
"wiley-rule": { "command": "npx", "args": ["-y", "mcp-remote", "https://thewileyrule.org/mcp"] }
}
}Claude Code
claude mcp add --transport http wiley-rule https://thewileyrule.org/mcpCursor, VS Code and other MCP clients
Any client that supports remote MCP servers over Streamable HTTP works. Example (.cursor/mcp.json or VS Code mcp.json):
{
"mcpServers": {
"wiley-rule": { "url": "https://thewileyrule.org/mcp" }
}
}Test with the MCP Inspector: npx @modelcontextprotocol/inspector, choose transport “Streamable HTTP” and enter the URL.
Tools
search_research(query, topic?, year?, limit?)
Search the public research library (288 studies) on 7-OH, MGPI, kratom alkaloids and related products.get_study(id)
One study by library id, PMID or DOI.search_products(query, limit?)
Products on our product pages, with only sourced claims: lab or forensic tests, FDA warning letters, court filings.state_actions(state?)
State bans, scheduling and rules on concentrated 7-OH.bill_status(query?)
Tracked bills and federal actions (NC bills, DEA scheduling, FDA).nc_legislation()
North Carolina bills and status.find_my_lawmakers(zip)
NC only: House and Senate districts for a ZIP and members' public office pages.who_supports(office?)
Public officials with a public record of support: name, office, district, party, evidence label.latest_news(n?)
Latest public news and official notices.key_dates()
Upcoming dates that matter.about_wiley_rule()
Who we are, our mission, how to report a product.
Raw JSON-RPC
The server is stateless and answers with JSON (no session, no SSE stream).
curl -s https://thewileyrule.org/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"state_actions","arguments":{"state":"NC"}}}'Limits and rules
- Read-only and public data only: the same information that is on this website. No accounts, no personal data.
- Rate limit: 60 requests per minute and 1,500 per day per IP address. Requests over the limit get HTTP 429 with
Retry-After. - Inputs are capped (search text 200 characters, request body 16 KB, batches of up to 10 calls). CORS is open for browser clients.
- Product claims are limited to sourced records (lab tests, FDA actions, court filings). There is no store or seller data.
- Please attribute “The Wiley Rule” and link the sources returned. Questions or problems: [email protected].