Spiral gives your agent every tool with one account. Browse the tools →

Gemini CLI · Developer

How to Use DOI resolution statistics in Gemini CLI

Retrieve DOI Foundation statistics on resolution activity, including aggregate totals and country counts. Use them for a system overview; country totals describe the last complete month.

Prompts to try with DOI resolution statistics in Gemini CLI

Copy an example into Gemini CLI, or ask in your own words.

Use DOI monthly statistics for January through December 2025 and DOI resolution statistics for the latest overview. Build a report that keeps monthly totals separate from aggregate figures.

DOI resolution statisticsGemini CLI
Try asking
  • Use DOI resolution statistics to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from DOI resolution statistics and tell me what changed since last week.

  • Check DOI resolution statistics and summarize what you find in three bullet points.

  • Pull the newest data from DOI resolution statistics and give me the result as a table.

How to set up DOI resolution statistics 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:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run DOI resolution statistics

    One request; the result comes back by polling or a webhook.

    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": "doi-org/identifiers/resolution_statistics",
        "input": {}
      }'

Then paste one of the prompts above: Gemini CLI finds DOI resolution statistics on Spiral, shows the price and runs it.

DOI resolution statistics providers and prices

Spiral runs DOI resolution statistics through Alexandria. Open a card for today's price, with every fee included.

AlexandriaDeveloper
DOI.org · Resolution statistics
doi-org/identifiers/resolution_statistics

What can you do with DOI resolution statistics in Gemini CLI?

Build a DOI report with citations, registered destinations, agency routing, and system activity. Coding agents can turn returned records into project fixtures, comparison views, and checks for a bibliography import.

Report DOI system activity

Compare monthly resolution totals with the current statistical overview, and describe the communities represented in the agency directory.

Prepare a geographic usage briefing

Present reported country counts alongside the monthly resolution series. Use the agency directory to explain the range of communities DOI serves.

Plan a DOI reporting application

Use public DOI examples to design citation, destination, and agency views. Add system statistics and the agency directory to provide context for the application’s reports.

Teach library staff how DOI records work

Walk through a public DOI’s citation, destination, agency, and prefix routing. Use the directory and resolution statistics to explain the wider DOI system.

Questions about DOI resolution statistics in Gemini CLI

Can Gemini CLI use DOI resolution statistics?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run DOI resolution statistics like any built-in tool.

How much does DOI resolution statistics 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 DOI resolution statistics in Gemini CLI?

No. Spiral runs DOI resolution statistics on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up DOI resolution statistics in Gemini CLI?

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

Does Gemini CLI wait while DOI resolution statistics runs?

DOI resolution statistics runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

Does DOI coverage stop at journal articles?

No. DOI registration agencies also serve entertainment, standards, construction products, natural history collections, and research data.

How quickly do changed DOI destinations appear?

DOI.org documents a 24-hour cache for Handle values. A destination change can therefore take up to 24 hours to appear through the proxy.

Can citation metadata be retrieved as one large batch?

DOI content negotiation returns one metadata record at a time. The underlying agency lookup supports multiple DOIs, but that does not make citation retrieval a batch service.

Does a DOI prefix prove who owns a work?

No. The DOI Handbook explicitly says a registrant code does not establish ownership of rights or current management responsibility.

Does converted citation metadata preserve every source distinction?

No. Crossref documents mappings where several source types become one output type, so converted records can lose distinctions present in the original agency schema.

Get started

Start using DOI resolution statistics in Gemini CLI

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini CLI:

Set up Gemini CLI

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options