Skip to main content
Glama
GoPlus Token Safety

GoPlus Token Safety

by tordagaz-ops

GoPlus Token Safety — MCP server

MCP Python License

Ask your AI assistant "is this token a honeypot?" and get a real answer.

This server wraps the GoPlus token-security API and exposes it as two read-only MCP tools. It answers the questions that actually decide whether a swap is safe: can buyers sell afterwards, how much tax is taken, can the owner mint or freeze balances, and who holds the supply.

No API key. No account. 13 EVM chains.

Languages: English · Español · Русский


Why this exists

An LLM cannot check a contract on its own — it will guess, or trust the token name. GoPlus already maintains the honeypot and tax detectors used across the industry, but its raw JSON is hostile to language models: flags arrive as the strings "1" and "0", taxes as fractions of one, missing data as null, and capability flags sit next to danger flags with no distinction between them.

This server turns that into a small, honest payload:

  • "1" / "0" become real booleans

  • taxes are reported both as a fraction and as a percentage

  • absent data is reported as absent, never silently as "safe"

  • a risk_level that separates danger (honeypot, blocked sells, hidden owner) from capability (mintable, pausable, proxy) — a mintable token is not automatically malicious, and saying so would be a lie

Related MCP server: VetAgent

Tools

check_token_safety

Argument

Type

Default

Description

token_address

string

—

Contract address, 0x + 40 hex characters

chain_id

string

"1"

Numeric chain id or an alias such as base, bsc, arbitrum

Returns:

{
  "chain_id": "8453",
  "chain_name": "Base",
  "token_address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
  "token_name": "USD Coin",
  "token_symbol": "USDC",
  "is_honeypot": false,
  "cannot_sell_all": false,
  "cannot_buy": false,
  "buy_tax": 0.0,
  "sell_tax": 0.0,
  "buy_tax_pct": 0.0,
  "sell_tax_pct": 0.0,
  "is_mintable": true,
  "is_proxy": true,
  "hidden_owner": false,
  "is_open_source": true,
  "holder_count": 1234567,
  "top_holders": [
    { "address": "0x...", "percent": 12.5, "is_locked": true }
  ],
  "risk_level": "low",
  "warnings": [],
  "unknown_fields": [],
  "checked_at": "2026-01-01T00:00:00Z",
  "source": "goplus"
}

Field notes:

  • buy_tax / sell_tax — fraction of the transfer taken as tax (0.05 = 5%). *_pct carries the same number already multiplied by 100.

  • risk_level — low, medium, high or critical. Only danger signals move it. A token that is mintable but otherwise normal stays low.

  • warnings — machine-readable codes with a localized message, e.g. {"code": "high_sell_tax", "severity": "high", "params": {"pct": 99.0}}. Sorted by severity, most serious first.

  • unknown_fields — fields the provider did not report for this contract. null in a field plus its name here means unknown, not false.

  • top_holders — up to five largest holders, percent as 0–100.

list_supported_chains

Returns the 13 supported chains with their aliases, so a model can pick a valid chain_id instead of inventing one.

Supported chains

Chain id

Chain

Common aliases

1

Ethereum

eth, mainnet, erc20

10

Optimism

op, optimism

25

Cronos

cro

56

BNB Chain

bsc, bnb, bep20

100

Gnosis

xdai

137

Polygon

matic, polygon-pos

250

Fantom

ftm

324

zkSync Era

zksync

5000

Mantle

mnt

8453

Base

base

42161

Arbitrum One

arb, arbitrum

43114

Avalanche

avax, avalanche-c

59144

Linea

linea

Aliases are matched case-insensitively and ignore spaces, dashes and underscores.

Install

pip install git+https://github.com/tordagaz-ops/goplus-token-safety

or, from a clone:

git clone https://github.com/tordagaz-ops/goplus-token-safety
cd goplus-token-safety
pip install .

Connect it

Claude Desktop / Claude Code

{
  "mcpServers": {
    "goplus-token-safety": {
      "command": "python",
      "args": ["-m", "mcp_goplus_safety"],
      "env": { "MCP_LOCALE": "en" }
    }
  }
}

Smithery

The repository ships a smithery.yaml, so Smithery can build and host it directly — pick the language in the configuration form.

HTTP transport

MCP_TRANSPORT=http MCP_HOST=0.0.0.0 MCP_PORT=8000 python -m mcp_goplus_safety
# endpoint: http://localhost:8000/mcp

Docker

docker build -t goplus-token-safety .
docker run -i --rm goplus-token-safety

Example conversation

You: Is 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 safe to buy on Base?

Assistant: (calls check_token_safety with chain_id: "base") That is USDC. No honeypot, no buy or sell tax, source verified. It is marked mintable and upgradeable — normal for a fiat-backed stablecoin, but it means the issuer can change behaviour. Overall risk: low.

You: And 0x...deadbeef on BSC?

Assistant: Honeypot. cannot_sell_all is true and the sell tax is 99%: tokens can be bought and never sold. Risk: critical.

Errors

Every failure comes back as data, never as an exception or a stack trace:

