[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [EUR-Lex legislation title search](https://spiral.ai/integrations/muse-code/eur-lex-legislation-title-search)

# How to Use EUR-Lex legislation title search in Muse Code

Finds EU documents by words in their titles. Use it to discover legislation about a subject before retrieving an act's detailed record or full text.

|  |  |
| --- | --- |
| Model | EUR-Lex legislation title search |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with EUR-Lex legislation title search in Muse Code

- Use EUR-Lex legislation title search for artificial intelligence and add the returned document references to the project's research index.
- Use EUR-Lex legislation title search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from EUR-Lex legislation title search and tell me what changed since last week.
- Check EUR-Lex legislation title search and summarize what you find in three bullet points.
- Pull the newest data from EUR-Lex legislation title search and give me the result as a table.

## How to set up EUR-Lex legislation title search in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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 EUR-Lex legislation title search**: 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": "eu-institutions-law-eur-lex-official/law/search",
    "input": {
      "url": "<url>"
    }
  }'
```

Then paste one of the prompts above: Muse Code finds EUR-Lex legislation title search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## EUR-Lex legislation title search tools and prices

- [EU law and public tenders · Search legislation titles](https://spiral.ai/tools/alexandria/eu-institutions-law-eur-lex-official/law/search) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | Pasted EUR-Lex search URL (https://eur-lex.europa.eu/search.html?...&text=<words>) instead of `query`; its `text` words become the title query. Saved (`qid`-only) and advanced searches are not replayable. |
| type | regulation, directive, decision, any | any | type |
| limit | 1 to 50 | 20 | limit |
| query |  | — | Words that must all appear in the title. |
| offset | 0 to 10000 | 0 | offset |
| sector | legislation, treaties, international_agreements, preparatory_acts, case_law, national_measures, any | legislation | sector |

## What can you do with EUR-Lex legislation title search in Muse Code?

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.

### Prepare an EU policy newsletter

Select relevant Official Journal entries, find related legislation, confirm document details, and read the provisions behind each proposed newsletter item.

### Create a publication reference archive

Organize selected Official Journal dates and subject searches into an archive containing act references, detailed records, and readable document text.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## EUR-Lex legislation title search in other agents

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

## More Muse Code guides

- [EUR-Lex legal act full text](https://spiral.ai/integrations/muse-code/eur-lex-legal-act-full-text)
- [EUR-Lex national transposition measures](https://spiral.ai/integrations/muse-code/eur-lex-national-transposition-measures)
- [EUR-Lex legal act details](https://spiral.ai/integrations/muse-code/eur-lex-legal-act-details)
- [Edmonton building permits](https://spiral.ai/integrations/muse-code/edmonton-building-permits)
- [EUR-Lex Official Journal publications](https://spiral.ai/integrations/muse-code/eur-lex-official-journal-publications)
- [Edmonton business licences](https://spiral.ai/integrations/muse-code/edmonton-business-licences)

## Questions about EUR-Lex legislation title search in Muse Code

**Can Muse Code use EUR-Lex legislation title search?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run EUR-Lex legislation title search like any built-in tool.

**How much does EUR-Lex legislation title search cost in Muse Code?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.

**Do I need an Alexandria account to use EUR-Lex legislation title search in Muse Code?**

No. Spiral runs EUR-Lex legislation title search 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 legislation title search in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while EUR-Lex legislation title search runs?**

EUR-Lex legislation title search runs in the background. Muse Code 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.

