How to Use DOI citation metadata in Grok
Fetch bibliographic metadata such as a work’s title, authors, publication venue, and date from its registration agency. Use it to build citations or fill gaps in a bibliography.
Prompts to try with DOI citation metadata in Grok
Copy an example into Grok, or ask in your own words.
Use DOI citation metadata for 10.1126/science.169.3946.635 and give me its title, authors, publication venue, and date in a compact reference.
Use DOI citation metadata to look this up and give me the result as a table.
Pull the latest numbers from DOI citation metadata and tell me what changed since last week.
Check DOI citation metadata and summarize what you find in three bullet points.
Pull the newest data from DOI citation metadata and give me the result as a table.
How to set up DOI citation metadata in Grok
Pick the way that suits you. Each takes about two minutes.
Use the Grok connector
- Add a custom connector
In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.
- Check that it is connected
Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.
Use the Spiral skill
- Send Grok this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run DOI citation metadata
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/metadata", "input": { "doi": "<doi>" } }'
Then paste one of the prompts above: Grok finds DOI citation metadata on Spiral, shows the price and runs it.
DOI citation metadata providers and prices
Spiral runs DOI citation metadata through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Grok for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Format | csl_json, bibtex, citation, rdf_xml, unixref_xml, or datacite_json | csl_json |
|
| Include references | on or off | Keep the CSL |
Every API field of DOI.org · Metadata is on its tool page: open its card above.
What can you do with DOI citation metadata in Grok?
Prepare a DOI briefing that explains citation records, registered destinations, agencies, and resolution activity. A chat app can organize the returned evidence into a readable comparison for editors or library staff.
Complete a bibliography
Fill citation gaps from DOI metadata and check the registered destinations before publishing the reference list.
Audit DOI ingestion
Check incoming identifiers, identify their agencies, inspect prefix routing, and compare returned metadata with the catalog records being imported.
Review a publisher migration
Compare registered destinations and citation records before and after a platform move. Inspect agency and prefix routing when records behave differently.
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.
DOI citation metadata success rate and speed on Spiral
Success and speed over the last 24 hours, across every run of these tools on Spiral.
| Tool | Success | Median time | Runs |
|---|---|---|---|
| DOI.org · Metadata | 100.0% | 1.8s | 99 |
More on DOI citation metadata and Grok
Overview
DOI citation metadata in other agents
Questions about DOI citation metadata in Grok
Can Grok use DOI citation metadata?
Yes. Add Spiral to Grok as an MCP server, and Grok can find and run DOI citation metadata like any built-in tool.
How much does DOI citation metadata cost in Grok?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.
Do I need an Alexandria account to use DOI citation metadata in Grok?
No. Spiral runs DOI citation metadata 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 citation metadata in Grok?
About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.
Does Grok wait while DOI citation metadata runs?
DOI citation metadata runs in the background. Grok 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.
Start using DOI citation metadata in Grok
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok:
set up https://spiral.ai/SKILL.md


