Skip to main content
Glama

djd-agent-score-mcp

MCP server for DJD Agent Score — a reputation scoring API for AI agent wallets on Base.

Listed in the Coinbase x402 Ecosystem npm version

This server exposes the DJD Agent Score REST API as Model Context Protocol tools, so any MCP-compatible agent (Claude, GPT, Gemini, LangChain, etc.) can call scoring endpoints natively.

Tools

Tool

Endpoint

Cost

Description

score_basic

GET /v1/score/basic

Free

Basic score, tier, confidence

score_full

GET /v1/score/full

$0.10 (x402)

Full dimension breakdown

score_refresh

GET /v1/score/refresh

$0.25 (x402)

Re-score with latest chain data

report_fraud

POST /v1/report

$0.02 (x402)

Submit fraud report

check_blacklist

GET /v1/data/fraud/blacklist

$0.05 (x402)

Check fraud reports

get_badge

GET /v1/badge/{wallet}.svg

Free

Embeddable SVG badge

get_leaderboard

GET /v1/leaderboard

Free

Top scored wallets

register_agent

POST /v1/agent/register

Free

Register wallet with metadata

health_check

GET /health

Free

System status

Related MCP server: revettr

Installation

npm install -g djd-agent-score-mcp

Or run directly with npx:

npx djd-agent-score-mcp

Configuration

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "djd-agent-score": {
      "command": "npx",
      "args": ["-y", "djd-agent-score-mcp"]
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "djd-agent-score": {
      "command": "npx",
      "args": ["-y", "djd-agent-score-mcp"]
    }
  }
}

Claude Code

Add to your project's .mcp.json:

{
  "mcpServers": {
    "djd-agent-score": {
      "command": "npx",
      "args": ["-y", "djd-agent-score-mcp"]
    }
  }
}

Generic MCP Client (Streamable HTTP)

Start the server in HTTP mode:

TRANSPORT=http PORT=3000 npx djd-agent-score-mcp

Then connect your MCP client to http://localhost:3000/mcp.

Environment Variables

Variable

Default

Description

DJD_BASE_URL

https://djd-agent-score.fly.dev

