Skip to main content

VerdictSwarm MCP Server

PyPI Python License: MIT MCP

VerdictSwarm is a pre-trade security layer for agents that touch crypto. This MCP server exposes the Verdict API v2 as a small set of read-only tools for token checks, size-aware exit screening, and live pricing discovery.

Quick start

No account setup is required. If VS_API_KEY is absent, the server mints a free key on the first API-backed tool call and saves it in the platform user config directory.

uvx verdictswarm-mcp

Then ask your MCP client: “Check DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 on Solana at fast level.”

To supply an existing free or credits-backed key:

VS_API_KEY=vs1_your_key uvx verdictswarm-mcp

Claude Desktop, Cursor, Windsurf, and OpenClaw

Use this server entry (the env block is optional):

{
  "mcpServers": {
    "verdictswarm": {
      "command": "uvx",
      "args": ["verdictswarm-mcp"],
      "env": {
        "VS_API_KEY": "vs1_your_key"
      }
    }
  }
}

Without VS_API_KEY, the self-provisioned key is stored at:

  • macOS: ~/Library/Application Support/VerdictSwarm/config.json
  • Linux: ${XDG_CONFIG_HOME:-~/.config}/verdictswarm/config.json
  • Windows: %APPDATA%\VerdictSwarm\config.json

The file is created with user-only permissions where the operating system supports them. Set VS_CONFIG_DIR to override the directory.

Tools

Tool Description
check_token(address, chain="solana", level="fast") Calls POST /v2/verdict and returns action, score, summary, and the five strongest signals. Levels are triage, fast, and deep.
exit_sim(address, size_usd, side) Requests include:["exit_sim"] and returns the fresh Solana exit-simulation block. Side is buy or sell.
get_pricing() Reads live pricing, levels, limits, and supported chains from GET /v2/verdict/info.

The 0.1.x names scan_token, get_quick_score, check_rug_risk, get_token_report, and verify_payment are no longer advertised as MCP tools; clients see only the three current v2 tools above. An explicit call to an old name still returns a migration response and makes no legacy pay-lane request.

Free quota and x402 overflow

Free keys have per-level daily limits advertised by the API. If a limit is exhausted, the tool response says when the quota resets and preserves the complete x402 challenge. To continue immediately, set VS_API_KEY to a credits-backed key or use the returned x402 payment instructions.

The MCP client sends these attribution headers on API requests:

  • X-VS-Integration: mcp
  • X-VS-SDK-Version: 0.2.1

Configuration

Environment variable Default Description
VS_API_KEY unset Optional free or credits-backed v2 API key.
VS_API_URL https://api.vswarm.io VerdictSwarm API base URL.
VS_TIMEOUT 120 HTTP request timeout in seconds.
VS_CONFIG_DIR platform user config dir Directory for the self-provisioned key.
VS_TRANSPORT stdio MCP transport. Use streamable-http for HTTP.
HOST 0.0.0.0 HTTP bind host.
PORT 8000 HTTP bind port.

For HTTP transport:

VS_TRANSPORT=streamable-http HOST=0.0.0.0 PORT=8000 uvx verdictswarm-mcp

Programmatic client

import asyncio
from verdictswarm_mcp import VerdictSwarmApiClient

async def main():
    client = VerdictSwarmApiClient()
    verdict = await client.check_token("TOKEN_ADDRESS", "solana", "fast")
    print(verdict["verdict"]["action"], verdict["verdict"]["score"])

asyncio.run(main())

Development

git clone https://github.com/sentien-labs/verdictswarm-mcp.git
cd verdictswarm-mcp
uv sync --extra dev
uv run --extra dev python -m pytest -q

The server supports Python 3.10–3.13 and both stdio and HTTP transports.

Links

MIT licensed. See LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

verdictswarm_mcp-0.2.1.tar.gz (25.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

verdictswarm_mcp-0.2.1-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file verdictswarm_mcp-0.2.1.tar.gz.

File metadata

  • Download URL: verdictswarm_mcp-0.2.1.tar.gz
  • Upload date:
  • Size: 25.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for verdictswarm_mcp-0.2.1.tar.gz
Algorithm Hash digest
SHA256 71ae87be13152d21bc46faa77d63b13819b6e2ee3eb465a3d31b51d2a75559b5
MD5 642212221a33a3222711c5eb8977445e
BLAKE2b-256 f060a5d8ab8578490ad82d0395e1550df564a58c41631ed2409fb3b4b1a2fc50

See more details on using hashes here.

File details

Details for the file verdictswarm_mcp-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for verdictswarm_mcp-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f95f0bb6026c78eaa0e4d7303767468afdd33d43218f692452de69af0927d731
MD5 13215b166e3e4193474e900848ca2821
BLAKE2b-256 a9cd4828de364d7c04d50d00d382a976acc19cc37c9aa3101c27975473d1fd54

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 files

0.2.0

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page