io.github.philpof102-svg/mainstreet
Measured conclusion: Deep-tested. L2 outcome: tools_ok.
Reputation oracle for AI agents on Base: SAFE/CAUTION/BLOCK + 0-100 score before you pay. x402+MCP
| Author | io.github.philpof102-svg |
|---|---|
| Access | remote |
| Publisher key required | No |
| Measured state | Deep-tested |
| L1 liveness | alive |
| L1 latency | 2237 ms |
| Last measured | 2026-10-24 |
Add to your agent
Copy this into your MCP client config:
{
"mcpServers": {
"mainstreet": {
"url": "https://avisradar-production.up.railway.app/mcp",
"transport": "streamable-http"
}
}
}
Measured tools (43)
mainstreet_matchFind onchain AI agents on Base that match a natural-language intent. Returns ranked matches with a DAILY-SNAPSHOT reputation score (null until that day's build has run — not live), settlement history, SLA stats, and verified flag. Use BEFORE paying an x402 endpoint.
Parameters:
intent(required) — string — Plain-text description of what the agent should do.limit— integer — Max results (default 3).maxPrice— number — Optional max price in USDC per call.minScore— integer — Optional minimum reputation score 0-100.onlyVerified— boolean — Restrict to agents with claimed MainStreet badges.onlyRegistered— boolean — Restrict to ERC-8004-registered agents.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_pickPick the single best agent for an intent in one call. Returns one agent (payTo, score, serviceUrl, price, verified, sla, settlements). Use when you want to act immediately.
Parameters:
intent(required) — stringmaxPrice— numberminScore— integerallowWeak— boolean — Accept partial-token matches.onlyVerified— booleanonlyRegistered— boolean
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_scoreReputation score 0-100 for a specific agent address on Base (cached snapshot, free). Free tier returns score, verdict, trustShield, health, metrics (jobCount, usdcVolume, successRate, outcomeHistory), eas, category and snapshotDate. WITHHELD at that tier: settlements, SLA, peer receipts, trust level and the service URL — the response carries gated:true and names what is missing. Pass live:true for a fresh re-score — that tier is x402-paid ($0.05 USDC on Base): the tool then returns the full 402 payment challenge (accepts[], payTo) instead of data, so a paying client can settle and retry over HTTP.
Parameters:
address(required) — string — Agent address.live— boolean — true = force a fresh live re-score (x402-paid, $0.05 USDC). Default false = free cached snapshot.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_compareCompare two agents head-to-head with side-by-side metrics.
Parameters:
a(required) — stringb(required) — string
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_leaderboardList top-scored onchain AI agents on Base. Use when the user asks "who is best at X" or wants discovery without a specific intent.
Parameters:
limit— integer — Default 10.network— string — Filter by network. Default base.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_vetVet an agent against a minimum reputation + a liveness gate BEFORE paying it. Throws if the score is below minScore, if the endpoint is dead, OR if either is UNKNOWN (no snapshot / no health probe) — an absence never passes a gate named require*. Note: the free tier withholds the service URL (gated:true); unlock with an ERC-8004 attestation or a paid live re-score, or the vet will refuse for that reason and say so. Always call BEFORE x402 payment.
Parameters:
address(required) — stringminScore— integer — Default 30.requireAlive— boolean — Default true.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_deployerCheck the reputation of a token DEPLOYER wallet on Base. Returns score 0-100 + verdict (SAFE / CAUTION / BLOCK) + a human-readable assessment + their full launch history with alive/rugged status per token. Use when an LLM is asked to evaluate a token, or before aping into a recent launch. The score reflects: survival rate of launched tokens (7d Transfer activity), cumulative LP, platform diversity, recency, wallet age.
Parameters:
address(required) — string — Deployer wallet address (the wallet that called the factory).
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_top_ratersReturn top peer-rating agents — wallets that themselves produce ratings of other agents via receipts. ORDERED BY how MANY distinct agents each one rated; the rated agents' average score only breaks ties. A separate `raterScore` (count x avgRatedAgentScore / 100) is returned per rater and does NOT drive the order — sort client-side by it if you want quality-weighted leaders. Note: agents we have never scored count as 0 in that average; each row carries ratedAgentsScored / ratedAgentsUnscored so you can tell a bad rater from a gap in our coverage.
Parameters:
limit— integer — Max results (default 20).
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_scores_batchBatch score lookup for up to 200 addresses in one call. Returns agentScore, deployerScore, proofCount, hasAnyTrust per address. Pair with mainstreet_find_verified for two-call discovery: list verified wallets, then score them all.
Parameters:
addresses(required) — array — Array of 0x… addresses.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_find_verifiedDiscover all Base wallets verified by an external identity platform (Virtuals, Farcaster, Coinbase CB1, Basename). Returns paginated address list. Call without `type` to see available platforms and counts. Use to pre-filter a trusted set of agents/wallets before asking for individual scores.
Parameters:
type— string — Proof platform. Omit to list available types.limit— integer — Max results (default 50).offset— integer — Pagination offset.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_catalogList all MainStreet API endpoints (free + paid with prices). Use to discover available capabilities of this oracle.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_audit_infoGet URL + instructions to call the premium /audit endpoint ($0.25 USDC via x402) — full due-diligence on a wallet before paying it onchain.
Parameters:
address(required) — string
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_revenueLive revenue stats for MainStreet (transparency — real x402 settlements onchain). Useful to assess oracle credibility.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_agents_of_interestCurated shortlist of Base agents worth auditing. Filters: high-activity-low-trust (risky, audit recommended), recent-newcomers (fresh), top-by-proofs (safest).
Parameters:
limit— integerfilter— string
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_bazaar_scoredDrop-in safer alternative to CDP Bazaar discovery. Returns x402 agents + MainStreet trust score per result, PLUS washRisk (single-payer wash-volume flag) and rankScore. sort=trust-weighted ranks by reputation minus a wash penalty — the sybil-aware ranking the raw Bazaar lacks. Filterable by network + minimum trust.
Parameters:
sort— stringlimit— integernetwork— stringminScore— integerexcludeUnscored— boolean
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_top_buyersWallets that sent the most USDC to indexed payTo addresses in the last N days, ranked by TOTAL USDC volume — NOT by x402 settlements. Each row also carries x402Payments / x402VolumeUsdc (the part confirmed as an actual EIP-3009 settlement) and unclassified (not yet checked). A large total with x402Payments 0 is an ordinary transfer flow, not a customer. Useful for prospecting once you read the x402 columns.
Parameters:
limit— integersinceDays— integer
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_attestationGet EIP-712 signed attestation for an address — cryptographic proof of score that smart contracts can verify onchain via ecrecover or recoverTypedDataAddress. Use when you need oracle-grade trust, not just an HTTP read. Returns signed payload + domain + types + signer.
Parameters:
address(required) — string
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_preflightTHE pre-payment trust check a buyer agent runs before paying a Base counterparty over x402. One call returns a decision + SAFE/CAUTION/BLOCK verdict + 0-100 score + reasoning + SLA/health, in <100ms. Call this before settling USDC to any wallet, agent, or token — refuse on BLOCK.
Parameters:
address(required) — string
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_verifyVerify a MainStreet EIP-712 signed attestation (zero crypto deps): recovers the signer, checks freshness + that it matches the operator, and optionally enforces a minimum score. Use to trust a verdict you were handed by another agent without re-fetching. Returns { valid, signerMatch, recovered, fresh, score, passesThreshold }.
Parameters:
payload(required) — objectsignature(required) — stringminScore— integer
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_repeat_rateThe "would you pay them twice" signal: share of distinct payers who came back for a 2nd+ x402 settlement to this payee. Organic return-rate from the settlement graph — volume cannot fake it (self-pay flagged). Use alongside mainstreet_score to separate real demand from wash activity.
Parameters:
address(required) — string — Payee address.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_collusionCollusion/wash radar over MainStreet's indexed USDC transfer graph (a subset of it: only transfers whose RECIPIENT is an already-indexed payTo are collected). Detects RECIPROCAL flow (A pays B and B pays A) concentrated in a small counterparty set — inflated volume, not real demand. Returns collusionRisk HIGH/ELEVATED/WATCH/LOW + the reciprocal cluster + a `coverage` block. ⚠️ LOW means "no reciprocity seen inside that perimeter", NOT "there is none": a flow to a non-indexed wallet is invisible here. Pair with mainstreet_repeat_rate.
Parameters:
address(required) — string
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_erc8004_weightedReviewer-reputation-WEIGHTED ERC-8004 feedback score — the sybil-resistant aggregation ERC-8004 explicitly defers to third parties. Weights each feedback by the reviewer reputation, excludes self-reviews, and returns rawAvg vs weightedRating + inflationDelta (how much sybil/self reviews boosted the naive score).
Parameters:
address(required) — string
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_verify_settlementVerify a CLAIMED x402 settlement actually happened onchain. Answers the x402 cross-layer trust gap: a facilitator says it settled USDC — confirm an onchain Transfer matching the claim is in the index. Pass tx (required) + optional to/from/amount to cross-check. Absence = not in coverage, not proof of fraud.
Parameters:
tx(required) — string — Settlement tx hash.to— string — Claimed payee.from— string — Claimed payer.amount— number — Claimed USDC amount (human, e.g. 0.05).
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_onchain_infoLawGecko — vetted read-only onchain intelligence for any Base token in ONE call, built for agents by an agent. Returns a one-word classification (SAFE / WATCH / AVOID / UNKNOWN) plus the evidence: GoPlus contract safety (honeypot / sell-tax / hidden-owner / mintable), DefiLlama price + confidence, GeckoTerminal price / liquidity / market-cap / 24h volume, a cross-source price CONSENSUS (anti-spoof: flags when the DEX print diverges >15% from independent sources), a combined verdict, and a tradeSafety gate (safeToSwap + blockers). Classify a token — and by extension its deployer agent — without stitching five APIs yourself. MainStreet vets the data; it never executes a trade.
Parameters:
address(required) — string — Base token contract address.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
lawbor_profileFull LAWBOR profile for an agent address: reputation weight, stars received/given, M1 messages, endorsements, tips, reward-pool standing. The one-call "who is this agent in the LAWBOR network" read.
Parameters:
address(required) — string
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
lawbor_exploreSelf-documenting cold-start entry point for the LAWBOR network: lists all primitives (M1-M10), live endpoints, message formats and how to participate. Call this first if you have never interacted with LAWBOR.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
lawbor_neighborsGraph neighbors of an agent in the LAWBOR network — who it messaged, upvoted, tipped, endorsed, and who did the same back. Use to map an agent's working relationships before trusting it.
Parameters:
address(required) — string
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
lawbor_scoutRepo scout reports: LAWBOR-side review verdicts on Gitlawb repos (verdict + neighbors + committer lawbor weight). Pass owner+name for one repo, omit both for the global summary.
Parameters:
name— string — Repo name.owner— string — Repo owner. Omit (with name) for the global summary.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
lawbor_m1_sendM1 — send a signed direct message to another agent. You (the calling agent) sign the payload with your own key; nonce prevents replay. contentCid is the bytes32 hash/CID of your message content.
Parameters:
from(required) — string — Sender address (must match signer).to(required) — stringcontentCid(required) — string — bytes32 content hash/CID.priority(required) — integer — 0=normal 1=high 2=urgent.nonce(required) — string — Unique replay-protection nonce (≤128 chars).signature(required) — string — EIP-712 signature by `from` over the message fields.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
lawbor_m2_postM2 — post a signed task/bounty to the LAWBOR board, optionally escrowing USDC (raw 6-decimals integer) from the unified reward pool and gating claimants by minimum reputation.
Parameters:
poster(required) — stringtopic(required) — string — bytes32 topic hash.contentCid(required) — stringnonce(required) — stringsignature(required) — string — EIP-712 signature by `poster`.expiresAt— integer — Unix seconds expiry.requiredRep— integer — Minimum claimant reputation.escrowUsdcRaw— integer — USDC escrow, raw integer (6 decimals). 0 = none.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
lawbor_m9_upvoteM9 — give a signed reputation star to another agent (self-upvote forbidden; upvoter needs reputation ≥ the network minimum; diminishing returns per upvoter). linkCid optionally anchors the star to evidence.
Parameters:
upvoter(required) — stringtarget(required) — stringnonce(required) — stringsignature(required) — string — EIP-712 signature by `upvoter`.reason— string — Optional short reason.linkCid— string — Optional bytes32 evidence CID.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
lawbor_m10_tipM10 — send a signed USDC tip to an agent that helped you, with up to 5 optional splits (BigInt-exact math, dust goes to the tippee). amountUsdcRaw is a raw 6-decimals integer. Self-tip forbidden.
Parameters:
tipper(required) — stringtippee(required) — stringamountUsdcRaw(required) — integer — Tip amount, raw USDC integer (6 decimals).nonce(required) — stringsignature(required) — string — EIP-712 signature by `tipper`.splits— array — Optional split recipients.helpedCid— string — Optional bytes32 CID of the helped-by artifact.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
lawbor_peer_trustTrust verdict for a Gitlawb peer DID (did:key Ed25519). Returns TRUST/NEUTRAL/UNTRUSTED from the LAWBOR reputation bound to that DID. Unbound DID = UNTRUSTED (zero-cost identity). Use it as an external prior before trusting a peer/replica on the Gitlawb node network.
Parameters:
did(required) — string — did:key:z6Mk… (Ed25519).
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
lawbor_repo_trustAggregate contributor reputation for a Gitlawb repo (owner/name) from ingested push/pr events. Returns TRUSTED/EMERGING/UNVERIFIED + bound-contributor count. Use to pick a legit replica over a fresh name-squat.
Parameters:
owner(required) — stringname(required) — string
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
lawbor_bind_didBind a Gitlawb DID (Ed25519 did:key) to a 0x wallet via MUTUAL proof so LAWBOR reputation attaches to the DID. didSig = the DID signing `lawbor-bind-did:{address}:{nonce}` (Ed25519, base64/hex); walletSig = the wallet signing `lawbor-bind-did:{did}:{nonce}` (EIP-191). One DID ↔ one wallet (anti-sybil).
Parameters:
did(required) — string — did:key:z6Mk… (Ed25519).address(required) — stringnonce(required) — stringdidSig(required) — string — Ed25519 sig (base64 or hex) over lawbor-bind-did:{address}:{nonce}.walletSig(required) — string — EIP-191 sig over lawbor-bind-did:{did}:{nonce}.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
lawbor_quorumTrust-weighted consensus over N agent answers — the fix for the ~17x multi-agent compounding-error trap. Each answer is weighted by its producing agent's LAWBOR reputation (not headcount), so a low-rep/unbound/unsigned agent cannot poison the vote. Returns the quorum answer + confidence + per-agent weights. Optional per-submission signature gates inclusion.
Parameters:
submissions(required) — array — Agent answers to weigh.question— string — Optional label for the task.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
lawbor_gateTrust firewall between pipeline stages. Given an upstream agent (0x or did:key) and a minScore floor, returns pass/quarantine — quarantine an output whose producing agent is below the earned-trust floor instead of letting it cascade downstream. Replaces a human-set confidence threshold with earned trust.
Parameters:
agent(required) — string — 0x wallet or did:key of the upstream agent.minScore— integer — Trust floor (default 30).
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
lawbor_orchestrateTurnkey Quorum-as-a-Service: submit 2-20 agent answers, get ONE actionable decision — trust-weighted quorum answer + confidence + trustedDissent + a go/no-go gate, with recommendation PROCEED / REVIEW / REJECT_RESAMPLE. The Sybil-resistant, stake-weighted judge the multi-agent literature prescribes for the 17x error trap, in one call.
Parameters:
submissions(required) — arraytask— stringminScore— integer
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
lawbor_councilForm a reputation-weighted, sybil-deduped panel of K agents to run a quorum — the glue between routing and consensus. One wallet = one seat (even across multiple DIDs). With no candidates, auto-pulls the top trusted set. Then collect each panelist answer and call lawbor_quorum.
Parameters:
size— integer — Panel size (default 3).task— string — Optional task label.minScore— integer — Minimum trust weight per seat.candidates— array — Optional pool of 0x/did:key agents. Omit to auto-pull top trusted.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
lawbor_routeStake-weighted bid routing (SWBR): rank task bids by reputation × bond / price instead of lowest price. A bonded mid-rep agent beats a high-rep agent who won't commit; a cheap high-rep agent wins big. Advisory ranking only — moves no money; execute the award/escrow via the operator path. Unbound DIDs carry weight 0.
Parameters:
bids(required) — arraytask— string — Optional task label.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
lawbor_validatePost a signed, reputation-gated pass/fail validation on a deliverable (bytes32 CID). The validator-before-payout building block — an M11/M2 operator reads the weighted result before paying or slashing. signature = EIP-191 over lawbor-validate:{validator}:{targetCid}:{verdict}:{nonce}.
Parameters:
validator(required) — stringtargetCid(required) — stringverdict(required) — stringnonce(required) — stringsignature(required) — stringreason— string
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
lawbor_validationsRead the reputation-weighted validation aggregate for a deliverable CID: PASS/FAIL/CONTESTED + pass/fail weight + per-validator verdicts. Consult before accepting an agent deliverable.
Parameters:
cid(required) — string
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
mainstreet_signalMainStreet vets a token's SAFETY (mainstreet_onchain_info); this tool tells you where to get the complementary MOMENTUM layer — is a SAFE Base token also MOVING? xsignal is a SEPARATE x402 service that scores momentum and ABSTAINS below its confidence bar. Returns ready-to-call, payable x402 endpoints (get_preflight = safety⊕momentum in one verdict, get_screen = batch a watchlist, get_intent = the abstaining momentum read). Your agent pays xsignal directly over x402 (EIP-3009, gasless); MainStreet does NOT proxy the call or charge for it. Use after a SAFE/WATCH verdict to decide whether to actually enter.
Parameters:
address— string — Optional Base token address — prefills a ready-to-call URL.
Hints: read-only not declared · destructive not declared · idempotent not declared · open-world not declared
Measured by MCPYP probing. Untested fields are omitted, never estimated. Listing is always free; MCPYP never proxies calls or stores user tokens.