[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [GMGN token search](https://spiral.ai/integrations/gemini-cli/gmgn-token-search)

# How to Use GMGN token search in Gemini CLI

Returns token matches with contract addresses and market context such as liquidity and trading volume. Use it to resolve a name or ticker before researching a specific contract.

|  |  |
| --- | --- |
| Model | GMGN token search |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with GMGN token search in Gemini CLI

- Use GMGN token search to find BONK on Solana and add a contract-selection table to this project with names, addresses, liquidity, and trading volume.
- Use GMGN token search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from GMGN token search and tell me what changed since last week.
- Check GMGN token search and summarize what you find in three bullet points.
- Pull the newest data from GMGN token search and give me the result as a table.

## How to set up GMGN token search in Gemini CLI

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Or add it to `~/.gemini/settings.json` yourself:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
gemini mcp list
```

### Use the Spiral skill

1. **Send Gemini CLI this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run GMGN token search**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "gmgn-ai/crypto/search",
    "input": {
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: Gemini CLI finds GMGN token search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini-cli

## GMGN token search tools and prices

- [GMGN · Search](https://spiral.ai/tools/alexandria/gmgn-ai/crypto/search) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| chain | sol, eth, base, bsc, tron, monad | sol | Chain slug as gmgn.ai uses it in its URLs (sol, eth, base, bsc, tron, monad). Default sol. |
| limit | 1 to 50 | 20 | Maximum tokens (and wallets) to return; the site returns up to about 60 of each. |
| include_wallets |  | — | Also return wallet matches. |

## What can you do with GMGN token search in Gemini CLI?

Build a GMGN research view that puts token market activity, launch records, ownership, and discussion beside each other. A coding agent can turn the returned data into project components and comparison reports.

### New-launch research brief

Discover recent pairs, resolve their contracts, and prepare a brief combining token details, candles, transactions, ownership, trader outcomes, early buyers, developer launches, and community discussion.

### Daily token research digest

Combine newly discovered launches with an existing token watchlist. Report market changes, supply distribution, trading outcomes, early-buyer positions, developer activity, and discussion themes for an internal research meeting.

### Discussion and market activity comparison

Resolve tokens mentioned in community discussion, summarize the main claims, and compare those themes with token details, candles, and recent transactions.

### Developer launch comparison

Compare recent pairs with other tokens created by their developer addresses. Resolve contract matches and examine token details, holder distribution, and early-buyer positions across the launches.

### Token market dashboard

Build a dashboard that adds recent pairs, resolves names to contracts, displays token summaries, and charts candles beside the transaction feed.

### Launch cohort research

Collect a cohort of newly discovered token contracts and revisit their market activity, ownership, trading outcomes, early buyers, developer records, and community discussion. Compare how the launches develop over the observation period.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## GMGN token search in other agents

- [Amp](https://spiral.ai/integrations/amp/gmgn-token-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/gmgn-token-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/gmgn-token-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/gmgn-token-search)
- [Cline](https://spiral.ai/integrations/cline/gmgn-token-search)
- [Codex](https://spiral.ai/integrations/codex/gmgn-token-search)
- [Cursor](https://spiral.ai/integrations/cursor/gmgn-token-search)
- [Devin](https://spiral.ai/integrations/devin/gmgn-token-search)
- [dots](https://spiral.ai/integrations/dots/gmgn-token-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/gmgn-token-search)
- [Gemini](https://spiral.ai/integrations/gemini/gmgn-token-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/gmgn-token-search)
- [goose](https://spiral.ai/integrations/goose/gmgn-token-search)
- [Grok](https://spiral.ai/integrations/grok/gmgn-token-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/gmgn-token-search)
- [Hermes](https://spiral.ai/integrations/hermes/gmgn-token-search)
- [Instinct](https://spiral.ai/integrations/instinct/gmgn-token-search)
- [Manus](https://spiral.ai/integrations/manus/gmgn-token-search)
- [Muse](https://spiral.ai/integrations/muse/gmgn-token-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/gmgn-token-search)
- [n8n](https://spiral.ai/integrations/n8n/gmgn-token-search)
- [Notion](https://spiral.ai/integrations/notion/gmgn-token-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/gmgn-token-search)
- [opencode](https://spiral.ai/integrations/opencode/gmgn-token-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/gmgn-token-search)
- [Raycast](https://spiral.ai/integrations/raycast/gmgn-token-search)
- [VS Code](https://spiral.ai/integrations/vscode/gmgn-token-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/gmgn-token-search)
- [Zapier](https://spiral.ai/integrations/zapier/gmgn-token-search)

## More Gemini CLI guides

- [GMGN token price and market cap candles](https://spiral.ai/integrations/gemini-cli/gmgn-token-price-and-market-cap-candles)
- [GMGN token trader profits](https://spiral.ai/integrations/gemini-cli/gmgn-token-trader-profits)
- [GMGN token holders](https://spiral.ai/integrations/gemini-cli/gmgn-token-holders)
- [GMGN token trades](https://spiral.ai/integrations/gemini-cli/gmgn-token-trades)
- [GMGN token early buyers](https://spiral.ai/integrations/gemini-cli/gmgn-token-early-buyers)
- [GMGN trending tokens](https://spiral.ai/integrations/gemini-cli/gmgn-trending-tokens)

## Questions about GMGN token search in Gemini CLI

**Can Gemini CLI use GMGN token search?**

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run GMGN token search like any built-in tool.

**How much does GMGN token search cost in Gemini CLI?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.

**Do I need an Alexandria account to use GMGN token search in Gemini CLI?**

No. Spiral runs GMGN token search on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up GMGN token search in Gemini CLI?**

About two minutes: add the server, then sign in, then check it.

**Does Gemini CLI wait while GMGN token search runs?**

GMGN token search runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

**Which blockchains does the documented GMGN data cover?**

The documented coverage includes six chains: Solana, Ethereum, Base, BNB Smart Chain, Tron, and Monad.

**How fresh is GMGN’s transaction data?**

GMGN describes its latest transaction information as updating in real time. That description applies to transaction activity, rather than establishing a refresh schedule for every GMGN dataset.

**What does GMGN mean by early buyers?**

GMGN’s early-buyer display examines the first 70 buyers. It separates them by holding and selling status, so early participation and current ownership can be examined separately.

**Can GMGN show a token developer’s previous launches?**

GMGN’s developer token view lists tokens created by the same developer address. This gives an address-level launch record rather than a verified history of a person or company.

