How to Use California physician license in opencode
Returns the DCA status code and expiration date for an exact California physician-and-surgeon license. Use it to check a known professional credential or flag an approaching expiration for review.
Prompts to try with California physician license in opencode
Copy an example into opencode, or ask in your own words.
Use California physician license to fetch the DCA status code and expiration date for A85379, then add the observed response to our credential review example.
Use California physician license for A85379 and add a display in this project that shows its returned status code and expiration date separately.
Use California physician license for A85379 and update our renewal dashboard to calculate days until its listed expiration date.
Use California physician license to check A85379 and G85379 separately, then show the results side by side in our credential review screen.
Use California physician license for A85379 and compare its returned expiration date with the date stored in our directory example, reporting any difference.
How to set up California physician license 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 California physician license
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": "california-dca-license/licenses/physician", "input": { "licRank": "A", "licNumber": "<licNumber>" } }'
Then paste one of the prompts above: opencode finds California physician license on Spiral, shows the price and runs it.
California physician license providers and prices
Spiral runs California physician license 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 |
|---|---|---|---|
| Lic rank | A, C, or G | Physician-and-surgeon license rank from DCA (A, C or G). |
Every API field of California DCA physician licenses · Physician is on its tool page: open its card above.
What can you do with California physician license in opencode?
Add DCA status and expiration checks to a clinic's credential review application. A coding agent can compare returned values with project records and build a review queue for approaching expirations.
Prepare a clinic credential review
Check the status code and expiration date for a known California physician license before a credentialing reviewer examines the full Board record.
Build a renewal reminder queue
Compare returned expiration dates with a clinic's chosen reminder windows and prioritize credentials approaching expiration.
Review a referral directory
Recheck known professional license identifiers before publishing a practice's referral directory, routing changed status codes or expired dates to an editor.
Check credentials before an assignment
Compare the listed expiration date with a proposed locum assignment's end date and identify credentials requiring renewal follow-up.
Detect changes between credential checks
Compare a fresh status code and expiration date with a clinic's previous observation to identify records needing another review.
Reconcile directory expiration dates
Compare a professional directory's stored license expiration dates with DCA results and prepare discrepancies for correction.
More on California physician license and opencode
Overview
California physician license in other agents
Questions about California physician license in opencode
Can opencode use California physician license?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run California physician license like any built-in tool.
How much does California physician license 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 California physician license in opencode?
No. Spiral runs California physician license on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up California physician license in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while California physician license runs?
California physician license runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Does this cover osteopathic physicians?
This lookup checks California physician-and-surgeon licenses. The Medical Board directs checks for osteopathic doctors, or D.O.s, to the separate Osteopathic Medical Board of California.
How fresh is the license information?
The Medical Board says its license detail information comes from its database and is current as of the date shown on its website. It also warns that posting and update delays can occur.
Does a Current status establish permission to practice?
The Board's definition of Current explicitly depends on the secondary status information. A primary status alone is insufficient for that conclusion.
How often do physician licenses expire?
California physician-and-surgeon licenses require renewal every two years. The Board states that there is no grace period after expiration.
Can public license data reveal every complaint?
No. Complaints are not public because they are allegations, although resulting disciplinary action is public.
Start using California physician license 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


