How to Use SEC EDGAR institutional 13F holdings in opencode
Returns positions from an institutional manager's 13F information table, including issuers, CUSIPs, shares, reported values, and voting authority. Use it to compare disclosed holdings between quarters.
Prompts to try with SEC EDGAR institutional 13F holdings in opencode
Copy an example into opencode, or ask in your own words.
Use SEC EDGAR institutional 13F holdings for Berkshire Hathaway for June 30 and September 30, 2026, and build a CUSIP-based position comparison in this project.
Use SEC EDGAR institutional 13F holdings to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from SEC EDGAR institutional 13F holdings and tell me what changed since last week.
Check SEC EDGAR institutional 13F holdings and summarize what you find in three bullet points.
Pull the newest data from SEC EDGAR institutional 13F holdings and give me the result as a table.
How to set up SEC EDGAR institutional 13F holdings in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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 SEC EDGAR institutional 13F holdings
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": "sec-gov/filings/holdings_13f", "input": { "cik": 1 } }'
Then paste one of the prompts above: opencode finds SEC EDGAR institutional 13F holdings on Spiral, shows the price and runs it.
SEC EDGAR institutional 13F holdings providers and prices
Spiral runs SEC EDGAR institutional 13F holdings through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Cik | a number | SEC Central Index Key, with or without leading zeros. | |
| Limit | 1 to 10000 | 1000 | limit |
| Offset | 0 to 100000 | 0 | offset |
| Include amendments | on or off | include_amendments |
Every API field of SEC EDGAR · Holdings 13f is on its tool page: open its card above.
What can you do with SEC EDGAR institutional 13F holdings in opencode?
Build a company research dataset that links SEC filings and ownership records to their source documents. Add publication checks and filing drilldowns so the project's research views can distinguish collected records from material that needs refreshing.
Quarterly company research packet
Build a research packet for Apple or Microsoft with filing dates, document links, institutional holdings, corporate insider transactions, and beneficial ownership disclosures. Check facts and archive status before refreshing the packet, then inspect individual filings behind the findings.
Investment committee evidence appendix
Attach SEC source records to a company review: filing accessions, supporting documents, disclosed holdings, transaction footnotes, and ownership figures. Include publication status checks so reviewers can see which financial facts and quarterly archives were checked for changes.
Public company disclosure fact-check
Check claims about a company's reporting history and disclosed ownership against SEC records. Locate the relevant reports, inspect transaction explanations and ownership filings, and check whether facts or quarterly archives changed before completing the review.
Historical disclosure dataset maintenance
Maintain a research dataset linking company filings, institutional positions, insider transaction rows, and beneficial ownership reports. Use status checks to identify refresh work, collect missing disclosure periods, and retain individual filing documents and footnotes for review.
Institutional holdings comparison
Compare Berkshire Hathaway's disclosed positions between two reporting quarters. Produce a table of positions added, removed, or changed, with links to the underlying 13F submissions.
More on SEC EDGAR institutional 13F holdings and opencode
Overview
SEC EDGAR institutional 13F holdings in other agents
Questions about SEC EDGAR institutional 13F holdings in opencode
Can opencode use SEC EDGAR institutional 13F holdings?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run SEC EDGAR institutional 13F holdings like any built-in tool.
How much does SEC EDGAR institutional 13F holdings cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use SEC EDGAR institutional 13F holdings in opencode?
No. Spiral runs SEC EDGAR institutional 13F holdings on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up SEC EDGAR institutional 13F holdings in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while SEC EDGAR institutional 13F holdings runs?
SEC EDGAR institutional 13F holdings runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
How far back does SEC EDGAR data go?
Public filing indexes begin in the third quarter of 1994. Structured collections have different starting points: the quarterly insider transaction archives begin in January 2006.
How fresh is SEC EDGAR data?
The SEC updates submissions and XBRL JSON data throughout the day as filings are disseminated. Its insider transaction archives are published quarterly, so those archives have a different update cycle.
Does EDGAR contain every SEC filing?
No. Some filings are still submitted on paper and are not accessible through EDGAR.
How can I recognize an amended filing?
The SEC appends /A to the form type. For example, 10-K/A identifies an amendment to a 10-K.
Are extracted SEC datasets guaranteed to be accurate?
The SEC explicitly does not guarantee the accuracy of its insider transaction datasets. That collection extracts structured information from Forms 3, 4, and 5, including a separate footnote table.
Start using SEC EDGAR institutional 13F holdings in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


