mcpField
O
onchain-activity-index

onchain-activity-index

Remote
github.com/nexus-mcp-infraFinance0Updated 8w ago
Repository

About onchain-activity-index

On-Chain Activity Index calculates a descriptive 0–100 activity metric for DeFi protocols from public DefiLlama data, using TVL, fees and volume, chain diversification, and scale. It is intended for protocol activity assessment, not trading or price prediction.

Key features

  1. 01Calculate a 0–100 activity index
  2. 02Use public DefiLlama data
  3. 03Factor in TVL and fee or volume trends
  4. 04Measure chain diversification and scale

Use cases

  1. 01Compare activity metrics for DeFi protocols
  2. 02Review a protocol’s activity using multiple data factors

MCP support

The `/mcp` endpoint exposes the `get_onchain_activity_index` tool. The README states that MCP tool calls are currently free.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://onchain-activity-index-325572559480.us-central1.run.app/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

Details

From the project README

On-Chain Activity Index

Computes a 0-100 quantitative DeFi Protocol Activity Index from real, public DefiLlama data (TVL trend, fee/volume activity trend, chain diversification, scale). NEXUS candidate #9 -- manual build, not FORGE-generated.

This is a pure descriptive metric -- not a trading signal, price prediction, or financial recommendation of any kind.

  • POST /activity-index {"protocol_slug": "uniswap"} -- charged $0.30 via x402 (Base mainnet, real USDC).
  • MCP tool get_onchain_activity_index at /mcp -- currently free.
  • GET /health, GET /.well-known/agent-card.json, GET /openapi.json (has x-payment-info).

Live: https://onchain-activity-index-325572559480.us-central1.run.app

Mainnet cutover (2026-09-03)

Originally built and measured on Base Sepolia testnet. Cut over to Base mainnet: x402 settlement moved to the CDP facilitator (create_facilitator_config(), same swap already applied to ws/live-entity-verification/erc8004-agent-liveness), and the payto wallet moved to NEXUS_X402_PAYTO_ADDRESS (fail-fast env var, no placeholder default, renamed from X402_WALLET_ADDRESS). CDP_API_KEY_ID/CDP_API_KEY_SECRET and NEXUS_X402_PAYTO_ADDRESS must be set in Cloud Run before this deploys.

Full source, methodology, and quality-gate history: see the private NEXUS monorepo (manual_assets/onchain-activity-index/). This repo exists to satisfy MCP Registry namespace ownership verification (io.github.nexus-mcp-infra/onchain-activity-index) and as the public landing page for the deployed service.

A free, MIT-licensed companion skill (client usage guide, no payment required to read/use) lives at nexus-mcp-infra/onchain-activity-skill.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.