How to Use EUR-Lex national transposition measures in opencode
Returns national measures reported for implementing an EU act, principally a directive. Use it to compare notified measures across EU countries or investigate implementation in a particular country.
Prompts to try with EUR-Lex national transposition measures in opencode
Copy an example into opencode, or ask in your own words.
Use EUR-Lex national transposition measures for Directive 2019/1937 in Germany and France, then add a comparison of the returned measures to our research documentation.
Use EUR-Lex national transposition measures to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from EUR-Lex national transposition measures and tell me what changed since last week.
Check EUR-Lex national transposition measures and summarize what you find in three bullet points.
Pull the newest data from EUR-Lex national transposition measures and give me the result as a table.
How to set up EUR-Lex national transposition measures 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 EUR-Lex national transposition measures
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": "eu-institutions-law-eur-lex-official/law/transposition", "input": { "type": "regulation" } }'
Then paste one of the prompts above: opencode finds EUR-Lex national transposition measures on Spiral, shows the price and runs it.
EUR-Lex national transposition measures providers and prices
Spiral runs EUR-Lex national transposition measures 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 |
|---|---|---|---|
| Type | regulation, directive, or decision | type | |
| Year | 1950 to 2100 | year | |
| Limit | 1 to 100 | 50 | limit |
| Number | 1 to 99999 | number | |
| Offset | 0 to 100000 | 0 | offset |
Every API field of EU law and public tenders · National transposition measures is on its tool page: open its card above.
What can you do with EUR-Lex national transposition measures in opencode?
Build a research view that connects EU publications, act records, provisions, and national implementation references. Use CELEX to keep documents aligned across language versions.
Build a regulatory research workspace
Collect title matches, act details, relevant provisions, publication references, and notified national measures into a research view organized by CELEX.
Reconstruct a directive's publication and implementation history
Find the directive, inspect its dates, read the relevant articles, review its publication-day entries, and assemble the national measures reported for it.
Prepare a country expansion briefing
Research directives relevant to a planned EU market launch, extract their provisions, and compare the implementing measures reported for the target countries.
Maintain a directive watchlist
Review new publication entries and title matches, revisit tracked act records and text, and compare reported national measures with previous results.
Compare national implementation references
Put a directive's provisions beside the national measures reported by selected EU countries, with the act's identity and dates attached for review.
More on EUR-Lex national transposition measures and opencode
Overview
EUR-Lex national transposition measures in other agents
Questions about EUR-Lex national transposition measures in opencode
Can opencode use EUR-Lex national transposition measures?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run EUR-Lex national transposition measures like any built-in tool.
How much does EUR-Lex national transposition measures 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 EUR-Lex national transposition measures in opencode?
No. Spiral runs EUR-Lex national transposition measures on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up EUR-Lex national transposition measures in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while EUR-Lex national transposition measures runs?
EUR-Lex national transposition measures runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
How far back does EUR-Lex's Official Journal archive go?
EUR-Lex holds electronic versions of all Official Journals back to December 30, 1952. That is the archive's starting point, rather than a guarantee that every historical document exists in every current EU language.
How quickly does newly published legislation appear?
EUR-Lex updates daily, but full legal and bibliographic information for a newly published act can take up to two working days. A publication can therefore appear before its detailed metadata is complete.
Does the same act have a different identifier in each language?
CELEX identifies the document regardless of language. Use that identifier to keep references to the same act together when working across EUR-Lex's 24 official EU languages.
Does EUR-Lex include the text of every national implementing measure?
No. Its national transposition collection includes measure titles, but the corresponding national texts are available only where provided.
Is the readable web text the authentic Official Journal?
The HTML presentation is informational and is not authentic. Since October 1, 2023, each act is published individually as an authentic Official Journal PDF.
Start using EUR-Lex national transposition measures 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