{ "error": "invalid_address", "message": "…", "input": "0x123" }

error

Meaning

What to do

empty_address

No address supplied

Ask for the contract address

invalid_address

Not 0x + 40 hex characters

Re-read the address

unsupported_chain

Unknown chain id or alias

Call list_supported_chains

not_found

Provider has no record of this contract

Check the address and chain

rate_limited

GoPlus throttled us (no key, shared quota)

Wait a few seconds and retry

timeout

Upstream did not answer in time

Retry

network_error

Connection failed

Retry

upstream_unavailable

GoPlus returned 5xx after retries

Retry later

upstream_rejected

GoPlus rejected the request

Check the arguments

bad_payload

Unexpected response shape

Report it as a bug

Behaviour and limits

  • Caching. Successful lookups are cached for 5 minutes and concurrent requests for the same token share one upstream call.

  • Retries. 408/425/429/5xx are retried with jittered backoff, honouring Retry-After. Other 4xx are not retried.

  • Rate limits. The public GoPlus endpoint has no key and throttles aggressive use; expect rate_limited if you sweep hundreds of tokens in a row.

  • Coverage. GoPlus returns data for contracts it has indexed. A brand-new or self-deployed token may come back not_found — that is not a safety verdict either way.

  • Read-only. No wallet, no key, no signing, no state on your machine.

Languages

Set MCP_LOCALE to en, es or ru. It controls tool titles, descriptions, parameter text and every error message. Default is English; when MCP_LOCALE is unset the server falls back to LANGUAGE / LANG, then to English.

Development

python -m venv .venv
.venv/Scripts/activate        # Windows; source .venv/bin/activate elsewhere
pip install -e ".[dev]"

pytest -m "not live and not e2e"   # unit: pure logic, mocked upstream
pytest -m e2e                      # end-to-end: real stdio process, real protocol
pytest -m live                     # live: hits the real GoPlus API
pytest                             # everything

Layout:

src/mcp_goplus_safety/
  server.py   FastMCP wiring, tool signatures, error mapping
  goplus.py   normalisation, risk model, cached client
  chains.py   chain ids and aliases
  i18n.py     en / es / ru strings
  core.py     HTTP client with retries, TTL cache, locale plumbing

The three test layers are deliberately separate: unit tests prove the parsing and risk model, end-to-end tests prove the published entry point speaks the MCP protocol, and live tests prove the upstream contract still holds.

Attribution

Security data by GoPlus Security. This project is an independent wrapper and is not affiliated with GoPlus. Data is provided as-is; it is a signal, not financial advice, and it cannot protect you from a rug pull that has not happened yet.

License

MIT — see LICENSE.

Available Tools

2 tools
check_token_safetyA
Read-only

Inspect a token contract and return a risk verdict: honeypot status, buy and sell tax, whether the owner can mint, pause or blacklist, hidden owner, proxy contract, open-source status, holder concentration, and a list of concrete warnings with severities. Fields the provider does not return are null and are listed in unknown_fields: treat those as unknown, never as safe. Example: chain_id='8453', token_address='0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'.

Inputs: token_address (required), chain_id. Returns: object

list_supported_chainsA
Read-only

List every chain id this server can query, with its name and the aliases it accepts (for example 'base' or '8453'). Use it when you are not sure which chain_id to pass.

Inputs: no named parameters. Returns: object

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools serve entirely different purposes: one performs a safety audit on a specific token, the other enumerates valid chain ids and aliases. There is no plausible scenario where an agent would confuse them, and the descriptions reinforce the boundary by positioning list_supported_chains as a prerequisite helper for check_token_safety.

    Naming Consistency5/5

    Both names follow the same snake_case verb_noun convention (check_X, list_Y), using clear, concrete verbs. No mixed casing or vague verbs appear, so the pattern is fully predictable.

    Tool Count3/5

    Two tools is on the thin side for a server surface, even one with a narrow purpose, since the only actionable capability is a single read operation plus a metadata lookup. The helper is justified, but the total is borderline minimal rather than well-scoped.

    Completeness3/5

    The token audit tool is thorough in what it reports, but the surface stops there: no batch/multi-token checking, no malicious-address or approval/allowance security checks, and no dapp or NFT risk lookups that this domain typically includes. Agents can accomplish the core single-token check but will hit a dead end for adjacent safety questions.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Checks token contract safety for honeypot, tax, proxy, blacklist, ownership risks, and returns a risk score, enabling rug-pull protection for agents via pay-per-call x402 micropayments.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Check a token address before acting on a pool alert. VetAgent reports liquidity across eight chains. On Ethereum, BSC and Base, it reports available sell-simulation and tax evidence and whether the simulation matches the displayed pool. On Solana it checks token authorities and liquidity. An unavailable sell check is disclosed. Try one address over MCP or HTTP without an API key.
      3
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides live on-chain rug-pull and honeypot risk screening for EVM and Solana tokens, returning computed red flags and raw GoPlus Security data for contract or mint addresses.
      74 npm
      MIT
    • 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