hyquard-mcp
Officialby hyquard
README.md
# 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](https://github.com/hyquard/hyquard-guard), the same checks as the Hyquard app at [dapp.hyquard.com](https://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.
## Install
```sh
git clone https://github.com/hyquard/hyquard-mcp && cd hyquard-mcp
pnpm install && pnpm build
```
Then add it to your MCP client. Claude Code:
```sh
claude mcp add hyquard -- node /path/to/hyquard-mcp/dist/index.js
```
Claude Desktop, Cursor and other clients (`mcpServers` JSON):
```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"
```text
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
```sh
pnpm test # in-memory MCP client, fake network
pnpm test:live # real chains and lists
pnpm typecheck && pnpm build
```
## Links
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
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues