Spiral gives your agent every tool with one account. Browse the tools →

opencode · Finance

How to Use Fiscal.ai standardized cash flow statement in opencode

Returns cash flow statement line items mapped to a common schema. Use it to compare cash generation and spending across companies.

Prompts to try with Fiscal.ai standardized cash flow statement in opencode

Copy an example into opencode, or ask in your own words.

Use Fiscal.ai standardized cash flow statement to look this up and give me the result as a table. Save the result in ./assets.

Fiscal.ai standardized cash flow statementopencode
Try asking
  • Pull the latest numbers from Fiscal.ai standardized cash flow statement and tell me what changed since last week.

  • Check Fiscal.ai standardized cash flow statement and summarize what you find in three bullet points.

  • Pull the newest data from Fiscal.ai standardized cash flow statement and give me the result as a table.

  • Check Fiscal.ai standardized cash flow statement every morning and tell me only when something changed.

How to set up Fiscal.ai standardized cash flow statement 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.

    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.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Fiscal.ai standardized cash flow statement

    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": "fiscal-ai/financials/cash-flow-statement",
        "input": {
          "fscl": "<fscl>"
        }
      }'

Then paste one of the prompts above: opencode finds Fiscal.ai standardized cash flow statement on Spiral, shows the price and runs it.

Fiscal.ai standardized cash flow statement providers and prices

Spiral runs Fiscal.ai standardized cash flow statement through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
Fiscal.ai · Cash flow statement
fiscal-ai/financials/cash-flow-statement

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Include reporting templateson or off

Include which reporting templates each standardized metric belongs to.

Include mapping alternativeson or off

Include the alternative as-reported line items that could have mapped to each standardized metric, which is how a mapping decision is audited.

Every API field of Fiscal.ai · Cash flow statement is on its tool page: open its card above.

What can you do with Fiscal.ai standardized cash flow statement in opencode?

Build an internal financial review that connects company comparisons to the underlying reported accounts. A coding agent can turn Fiscal.ai statements and adjusted metrics into tables and calculations in your project's analysis files.

Prepare an earnings review

Build an internal review of Microsoft's latest results. Use standardized statements for the comparison tables, as-reported statements to inspect the disclosed accounts, and adjusted metrics for a separate view of adjusted performance.

Build a five-year company history

Create an annual financial history for Adobe. Follow operating results, financial position, cash movements, and available adjusted measures, keeping the company's disclosed labels alongside the standardized presentation.

Review a financial model's assumptions

Check an internal model of Costco against retrieved statement history. Compare its account groupings with the as-reported statements, review standardized trends, and identify where an assumption uses an adjusted measure.

Report changes after earnings

Refresh an internal research brief for Alphabet after a new disclosure. Explain changes in the standardized statements, inspect the corresponding reported accounts, and summarize available adjusted results separately.

Compare public company peers

Compare Microsoft and Adobe using standardized statements over matching periods. Add available adjusted measures in a separate table so the reader can assess both presentations.

Explain a statement presentation

Lay Apple's standardized and as-reported statements side by side. Explain differences in account labels and groupings before a researcher changes the mappings in an internal spreadsheet.

Questions about Fiscal.ai standardized cash flow statement in opencode

Can opencode use Fiscal.ai standardized cash flow statement?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Fiscal.ai standardized cash flow statement like any built-in tool.

How much does Fiscal.ai standardized cash flow statement cost in opencode?

$0.003492 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 Fiscal.ai standardized cash flow statement in opencode?

No. Spiral runs Fiscal.ai standardized cash flow statement on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Fiscal.ai standardized cash flow statement in opencode?

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

Does opencode wait while Fiscal.ai standardized cash flow statement runs?

Fiscal.ai standardized cash flow statement runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

How far back does Fiscal.ai's financial data go?

Fiscal.ai lists more than 20 annual periods and more than 40 quarterly periods for financial statements and ratios. Adjusted metrics have a shorter listed history: more than five years for annual and quarterly data.

How soon after a disclosure does Fiscal.ai update its data?

Fiscal.ai says aggregation begins when information is disclosed and data can reach the API within minutes. That is its stated delivery timing, rather than a guaranteed deadline for every disclosure.

What is the difference between standardized and as-reported statements?

Fiscal.ai's standardized income statements, balance sheets, and cash flow statements use a common schema for company comparisons. As-reported statements retain the line items disclosed by the company.

Can Fiscal.ai's statement values be traced to a filing?

Fiscal.ai documents filing traceability for both as-reported and standardized statements. Source references identify the filing PDF and the page containing the value.

Are the same adjusted metrics available for every industry?

No. Fiscal.ai's reference explicitly excludes adjusted EBITDA and adjusted EBITDA margin for financials and insurance, so those measures should not be expected for a bank or insurer.

Get started

Start using Fiscal.ai standardized cash flow statement in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options