# ZendIQ [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/ZendIQ/ZendIQ-Agent-API  
**GitHub Stars:** 1  
**npm Downloads (last month):** 954  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/zendiq

## Description
Solana swap safety for agents: free token screen, $0.01 swap verdict, $0.02 built swap via x402.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "zendiq": {
    "command": "npx",
    "args": ["-y","@zendiq/mcp"]
  }
}
```

## Documentation

## What ZendIQ does

ZendIQ provides an agent-facing interface for evaluating Solana tokens and swaps before an agent signs a transaction. Its MCP server exposes three tools: `zendiq_screen_token`, `zendiq_triage_swap`, and `zendiq_optimize_swap`.

Token screening returns a risk score and level, along with the signals used in the assessment and their coverage. Swap triage provides a paid verdict before signing. Optimization builds an unsigned mainnet swap and returns the associated plan, simulation, and venue decision. The optimization flow does not sign the transaction.

The repository also includes an x402 payment client, a local spending ledger, an agent skill describing when to call each tool, and clients for transaction verification and execution. These components support automated workflows in addition to direct MCP use.

## How it works

The MCP process runs on the user's machine and communicates with an MCP host using newline-delimited JSON-RPC over standard input and output. Diagnostics are written to stderr so stdout remains available for MCP messages.

Scoring is performed remotely by ZendIQ's hosted API at `https://api.zendiq.ai` by default. The scoring model is not bundled locally. Responses expose individual signals, observed values, statuses, and point contributions, allowing an agent to act on a particular warning rather than relying only on the overall verdict.

Paid calls use x402 settlement in USDC. The local ledger applies a configured spending ceiling before payments are made. The payment network is read from the API; the hosted service uses Solana mainnet USDC, and the optimizer returns a real mainnet transaction. Calls to token analysis and optimization may also involve on-chain settlement confirmation.

## Setup and configuration

Node.js 22.5 or newer is required. Install dependencies with `npm ci`, initialize the local budget with `npm run budget:init`, and start the MCP process with `npm run mcp`. The server can also be launched without cloning the repository using `npx -y @zendiq/mcp@latest`.

Paid workflows require a Solana keypair at `runtime/payer-mainnet.key.json`, funded with mainnet USDC. The code does not generate or write this key, and no SOL is required because the x402 facilitator pays the payment transaction's network fee. A dedicated wallet is recommended because the ledger only limits payments made through this code.

The MCP endpoint can be changed with `ZENDIQ_AGENT_URL`. `ZENDIQ_AGENT_NETWORK` controls the network used by the MCP server and defaults to `mainnet`; accepted values are `mainnet` and `devnet`. The examples and demo runner use the separate `ZENDIQ_API_URL` variable. The repository does not load `.env` files.

## Tools and capabilities

- Screen a Solana token without a wallet or payment.
- Triage a proposed swap before signing.
- Build and verify an unsigned optimized swap transaction.
- Apply a local hard ceiling to paid calls.
- Retry a settlement-pending payment once through the included client logic.
- Feed candidates into an autonomous triage loop.

## Limitations and notes

The scoring engine and its data sources, thresholds, and weighting remain hosted and proprietary; there is no local scoring mode. Running the default configuration sends requests to the live ZendIQ service and creates real mainnet USDC payments rather than sandbox charges.

A paid request can remain pending while settlement is confirmed, so callers should allow at least 120 seconds for `/analyse` and `/optimize`. MCP hosts with shorter tool timeouts may need adjustment. An optimization request only builds a transaction: signing and submitting it require a wallet-controlled taker and the relevant execution path. The repository itself contains no production credentials, facilitator wallet, database schema, or deployment configuration.

_Full upstream README: https://allmcps.com/mcp/zendiq/readme_

