How to Use GovInfo document details in Muse
Returns metadata and available document links for a GovInfo publication or section. Use it to check a document's identity and publication context before reading or citing its text.
Prompts to try with GovInfo document details in Muse
Copy an example into Muse, or ask in your own words.
Use GovInfo document details and GovInfo document text for https://www.govinfo.gov/app/details/PLAW-115publ334. Identify the publication and summarize its table of contents with links to the source.
Use GovInfo document details to look this up and give me the result as a table.
Pull the latest numbers from GovInfo document details and tell me what changed since last week.
Check GovInfo document details and summarize what you find in three bullet points.
Pull the newest data from GovInfo document details and give me the result as a table.
How to set up GovInfo document details in Muse
Pick the way that suits you. Each takes about two minutes.
Use the Muse connector
- Create an API key
Create one under API keys in the Spiral console.
- Send Muse this message
Muse reads Spiral's skill and asks for an API key.
set up https://spiral.ai/SKILL.md
- Give Muse the key
Paste the key when Muse asks for it, never in the chat itself.
Use the Spiral skill
- Send Muse 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 GovInfo document details
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": "govinfo-gov/legislation/document_details", "input": { "url": "<url>" } }'
Then paste one of the prompts above: Muse finds GovInfo document details on Spiral, shows the price and runs it.
GovInfo document details providers and prices
Spiral runs GovInfo document details through Alexandria. Open a card for today's price, with every fee included.
What can you do with GovInfo document details in Muse?
Turn a federal research question into a reading list with document links and relevant passages. A chat assistant can use GovInfo to locate cited U.S. Code sections, explore their surrounding provisions, and compare selected editions.
Build a federal statute research reader
Create a reader that starts with publication selection, lets researchers explore the U.S. Code, and opens cited sections with their metadata and text. Add edition selection for historical comparisons and topic search for discovery.
Prepare a legislative research packet
Choose publication series, find documents about a policy topic, and organize the relevant U.S. Code provisions by chapter. Include document metadata, readable text, and selected historical editions for a reviewer.
Create a federal legal research lesson
Build an exercise around a public statute: identify its publication collection, locate its chapter, search for related publications, and retrieve a cited section. Have students compare selected editions and distinguish document metadata from document text.
Assemble an edition-specific reference archive
Select federal publication collections and collect the documents needed for a policy handbook. Organize U.S. Code sections within their titles, preserve publication metadata and text, and include earlier editions where the handbook discusses changes.
Compare statutory wording across editions
Find available editions of a cited section, retrieve the selected texts, and produce a passage-by-passage comparison. Link each passage to its edition and document details.
Map a U.S. Code chapter
Walk a chapter's structure and assemble its section headings, document locations, and text into a navigable reading list. Use the map to examine neighboring provisions that a keyword search might miss.
Find federal publications on a policy topic
Identify relevant publication series, search their metadata and full text, and prepare a reading list with document details and selected passages. Keep the publication series visible so readers can distinguish the sources.
Review citations in a policy handbook
Resolve the handbook's U.S. Code citations to the intended editions and compare quoted passages with the retrieved text. Return document links and edition information for editorial review.
More on GovInfo document details and Muse
Overview
GovInfo document details in other agents
Questions about GovInfo document details in Muse
Can Muse use GovInfo document details?
Yes. Add Spiral to Muse as an MCP server, and Muse can find and run GovInfo document details like any built-in tool.
How much does GovInfo document details cost in Muse?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse plan is separate.
Do I need an Alexandria account to use GovInfo document details in Muse?
You need no Alexandria account. Muse uses one Spiral API key for every tool, and Spiral runs GovInfo document details on its own Alexandria account.
How long does it take to set up GovInfo document details in Muse?
About two minutes: create an API key, then send Muse this message, then give Muse the key.
Does Muse wait while GovInfo document details runs?
GovInfo document details runs in the background. Muse starts the run, checks on it and gives you the json when it's ready.
Does GovInfo include every government document?
GovInfo covers official publications from all three branches of the federal government. Its search only includes documents stored on GovInfo, so it is not a complete index of everything government agencies publish.
How far back does GovInfo's U.S. Code archive go?
GovInfo provides virtual main editions of the U.S. Code from 1994 onward. You can browse them by year and then title.
How often is the U.S. Code updated?
The publication cycle includes a new main edition every six years and annual supplements. A GovInfo edition is a published snapshot, so choose the edition deliberately when comparing statutory wording.
Does a recent modification date mean a publication is new?
GovInfo's lastModified value records when a package was added or updated. It differs from the publication date, so a recent modification alone does not establish when the document was issued.
Is every document available in the same formats?
Most GovInfo documents are available as PDF and text. Other formats depend on the publication, and the document details page identifies the available files.
Start using GovInfo document details in Muse
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Muse:
set up https://spiral.ai/SKILL.md


