[Integrations](https://spiral.ai/integrations) › [Windsurf](https://spiral.ai/integrations/windsurf) › [DOI resolution statistics](https://spiral.ai/integrations/windsurf/doi-resolution-statistics)

# How to Use DOI resolution statistics in Windsurf

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.

|  |  |
| --- | --- |
| Model | DOI resolution statistics |
| Available through | Alexandria |
| Category | Developer |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with DOI resolution statistics in Windsurf

- 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.
- 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 Windsurf

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

### Use Spiral's MCP server

1. **Add the server**: Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: `~/.config/devin/mcp_config.json` on macOS and Linux, `%APPDATA%\devin\mcp_config.json` on Windows. Add this:

```json
{
  "mcpServers": {
    "spiral": {
      "url": "https://api.spiral.ai/mcp"
    }
  }
}
```

2. **Sign in**: Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

```bash
devin mcp login spiral
```

3. **Check it**: Spiral is listed under This computer in Customize › MCPs. From the terminal:

```bash
devin mcp list
```

### Use the Spiral skill

1. **Send Windsurf 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 DOI resolution statistics**: 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": "doi-org/identifiers/resolution_statistics",
    "input": {}
  }'
```

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/windsurf

## DOI resolution statistics tools and prices

- [DOI.org · Resolution statistics](https://spiral.ai/tools/alexandria/doi-org/identifiers/resolution_statistics) (Alexandria): $0.00873 per call.

## What can you do with DOI resolution statistics in Windsurf?

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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Windsurf guides](https://spiral.ai/integrations/windsurf)

## DOI resolution statistics in other agents

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

## More Windsurf guides

- [DOI registration agency lookup](https://spiral.ai/integrations/windsurf/doi-registration-agency-lookup)
- [Docker Hub image categories](https://spiral.ai/integrations/windsurf/docker-hub-image-categories)
- [DOI registration agency directory](https://spiral.ai/integrations/windsurf/doi-registration-agency-directory)
- [Docker Hub image search](https://spiral.ai/integrations/windsurf/docker-hub-image-search)
- [DOI prefix lookup](https://spiral.ai/integrations/windsurf/doi-prefix-lookup)
- [Docker Hub image tag details](https://spiral.ai/integrations/windsurf/docker-hub-image-tag-details)

## Questions about DOI resolution statistics in Windsurf

**Can Windsurf use DOI resolution statistics?**

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

**How much does DOI resolution statistics cost in Windsurf?**

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

**Do I need an Alexandria account to use DOI resolution statistics in Windsurf?**

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 Windsurf?**

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

**Does Windsurf wait while DOI resolution statistics runs?**

DOI resolution statistics runs in the background. Windsurf 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.

