Hive Barter logo

Hive Barter

MCP server for discovering 402 endpoints, estimating prices, and tracking USDC barter spreads.

Install Hive Barter

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for Hive Barter, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

The Hive Barter MCP server discovers 402-enabled MCP endpoints, probes asking prices, and tracks USDC arbitrage results. It exposes three MCP tools over Streamable HTTP and also provides REST endpoints for discovery, probing, counter-offers, settlement, and ledger data. Reach for it when an agent needs to evaluate non-cash capability exchange across public MCP registries. Real counter-offers require wallet configuration and can be enabled separately from the default read-only behavior.

Use cases

  • Discover 402-enabled MCP endpoints from public registries
  • Estimate reservation prices with descending quote probes
  • Review daily probes, accepted counters, and USDC spread
  • Create and settle single-shot counter-offers on Base

Key features

  • 402 endpoint discovery across three public registries
  • Demand-curve probing with up to five offers
  • USDC arbitrage ledger and daily P&L
  • Pre-signed counter-offer envelopes
  • Configurable outbound spending and probe limits
  • MCP over Streamable HTTP

Tools3

What Hive Barter lets your agent do. Expand a tool for its parameters.

Self-reported~89 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

4/4 checks healthy over the last 35d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit2mo agoMost recent push to the default branch.
Tools exposed3Callable tools this server registers over MCP.

How Hive Barter works

What Hive Barter MCP server does

The Hive Barter MCP server provides an outbound workflow for evaluating and exchanging capabilities through the 402 payment surface. It searches public MCP registries for endpoints that advertise 402 support, records their last-seen asking prices, and estimates whether a target may accept a lower offer. The supported registries are glama, smithery, and mcp.so.

Its MCP interface contains three tools:

  • barter_discover lists 402-enabled endpoints and their last-seen prices.
  • barter_quote_curve sends up to five probes at progressively lower floor percentages and returns a reservation-price estimate.
  • barter_arbitrage_book reports the day’s probes, accepted counters, and realized USDC spread.

The project also exposes HTTP routes for discovery, probing, creating a signed counter-offer, settling an accepted offer, reading the running ledger, and viewing the current day’s aggregate. Health and MCP discovery routes are available at /health and /.well-known/mcp.json.

How it works

The Hive Barter MCP server uses MCP 2024-11-05 over Streamable HTTP with JSON-RPC 2.0. MCP requests are sent to POST /mcp. A separate REST flow can scan registries, send a 402-style quote request, create a counter at the configured percentage, and settle an accepted counter on Base using USDC.

A counter-offer is single-shot. It contains the observed asking price, the proposed amount, an atomic USDC value, an expiration, attribution data, and a pre-signed transaction. The target accepts by broadcasting that transaction; the system does not perform a second negotiation round.

The default resale rules compare the target’s asking price and configured counter percentage with category-specific resale floors. The documented categories are LLM tokens, oracle reads, storage writes, and KYC checks. The service skips a counter when the expected margin does not clear the stated threshold.

Setup and configuration

Run the repository locally with npm install followed by npm start. The default service address is port 3000, with MCP available at http://localhost:3000/mcp.

The Hive Barter MCP server keeps outbound activity disabled unless ENABLE_OUTBOUND=true. When enabled, its five-minute cron loop can place real bids, but signing requires PRIVATE_KEY, a hexadecimal key for the wallet funding counter-offers. Without that key, the counter route returns an unsigned envelope and the cron loop does not place real bids. The key should not be committed to source control.

Other settings control the port, wallet and USDC contract addresses, Base RPC URL, resale revaluation service, daily spend limit, maximum counter size, and counter percentage. Missing or invalid risk-control values use stricter defaults.

Limitations and notes

Settlement uses real USDC on Base rather than a simulated payment rail. Default limits include a maximum single counter of $0.50 USDC, a $25 daily outbound limit, one probe per target per 24 hours, and 30 distinct targets per hour. A target can be blacklisted after three or more non-responses. These controls fail closed.

The documented MCP client connection uses mcp-remote with Claude Desktop or Cursor and the deployed /mcp URL. The repository is licensed under MIT.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Hive Barter

Hive Barter is an MCP server that connects agents to public registries of 402-enabled MCP endpoints, including glama, smithery, and mcp.so. Its main tools discover endpoints, estimate reservation prices through up to five quote probes, and report daily probes, accepted counters, and realized USDC spread.

Install it by cloning the repository, running `npm install`, and starting it with `npm start`. The local service uses port 3000 by default, with MCP available at `/mcp` and health information at `/health`.

Enable real counter-offers by setting `PRIVATE_KEY` and, for the automated five-minute loop, `ENABLE_OUTBOUND=true`. Without `PRIVATE_KEY`, the counter endpoint returns an unsigned envelope and the cron loop does not place real bids. Never commit the private key.

Yes, Hive Barter works with Cursor through `mcp-remote` and the deployed Streamable HTTP endpoint. The README provides an `mcp.json` configuration using the server URL and also documents Claude Desktop as a supported client.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHive Barter AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/hive-barter?style=directory)](https://allmcps.com/mcp/hive-barter)
HTML Embed
<a href="https://allmcps.com/mcp/hive-barter"><img src="https://allmcps.com/api/badge/hive-barter?style=directory" alt="Hive Barter on AllMCPs" /></a>