Skip to main content
Glama
Everclear MCP Server

Everclear MCP Server

Everclear MCP Server

A Model Context Protocol (MCP) server that provides Claude AI with direct access to Everclear.org's API endpoints. This enables Claude to interact with the Everclear protocol, query intents and invoices, retrieve analytics, and perform various blockchain-related operations.

Features

Required Endpoints

  • Get Intents: Retrieve a list of intents with optional filters

  • Get Intent Details: Get detailed information about a specific intent

  • Get Invoices: Fetch list of invoices with optional filters

  • Get Invoice Details: Get detailed information about a specific invoice

  • Get Invoice Min Amounts: Calculate minimum amounts needed to settle an invoice

  • Get Route Quote: Get quote for a route including fees and limits

Optional Endpoints

  • Get Liquidity Flow: Retrieve liquidity flow metrics

  • Get Clearing Volume: Retrieve clearing volume metrics

Related MCP server: Base MCP Server

Installation

  1. Clone the repository:

git clone <repository-url>
cd everclear-mcp
  1. Install dependencies:

npm install
  1. Build the project:

npm run build

Usage

Running the Server

For development:

npm run dev

For production:

npm start

Integration with Claude Desktop

  1. Open Claude Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

    • Windows: %APPDATA%\Claude\claude_desktop_config.json

    • Linux: ~/.config/Claude/claude_desktop_config.json

  2. Add the Everclear MCP server configuration:

{
  "mcpServers": {
    "everclear": {
      "command": "node",
      "args": ["/path/to/everclear-mcp/dist/index.js"]
    }
  }
}
  1. Restart Claude Desktop

Available Tools

Once connected, Claude will have access to the following tools:

get_intents

Retrieve a list of intents from Everclear.

  • Parameters:

    • status (optional): Filter by intent status

    • limit (optional): Number of results to return

    • offset (optional): Pagination offset

get_intent_details

Get detailed information about a specific intent.

  • Parameters:

    • intentId (required): The ID of the intent

get_invoices

Retrieve a list of invoices.

  • Parameters:

    • status (optional): Filter by invoice status

    • limit (optional): Number of results to return

    • offset (optional): Pagination offset

get_invoice_details

Get detailed information about a specific invoice.

  • Parameters:

    • invoiceId (required): The ID of the invoice

get_invoice_min_amounts

Calculate minimum amounts needed to settle an invoice.

  • Parameters:

    • invoiceId (required): The ID of the invoice

get_route_quote

Get a quote for a route including fees and limits.

  • Parameters:

    • fromChain (required): Source chain identifier

    • toChain (required): Destination chain identifier

    • amount (required): Amount to transfer

    • token (required): Token address or identifier

get_liquidity_flow

Retrieve liquidity flow metrics.

  • Parameters:

    • timeRange (optional): Time range for metrics

    • chainId (optional): Filter by specific chain

get_clearing_volume

Retrieve clearing volume metrics.

  • Parameters:

    • timeRange (optional): Time range for metrics

    • chainId (optional): Filter by specific chain

Development

Project Structure

everclear-mcp/
├── src/
│   └── index.ts        # Main MCP server implementation
├── dist/               # Compiled JavaScript output
├── package.json        # Project dependencies and scripts
├── tsconfig.json       # TypeScript configuration
├── README.md           # This file
└── PRODUCT_SPEC.md     # Product specification document

Scripts

  • npm run build: Compile TypeScript to JavaScript

  • npm run dev: Run the server in development mode with hot reload

  • npm start: Run the compiled server

API Documentation

For more information about the Everclear API endpoints, visit: https://docs.everclear.org/developers/api

License

ISC

Available Tools

11 tools
convert_chain_id_to_nameA

Convert a chain ID to its human-readable name.

      WORKFLOW INSTRUCTIONS:
      - Use this to make API responses more readable
      - Chain IDs are numeric strings, names are like "Arbitrum", "Optimism"
      - Returns "Unknown Chain (ID)" if chain ID not found
      
      DATA FORMATTING:
      - Always use this before displaying chain information to users
      - Combine with other tools for complete chain analysis

Inputs: chainId (required).

convert_tickerhash_to_nameA

Convert a tickerhash to its human-readable token name.

      WORKFLOW INSTRUCTIONS:
      - Use this to make token information more readable
      - Tickerhashes are long strings, names are like "USDC", "WETH"
      - Returns "Unknown Token (hash)" if tickerhash not found
      
      DATA FORMATTING:
      - Always use this before displaying token information to users
      - Essential for route quotes and invoice analysis

Inputs: tickerhash (required).

get_clearing_volumeC

Retrieve clearing volume metrics

Inputs: chainId, timeRange.

get_intent_detailsC

Get detailed information about a specific intent

Inputs: intentId (required).

get_intentsC

Retrieve a list of intents from Everclear

Inputs: limit, offset, status.

get_invoice_detailsC

Get detailed information about a specific invoice

Inputs: invoiceId (required).

get_invoice_min_amountsC

Calculate minimum amounts needed to settle an invoice

Inputs: invoiceId (required).

get_invoicesC

Retrieve a list of invoices

Inputs: limit, offset, status.

get_invoices_formattedA

Get invoices from Everclear with enhanced formatting including: - Human-readable chain names and token names - Amounts converted from wei to native token units - Open time calculation (current time - createdAt) - Properly formatted data for analysis

Inputs: limit, status.

get_liquidity_flowC

Retrieve liquidity flow metrics

Inputs: chainId, timeRange.

get_route_quoteC

Get a quote for a route including fees and limits

Inputs: token (required), amount (required), toChain (required), fromChain (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 11 tools

    Disambiguation4/5

    Most tools target clearly distinct resources and actions (intents vs invoices vs details vs quotes vs metrics vs conversions). The one real overlap is get_invoices and get_invoices_formatted, which return the same underlying invoice data with different formatting, so an agent could reasonably pick the wrong one. This is a minor boundary issue rather than widespread duplication.

    Naming Consistency4/5

    Names follow a consistent snake_case get_/convert_ verb_noun pattern (get_intent_details, get_invoice_details, convert_chain_id_to_name). The only slight deviation is get_invoices_formatted using an adjective modifier rather than a plain noun, but the convention is still readable and predictable.

    Tool Count5/5

    Eleven tools is well within the ideal 3-15 range and each maps to a distinct read/analytics or helper operation. The surface feels scoped to the Everclear domain without obvious filler.

    Completeness4/5

    The server covers the read/analytics lifecycle well: intents, invoices, invoice details, minimum amounts, route quotes, and liquidity/clearing metrics, plus conversion helpers. There are no write operations (submit intent, settle invoice), but as a monitoring/query surface the coverage is solid with only minor gaps.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Connects Claude with Piriod.com API to manage invoicing and payments, enabling listing/creating invoices, searching customers, and viewing payments through natural language.
      ISC