[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [SEC EDGAR financial concept history](https://spiral.ai/integrations/opencode/sec-edgar-financial-concept-history)

# How to Use SEC EDGAR financial concept history in opencode

Returns one company's reported XBRL values for a single financial concept. Use it to examine a metric across filings without collecting every financial tag.

|  |  |
| --- | --- |
| Model | SEC EDGAR financial concept history |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with SEC EDGAR financial concept history in opencode

- Use SEC EDGAR financial concept history to retrieve Microsoft's reported net income values and build a table in this project showing periods, units, and source accessions.
- Use SEC EDGAR financial concept history to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from SEC EDGAR financial concept history and tell me what changed since last week.
- Check SEC EDGAR financial concept history and summarize what you find in three bullet points.
- Pull the newest data from SEC EDGAR financial concept history and give me the result as a table.

## How to set up SEC EDGAR financial concept history in opencode

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

### Use Spiral's MCP server

1. **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.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **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.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 SEC EDGAR financial concept history**: 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": "sec-gov/filings/concept",
    "input": {
      "concept": "<concept>"
    }
  }'
```

Then paste one of the prompts above: opencode finds SEC EDGAR financial concept history on Spiral, shows the price and runs it.

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

## SEC EDGAR financial concept history tools and prices

- [SEC EDGAR · Concept](https://spiral.ai/tools/alexandria/sec-gov/filings/concept) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cik |  | — | SEC Central Index Key, with or without leading zeros. |
| form |  | — | Keep facts from one form, e.g. 10-K. |
| name |  | — | Filer name; the best EDGAR typeahead match is used. |
| unit |  | — | Keep one unit, e.g. USD, shares, USD/shares. |
| limit | 1 to 5000 | 200 | limit |
| ticker |  | — | Exchange ticker as EDGAR lists it (BRK-B or BRK.B both work). Pattern: ^[A-Za-z0-9.\-]{1,12}$. |

## What can you do with SEC EDGAR financial concept history in opencode?

Build a corporate disclosure database that connects SEC company identities, filing records, and reported financial facts. A coding agent can add publication checks and focused retrieval to the project's research workflow.

### Build an industrial peer comparison

Collect a company universe, select industrial peers, and confirm their reporting identities. Gather financial facts, inspect individual concepts, and connect the comparison to each company's filing history.

### Monitor listed corporate borrowers

Build a borrower reference directory and establish a baseline of reported financial facts. Check published daily indexes, recover missed dates, inspect relevant filing records, and refresh selected metrics for credit review.

### Maintain a financial research database

Populate company reference records and reported financial facts, then use daily filing records to identify refresh candidates. Support targeted company lookups, older filing-history retrieval, and single-metric checks for analysts.

### Check figures in an earnings research note

Confirm the reporting company, gather its financial facts, and inspect the specific concepts behind a draft table. Use its filing history to locate the disclosures associated with the reported figures.

### Create a financial disclosure review queue

Start with a company directory and a baseline of reported metrics. Use newly published filing records to select companies for review, then examine their histories and financial concepts for changes requiring an analyst's attention.

## Overview

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

## SEC EDGAR financial concept history in other agents

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

## More opencode guides

- [SEC EDGAR filing sections](https://spiral.ai/integrations/opencode/sec-edgar-filing-sections)
- [SEC EDGAR insider archive status](https://spiral.ai/integrations/opencode/sec-edgar-insider-archive-status)
- [SEC EDGAR filing search](https://spiral.ai/integrations/opencode/sec-edgar-filing-search)
- [SEC EDGAR insider filing details](https://spiral.ai/integrations/opencode/sec-edgar-insider-filing-details)
- [SEC EDGAR filing index record](https://spiral.ai/integrations/opencode/sec-edgar-filing-index-record)
- [SEC EDGAR institutional 13F holdings](https://spiral.ai/integrations/opencode/sec-edgar-institutional-13f-holdings)

## Questions about SEC EDGAR financial concept history in opencode

**Can opencode use SEC EDGAR financial concept history?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run SEC EDGAR financial concept history like any built-in tool.

**How much does SEC EDGAR financial concept history 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 financial concept history in opencode?**

No. Spiral runs SEC EDGAR financial concept history 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 financial concept history in opencode?**

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

**Does opencode wait while SEC EDGAR financial concept history runs?**

SEC EDGAR financial concept history runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Does the SEC ticker directory cover every EDGAR filer?**

The SEC does not guarantee the accuracy or scope of its ticker association files. EDGAR also contains filings from entities beyond publicly traded companies.

**How fresh is SEC EDGAR data?**

SEC submissions typically update in under a second and XBRL in under a minute. Daily indexes follow a separate nightly process starting around 10 p.m. Eastern.

**How far back do SEC filing indexes go?**

Public filing indexes extend from the third quarter of 1994 onward. That archive boundary does not promise financial facts for every indexed filing.

**Do daily indexes reflect later filing removals?**

Removals processed on subsequent business days are not reflected in earlier daily indexes. An old index entry can therefore remain after the underlying filing has been removed.

**Do the financial facts include every figure in a filing?**

The SEC's XBRL aggregation covers standard-taxonomy facts applying to the entire filing entity. Custom company tags and segment-specific figures fall outside that boundary.

