Lex-Ray

Structured EU and UK legislation: public metadata, free sample articles, and entitled full text.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
77%
命名质量
93%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~796token 数(工具定义)
~955 B典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.62%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "lexray": {
      "url": "https://lexray.simmons-simmons.com/mcp/"
    }
  }
}

远程端点

https://lexray.simmons-simmons.com/mcp/streamable-http

它能做什么

工具清单

工具(3)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢about_this_server

What this MCP server is, what each access tier includes, and how to obtain access. Call this first if you are unsure what the server offers, or after any tool refuses you — the refusal names a tier, and this tool explains what that tier costs and what it adds. Requires no credentials.

输入模式

{
  "type": "object",
  "properties": {},
  "required": []
}
🟢search_instruments(query, limit)

Find EU legislation and UK legislation by keyword, acronym (GDPR, DORA, AIA), the common name practitioners use ('Market Abuse Regulation', 'MLRs', 'UK GDPR'), CELEX ID or Lex-Ray id. Matching is case-insensitive and an exact name ranks ahead of partial title matches. Returns an envelope whose 'matches' array carries the bibliographic record for each match — titles, id, jurisdiction (eu/uk), Official Journal reference, dates — plus a currency block giving the commencement state as at today, so a match that is expired or not yet applying says so rather than reading as current law. When several instruments share the exact name searched, 'ambiguous' is true and 'disambiguation' lists them: choose by jurisdiction and title rather than taking the first. When a curated common name settles it, 'preferred' names that act and 'alternatives' the others sharing the name. Use this to resolve a name to an id before calling the other tools. Requires no credentials.

输入模式

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Search term - can be a keyword (e.g., 'artificial intelligence'), acronym (e.g., 'GDPR', 'AIA'), or CELEX ID (e.g., '32016R0679')"
    },
    "limit": {
      "type": "integer",
      "description": "Maximum number of results (1-50, default 10)",
      "default": 10
    }
  },
  "required": [
    "query"
  ]
}
🟢get_legislation(celex_id, detail, fetch_if_missing)

Retrieve one act by CELEX ID, Lex-Ray ID, nickname, or uk-/eu- prefix. 'meta' is the bibliographic record (titles, dates, Official Journal reference, EuroVoc concepts, amendments and relationships to other acts) and needs no credentials. 'data' adds the parsed legal content — recitals, articles, annexes, definitions — and 'full' adds the rendered HTML. Every level carries a currency block: the day the answer was computed for, the commencement state on that day, and which version of the act is in force. Every answer also carries `pending_amendments`: proposals that propose to amend this act, each labelled in_flight / concluded / unknown, stamped with the reading date it was resolved against. These are PROPOSED, not enacted — never quote one as law.

输入模式

{
  "type": "object",
  "properties": {
    "celex_id": {
      "type": "string",
      "description": "The CELEX ID, Lex-Ray ID, nickname, or jurisdiction-prefixed nickname (e.g., '32016R0679', 'FCA-TS-s140', 'gdpr', 'uk-gdpr')"
    },
    "detail": {
      "type": "string",
      "enum": [
        "meta"
      ],
      "description": "Level of detail: 'meta' (titles, dates, OJ reference, classifications)",
      "default": "meta"
    },
    "fetch_if_missing": {
      "type": "boolean",
      "description": "Live fetch fallback: false only for this caller; unknown acts return structured not_found without an outbound EUR-Lex fetch",
      "default": false,
      "enum": [
        false
      ]
    }
  },
  "required": [
    "celex_id"
  ]
}

社区

评价此服务器

证据

最近观测

已验证未记录版本3 个工具