API base URL (use http://localhost:3001 for local dev)

DJD_TIMEOUT_MS

10000

Request timeout in milliseconds

TRANSPORT

stdio

Transport mode: stdio or http

PORT

3000

HTTP server port (only used when TRANSPORT=http)

Development

git clone <repo-url>
cd djd-agent-score-mcp
npm install
npm run build
npm start

To point at a local API during development:

DJD_BASE_URL=http://localhost:3001 npm start

x402 Payment

Some endpoints require x402 micropayments. When an agent calls a paid tool, the API responds with HTTP 402 and payment instructions. Your agent framework must:

  1. Detect the 402 response

  2. Complete the x402 payment (USDC on Base)

  3. Retry the request with the payment proof

The MCP server surfaces the 402 details in the tool's error response so the agent can handle it.

License

MIT

Available Tools

9 tools
check_blacklistCheck Fraud BlacklistA
Read-onlyIdempotent

Check if a wallet has any fraud reports filed against it.

PAID endpoint — requires x402 payment ($0.05 USD).

Args:

  • wallet (string): Ethereum wallet address to check

Returns: { wallet, reported, reportCount, reports[] }

Inputs: wallet (required).

get_badgeGet Score BadgeA
Read-onlyIdempotent

Get the embeddable SVG badge URL for a wallet's reputation score.

Returns the badge endpoint URL and the raw SVG content. The URL can be embedded in markdown, HTML, or any context that supports images.

This is a FREE endpoint.

Args:

  • wallet (string): Ethereum wallet address

Returns: { badgeUrl, svg }

Inputs: wallet (required).

get_leaderboardGet LeaderboardA
Read-onlyIdempotent

Get the leaderboard of top-scored AI agent wallets.

Returns a ranked list of wallets with their scores and tiers.

This is a FREE endpoint.

Args:

  • limit (number, optional): Maximum number of entries to return (1-100)

Returns: Array of { wallet, score, tier }

Inputs: limit.

health_checkHealth CheckA
Read-onlyIdempotent

Check the DJD Agent Score API system status.

This is a FREE endpoint.

Returns: { status, version, uptime }

Inputs: no named parameters.

register_agentRegister AgentA
Idempotent

Register an AI agent wallet with metadata (name, description, optional GitHub URL).

This is a FREE endpoint.

Args:

  • wallet (string): Ethereum wallet address to register

  • name (string): Display name for the agent

  • description (string): What this agent does

  • github_url (string, optional): GitHub repository URL

Returns: { success, message }

Inputs: wallet (required), name (required), description (required), github_url.

report_fraudReport FraudA

Submit a fraud report for a wallet with supporting transaction hashes and evidence.

PAID endpoint — requires x402 payment ($0.02 USD).

Args:

  • wallet (string): Ethereum wallet address of the suspected fraudster

  • tx_hashes (string[]): Array of transaction hashes as evidence

  • evidence (string): Text description of the fraudulent behavior

Returns: { success, reportId, message }

Inputs: wallet (required), tx_hashes (required), evidence (required).

score_basicBasic Agent ScoreA
Read-onlyIdempotent

Get the basic reputation score for an AI agent wallet on Base.

Returns a numeric score (0-1000), tier (e.g. "Trusted", "Neutral", "Risky"), confidence level, recommendation text, model version, and freshness info.

This is a FREE endpoint — no x402 payment required.

Args:

  • wallet (string): Ethereum wallet address (0x + 40 hex chars)

Returns: { wallet, score, tier, confidence, recommendation, modelVersion, lastUpdated, computedAt, scoreFreshness }

Examples:

  • "What's the reputation of 0xABC...?" -> score_basic with that wallet

  • "Is this agent wallet trustworthy?" -> score_basic to get tier/recommendation

Inputs: wallet (required).

score_fullFull Agent ScoreA
Read-onlyIdempotent

Get the full reputation score with dimension breakdown for an AI agent wallet.

Returns everything from basic score PLUS per-dimension scores and rich data:

  • dimensions.reliability: { score, data: { txCount, nonce, successRate, ... } }

  • dimensions.viability: { score, data: { usdcBalance, ethBalance, inflows30d, ... } }

  • dimensions.identity: { score, data: { hasBasename, insumerVerified, walletAgeDays, ... } }

  • dimensions.capability: { score, data: { activeX402Services, totalRevenue, ... } }

  • sybilFlag, gamingIndicators, dataAvailability

  • improvementPath (actionable steps to raise the score)

  • scoreHistory (historical score trend)

The identity dimension includes "insumerVerified" (v2.3+) which indicates whether the wallet holds qualifying tokens verified via the Insumer attestation API, contributing up to 15 points toward the identity score.

PAID endpoint — requires x402 payment ($0.10 USD). If your agent framework supports x402, the 402 response will contain payment instructions. Complete the payment and retry the request.

Args:

  • wallet (string): Ethereum wallet address (0x + 40 hex chars)

Returns: { wallet, score, tier, confidence, recommendation, modelVersion, lastUpdated, computedAt, scoreFreshness, sybilFlag, gamingIndicators, dimensions, dataAvailability, improvementPath, scoreHistory }

Inputs: wallet (required).

score_refreshRefresh Agent ScoreA

Force a re-score of an AI agent wallet using the latest on-chain data.

Use this when you suspect the cached score is stale or after known on-chain activity that should change the score.

PAID endpoint — requires x402 payment ($0.25 USD).

Args:

  • wallet (string): Ethereum wallet address (0x + 40 hex chars)

Returns: { score, tier, confidence, recommendation, modelVersion, refreshedAt }

Inputs: wallet (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 9 tools

    Disambiguation5/5

    Each tool has a distinct, non-overlapping purpose. The three score variants (basic, full, refresh) are clearly differentiated by granularity and intent, while check_blacklist, report_fraud, get_badge, and register_agent target completely different resources with no ambiguity.

    Naming Consistency4/5

    Most tools follow a clear verb_noun pattern (check_blacklist, get_badge, register_agent) or a consistent domain prefix pattern (score_basic, score_full, score_refresh). The only deviation is health_check, which reverses the pattern used by check_blacklist and should ideally be check_health.

    Tool Count5/5

    Nine tools is an ideal scope for an agent reputation service, covering the full lifecycle: registration, scoring (basic/full/refresh), fraud reporting/checking, discovery (leaderboard), visualization (badge), and system status. No tool feels redundant or superfluous.

    Completeness4/5

    The surface covers core workflows well: CRUD-like operations for scores and fraud reports, registration, and discovery. Minor gaps exist: no update_agent to modify registered metadata after creation, and no delete/deregister capability, though agents can work around these limitations.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Provides trust and reputation tools for AI agent wallets within the x402 payment ecosystem and ERC-8004 agent registry. It enables users to perform wallet reputation lookups, real-time risk assessments, and browse registered agents.
      4
      342 npm
      -
    • A
      license
      A
      quality
      C
      maintenance
      Counterparty risk scoring for agentic commerce. Scores wallets, domains, IPs, and companies 0-100 before AI agents transact via x402 micropayments on Base
      1
      3
      MIT