Hive A/B Test MCP Server
A/B experiment runner for the A2A network with x402 micropayments on Base USDC.
Hive A/B Test scores 53 (Fair), licensed MIT and written in JavaScript. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Uncategorized. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
53 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 53 comes from
22 + 10 + 0 + 10 + 4 + 7 = 53. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 10 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "srotzin-hive-mcp-abtest": { "url": "https://hive-mcp-abtest.onrender.com/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
hive-mcp-abtest
A/B experiment runner for the A2A network. An inbound-only MCP shim that gives autonomous agents a deterministic, sticky bucket assignment, a conversion-recording endpoint, and a two-proportion Z-test stat-sig calculator. Pricing is per call via x402 on Base USDC.
$0.001perabtest_assign$0.005perabtest_record_conversionabtest_resultsis free and read-only
The shim does not run experiments on behalf of the caller. It records assignments and conversions for experiments the caller registers, and returns aggregate counts and a Z-test on demand.
How bucket assignment works
Bucket is SHA-256(experiment_id + "|" + agent_did), with the first four bytes read as an unsigned 32-bit integer, modulo the sum of variant weights. The first call writes the result. Subsequent calls return the same row, so assignment is sticky for the lifetime of the SQLite store.
A variant list is [{ id, weight? }, ...]. Weight defaults to 1 per variant. Pass [{id:"control"},{id:"treatment",weight:3}] for a 25/75 split.
Stat-sig calculator
Two-proportion Z-test with pooled variance over the first two registered variants. Output includes z_score, two-sided p_value, relative_lift, and significant_95 / significant_99 boolean flags.
MCP
- Transport: Streamable HTTP, JSON-RPC 2.0
- Protocol:
2024-11-05 - Endpoint:
POST /mcp
Tools:
| Tool | Tier | Price |
|---|---|---|
abtest_assign | 3 | $0.001 |
abtest_record_conversion | 3 | $0.005 |
abtest_results | 0 | free |
REST
| Method | Path | Purpose |
|---|---|---|
| GET | /v1/abtest | List experiments |
| POST | /v1/abtest | Create or upsert experiment { id, name?, variants } |
| GET | /v1/abtest/:id | Get experiment |
| PUT | /v1/abtest/:id | Update experiment |
| DELETE | /v1/abtest/:id | Delete experiment |
| POST | /v1/abtest/assign | { experiment_id, agent_did, variants? } — $0.001 |
| POST | /v1/abtest/convert | { experiment_id, agent_did, metric?, value? } — $0.005 |
| GET | /v1/abtest/results | ?experiment_id=...&metric=... — Z-test included |
| GET | /v1/abtest/today | UTC-day assignment + conversion counts |
| GET | /health | Liveness, version, and DB check |
Storage
SQLite at /tmp/abtest.db with three tables: experiments, assignments, conversions. Override with DB_PATH.
Environment
| Variable | Default |
|---|---|
PORT | 3000 |
ENABLE | true |
WALLET_ADDRESS | 0x15184bf50b3d3f52b60434f8942b7d52f2eb436e |
PRICE_ASSIGN_USDC | 0.001 |
PRICE_CONVERT_USDC | 0.005 |
DB_PATH | /tmp/abtest.db |
X402_ENABLED | true |
Set X402_ENABLED=false to bypass payment gating in local development.
Quickstart
npm install
npm start
# in another shell
curl -s http://localhost:3000/health
curl -s -X POST http://localhost:3000/v1/abtest \
-H 'content-type: application/json' \
-d '{"id":"prompt_v2","name":"prompt v2","variants":[{"id":"control"},{"id":"treatment","weight":3}]}'
curl -s -X POST http://localhost:3000/v1/abtest/assign \
-H 'content-type: application/json' -H 'x-payment: {}' \
-d '{"experiment_id":"prompt_v2","agent_did":"did:hive:demo:1"}'
The first call without a paid x402 envelope returns a 402 body with a fresh nonce. Submit a tx hash and payer to /v1/x402/submit to mint a short-lived access token, then retry.
License
MIT. See LICENSE.
Author
Steve Rotzin · steve@thehiveryiq.com · https://www.thehiveryiq.com
Hive Civilization Directory
Part of the Hive Civilization — agent-native financial infrastructure.
- Endpoint Directory: https://thehiveryiq.com
- Live Leaderboard: https://hive-a2amev.onrender.com/leaderboard
- Revenue Dashboard: https://hivemine-dashboard.onrender.com
- Other MCP Servers: https://github.com/srotzin?tab=repositories&q=hive-mcp
Brand: #C08D23
Frequently asked questions
What is Hive A/B Test MCP Server?
A/B experiment runner for the A2A network with x402 micropayments on Base USDC.
How do I install Hive A/B Test MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Hive A/B Test MCP Server connects to the remote endpoint https://hive-mcp-abtest.onrender.com/mcp, so there is nothing to install locally.
Is Hive A/B Test MCP Server free and open source?
Yes. Hive A/B Test MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Hive A/B Test MCP Server support remote (HTTP) connections?
Yes. Hive A/B Test MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
How is Hive A/B Test MCP Server's trust score calculated?
Hive A/B Test MCP Server scores 53 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.