How to Use Fiscal.ai financial ratio definitions in opencode
Returns ratio identifiers, formulas, formats, and daily-data availability. Use it to choose a valuation or profitability measure before requesting company values.
Prompts to try with Fiscal.ai financial ratio definitions in opencode
Copy an example into opencode, or ask in your own words.
Use Fiscal.ai financial ratio definitions to review the P/E and operating margin mappings in this project's Microsoft research dashboard. Propose corrections where our identifiers or formulas differ.
Use Fiscal.ai financial ratio definitions to check which valuation measures in our Costco chart configuration support daily data. Flag unsupported selections.
Use Fiscal.ai financial ratio definitions to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Fiscal.ai financial ratio definitions and tell me what changed since last week.
Check Fiscal.ai financial ratio definitions and summarize what you find in three bullet points.
How to set up Fiscal.ai financial ratio definitions 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 Fiscal.ai financial ratio definitions
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/metrics/ratios-list", "input": {} }'
Then paste one of the prompts above: opencode finds Fiscal.ai financial ratio definitions on Spiral, shows the price and runs it.
Fiscal.ai financial ratio definitions providers and prices
Spiral runs Fiscal.ai financial ratio definitions through Alexandria. Open a card for today's price, with every fee included.
What can you do with Fiscal.ai financial ratio definitions in opencode?
Check a financial application's metric mappings against Fiscal.ai's accounting definitions. A coding agent can inspect project labels and calculations, then propose corrections using returned identifiers, formulas, and template details.
Prepare a peer comparison
Choose accounting lines and ratio definitions for an internal Microsoft and Alphabet comparison before collecting company figures.
Review a financial model's assumptions
Check whether a model's labels and calculations agree with Fiscal.ai's metric definitions. Flag differences for the analyst to resolve.
Explain dashboard measures
Draft internal help text that explains the accounting lines and ratios behind a research dashboard.
Review metric changes
Compare the definitions needed by an active research application and flag changed identifiers, names, or calculation details for review.
Plan a daily valuation chart
Identify valuation ratios with daily data support before choosing which measures to chart for Costco.
More on Fiscal.ai financial ratio definitions and opencode
Overview
Fiscal.ai financial ratio definitions in other agents
Questions about Fiscal.ai financial ratio definitions in opencode
Can opencode use Fiscal.ai financial ratio definitions?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Fiscal.ai financial ratio definitions like any built-in tool.
How much does Fiscal.ai financial ratio definitions cost in opencode?
$0.013 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 financial ratio definitions in opencode?
No. Spiral runs Fiscal.ai financial ratio definitions 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 financial ratio definitions in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Fiscal.ai financial ratio definitions runs?
Fiscal.ai financial ratio definitions runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Do these lookups return company financial results?
They return accounting metadata: metric identifiers, definitions, formulas, and template information. Company-period financial values require separate financial statement or ratio data.
Does Fiscal.ai use the same accounting structure for every business?
Fiscal.ai gives banks, insurers, REITs, and utilities their own statement structures. Check the reporting template before choosing measures for a comparison.
Can standardized metric definitions change?
Yes. Fiscal.ai explicitly recognizes additions, removals, and renamings of standardized metrics in its template metric mapping updates.
How do Fiscal.ai's financial ratios relate to statement metrics?
Fiscal.ai states its ratio formulas in terms of standardized metrics. Historical daily values are available only for ratios marked as supporting daily data.
Can Fiscal.ai data be used to train an AI model?
Fiscal.ai requires express written authorization to use its data for model training, fine-tuning, or improvement. Its data license also remains limited to the permitted use case.
Start using Fiscal.ai financial ratio definitions 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


