Skip to main content
Glama
hyquard-mcp
by hyquard

hyquard-mcp

An MCP server that lets an AI agent check wallets, contracts, links and sign requests before a user acts. EVM chains and Hyperliquid.

Read-only. It never asks for a private key, never signs and never sends a transaction. No API keys.

It runs hyquard-guard, the same checks as the Hyquard app at dapp.hyquard.com.

Tools

Tool

What the agent gets

scan_wallet

On 6 chains: EIP-7702 delegations, contract accounts, and whether the public key is on-chain. Plus Hyperliquid agent wallets. A score from 0 to 100.

check_token

Risky owner functions in the bytecode and the proxy implementation (mint, blacklist, pause, fee, trading switch, limits, upgrade). Also the proxy kind and the owner.

check_contract

Sourcify verification, proxy admin, owner, and what holds each role (single wallet, Safe with threshold, timelock with delay, another contract). A score.

check_approvals

Open ERC-20 and Permit2 allowances from known tokens to known spenders. One extra token and spender.

simulate_transaction

Runs a transaction on the latest block with eth_simulateV1. Balance changes, approvals and flags. Nothing is sent.

decode_sign_request

EIP-712 typed data or calldata in plain words, with risk flags. Offline.

check_link

A link, domain or address against MetaMask eth-phishing-detect and ScamSniffer, plus a typo check.

audit_hyperliquid

Agent wallets, builder fee approvals, sub-accounts, balances and transfers out in the last 90 days.

Chains: Ethereum, Base, Arbitrum, Robinhood Chain, Elysium, HyperEVM.

Related MCP server: web3-risk-mcp

Install

git clone https://github.com/hyquard/hyquard-mcp && cd hyquard-mcp
pnpm install && pnpm build

Then add it to your MCP client. Claude Code:

claude mcp add hyquard -- node /path/to/hyquard-mcp/dist/index.js

Claude Desktop, Cursor and other clients (mcpServers JSON):

{
  "mcpServers": {
    "hyquard": { "command": "node", "args": ["/path/to/hyquard-mcp/dist/index.js"] }
  }
}

Or install the release tarball: npm i -g https://github.com/hyquard/hyquard-mcp/releases/download/v0.1.0/hyquard-mcp-0.1.0.tgz, then use hyquard-mcp as the command.

To put your own RPC before the public ones, set HYQUARD_RPC_<CHAIN> in the server env, for example HYQUARD_RPC_ELYSIUM=https://....

Example

Ask the agent: "Before I sign this, what does it do? 0x095ea7b3...ffff"

approve: Lets 0x...bEEF spend an UNLIMITED amount of the token.
[danger] Unlimited amount [info] No expiry: an approval stays until you revoke it

Limits

  • The checks find known risk patterns. An "ok" result is not a guarantee that something is safe.

  • check_approvals checks a fixed list of known tokens and spenders, not every approval.

  • simulate_transaction needs an RPC with eth_simulateV1.

  • check_link uses public lists. A new phishing site is not on them yet.

Development

pnpm test        # in-memory MCP client, fake network
pnpm test:live   # real chains and lists
pnpm typecheck && pnpm build

Website https://hyquard.com · App https://dapp.hyquard.com · Docs https://docs.hyquard.com · Library and CLI https://github.com/hyquard/hyquard-guard

License

Apache-2.0

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to assess the risk of crypto wallets, tokens, and smart contracts by providing read-only on-chain analysis, 0-100 risk scoring with explanations, fund tracing, and contract inspection before interaction.
      6
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to run pre-sign risk checks on transactions, approvals, EIP-712 signatures, token addresses, wallet approvals, sanctions screening, and prompt-injection texts, returning green/orange/red verdicts with machine-readable reason codes before signing.
      1
      AGPL 3.0
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to query multichain balances, inspect smart contracts, and draft DeFi interactions while enforcing anti-drainer protections such as approval blocking, destination whitelisting, spend caps, and human approval gates.
      5
      Business Source 1.1