프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. 리뷰와 계정 기능은 다음 단계에서 열려요.
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

LexAPI

제작자: Lex-API버전 0.3.0i★ –i컴퓨터 또는 클라우드
레지스트리 이름io.github.Lex-API/lexapi-mcp

설치

개요

제작자가 쓴 설명(영어 원문)

EU law for AI: EUR-Lex legislation and case law, citation graph, semantic search with asOf.

PopNx MCP의 세 기둥

이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.

할 수 있는 일

이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.

  • 연결 방식: 컴퓨터 또는 클라우드
  • 전송 방식: stdio, Streamable HTTP
  • 카테고리: 법률 및 정부 데이터
  • 입력해야 할 값: LEXAPI_API_KEY, Authorization

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

설치하기 전에

  • 기본 점검: 3개 중 3개 통과
  • 제작자의 서버에서 실행돼요. 내가 요청한 내용은 제작자의 서버를 거쳐요.
  • 직접 입력할 값: LEXAPI_API_KEY, LEXAPI_BASE_URL, LEXAPI_MCP_READ_ONLY, LEXAPI_TIMEOUT_MS, Authorization

비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.

필요한 것

어떤 앱을 쓰세요?

위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.

이 주소는 요청 header에 키가 필요한데, 커넥터 추가 메뉴에서는 넣을 수 없어요. 대신 Claude Code, Cursor, VS Code를 쓰세요.

또는 내 컴퓨터에서 실행하기

Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요

{
  "mcpServers": {
    "lexapi": {
      "command": "npx",
      "args": [
        "-y",
        "@lexapi/mcp"
      ],
      "env": {
        "LEXAPI_API_KEY": "your-value",
        "LEXAPI_BASE_URL": "your-value",
        "LEXAPI_MCP_READ_ONLY": "your-value",
        "LEXAPI_TIMEOUT_MS": "your-value"
      }
    }
  }
}

터미널에서 이 명령어를 실행하세요

claude mcp add --transport http lexapi https://mcp.lex-api.com/v1 --header 'Authorization: your-value'

또는 내 컴퓨터에서 실행하기

claude mcp add lexapi --env LEXAPI_API_KEY=your-value --env LEXAPI_BASE_URL=your-value --env LEXAPI_MCP_READ_ONLY=your-value --env LEXAPI_TIMEOUT_MS=your-value -- npx -y @lexapi/mcp

실행하기 전에 빈 값을 채워 주세요.

Cursor에서 열기

또는 설정을 직접 복사하기

프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요

{
  "mcpServers": {
    "lexapi": {
      "url": "https://mcp.lex-api.com/v1",
      "headers": {
        "Authorization": "your-value"
      }
    }
  }
}

또는 내 컴퓨터에서 실행하기

Cursor에서 열기

또는 설정을 직접 복사하기

프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요

{
  "mcpServers": {
    "lexapi": {
      "command": "npx",
      "args": [
        "-y",
        "@lexapi/mcp"
      ],
      "env": {
        "LEXAPI_API_KEY": "your-value",
        "LEXAPI_BASE_URL": "your-value",
        "LEXAPI_MCP_READ_ONLY": "your-value",
        "LEXAPI_TIMEOUT_MS": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

VS Code에서 열기

또는 설정을 직접 복사하기

프로젝트의 .vscode/mcp.json에 붙여 넣으세요

{
  "servers": {
    "lexapi": {
      "type": "http",
      "url": "https://mcp.lex-api.com/v1",
      "headers": {
        "Authorization": "your-value"
      }
    }
  }
}

또는 내 컴퓨터에서 실행하기

VS Code에서 열기

또는 설정을 직접 복사하기

프로젝트의 .vscode/mcp.json에 붙여 넣으세요

{
  "servers": {
    "lexapi": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@lexapi/mcp"
      ],
      "env": {
        "LEXAPI_API_KEY": "your-value",
        "LEXAPI_BASE_URL": "your-value",
        "LEXAPI_MCP_READ_ONLY": "your-value",
        "LEXAPI_TIMEOUT_MS": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

이 주소는 요청 header에 키가 필요한데, 커넥터 추가 메뉴에서는 넣을 수 없어요. 대신 Claude Code, Cursor, VS Code를 쓰세요.

선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.

직접 입력할 값

  • LEXAPI_API_KEY 비밀 필수 env
    LexAPI API key. Get one at https://lex-api.com/dashboard (FREE plan: 500 credits/month).
  • LEXAPI_BASE_URL env
    Override the LexAPI base URL. Defaults to https://lex-api.com/api/v1.
  • LEXAPI_MCP_READ_ONLY env
    Set to true to hide every non-read-only tool (webhook create/update/delete/test, citation extraction).
  • LEXAPI_TIMEOUT_MS env
    Deadline per tool call in milliseconds, retries included (default 55000). Raise only together with the MCP client timeout.
  • Authorization 비밀 필수 HTTP header
    Bearer . Get one at https://lex-api.com/dashboard (FREE plan: 500 credits/month).

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

할 수 있는 일

서버가 도구 목록을 보여 주기 전에 로그인을 요구해요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 Lex-API 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • … 아직 점검 안 함

    계속 관리되고 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • … 아직 점검 안 함

    라이선스 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • ✓ 통과

    엔드포인트 응답

    1132ms 만에 응답(HTTP 401)

  • ✓ 통과

    OAuth로 로그인

    OAuth 로그인을 지원한다고 밝혀서, AI 앱이 로그인 화면으로 안내해 줘요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    아직 점검하지 않았어요. 엔드포인트를 점검할 때 도구 목록을 읽어요

법률 및 정부 데이터 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 1731개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 1731개 중 70%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 1731개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

LexAPI, 안전한가요?

해당하는 기본 점검 3개 중 3개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

입력해야 할 값: LEXAPI_API_KEY, Authorization

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

둘 다 가능해요. 내 컴퓨터에 설치해도 되고, 클라우드 버전에 연결해도 돼요.

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.3.0)은 11일 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. URL로 연결되기 때문에, 원격 MCP 서버를 지원하는 앱(예: 개발자 모드의 ChatGPT)에서도 쓸 수 있어요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: Agentum Entity Resolver, Contract Compass, Agent Data Tools: Company, compliance and checks

대안

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

Agentum Entity Resolver

제작자: Algiras

Company registry, VAT, sanctions, vendor KYB, IBAN and wallet checks; pay per call by x402 or card.

클라우드에서 실행오늘 업데이트
설치

Contract Compass

제작자: sallim-app

Korean public procurement law: rule-engine rulings, statutes search, live court precedents

클라우드에서 실행오늘 업데이트
설치

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

LexAPI MCP

Model Context Protocol server for LexAPI — EU law for AI assistants: EUR-Lex legislation parsed to article level, CJEU case law, the typed citation graph, and semantic search (including the law as in force on a past date). Works with Claude, Cursor, VS Code and any other MCP client.

Ask your assistant *"what does Article 17 GDPR require?"*, *"which acts amended REACH?"* or *"what were the own-funds requirements for banks in June 2019?"* — the model calls LexAPI and answers from the source text, with CELEX citations.

You need a LexAPI account. With the hosted server you just sign in with LexAPI from your MCP client; with the npm package (or if you prefer), use an API key from lex-api.com/dashboard. There is a FREE plan, no card required, with enough credits to try the read tools; current allowances are on lex-api.com/pricing.

Connect to the hosted server (sign in with LexAPI)

The server is hosted at `https://mcp.lex-api.com/v1` (Streamable HTTP). Add that URL to your client and sign in with your LexAPI account when it asks — no key to copy. You see a LexAPI consent page listing what the connection can do; calls are billed to your plan exactly like your own API key, and you can disconnect the app at any time under *Dashboard → Connected apps* (that revokes it immediately).

claude.ai and Claude Desktop

*Settings → Connectors → Add custom connector*, name it LexAPI, URL https://mcp.lex-api.com/v1, then *Connect* and sign in. Connectors added on claude.ai are also available in Claude Desktop (same account).

Claude Code
claude mcp add --transport http lexapi https://mcp.lex-api.com/v1

Then run /mcp in Claude Code and choose *Authenticate* for lexapi; your browser opens the LexAPI sign-in.

Other MCP clients

Any client that implements MCP authorization (OAuth 2.1 with protected-resource discovery) connects the same way: point it at https://mcp.lex-api.com/v1. The server answers an unauthenticated request with 401 and WWW-Authenticate: Bearer … resource_metadata="https://mcp.lex-api.com/.well-known/oauth-protected-resource/v1"; the client discovers LexAPI (https://lex-api.com) as the authorization server from there.

With an API key instead

Clients without OAuth support — or scripts — send a key from the dashboard as Authorization: Bearer lex_... (or x-api-key: lex_...):

claude mcp add --transport http lexapi https://mcp.lex-api.com/v1 --header "Authorization: Bearer lex_..."

Run it locally (npm, API key)

Claude Desktop (local)

Add to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):

{

"mcpServers": { "lexapi": { "command": "npx", "args": ["-y", "@lexapi/mcp"], "env": { "LEXAPI_API_KEY": "lex_..." } } } }

Restart Claude Desktop.

Claude Code (local)
claude mcp add lexapi --env LEXAPI_API_KEY=lex_... -- npx -y @lexapi/mcp
Cursor, VS Code and other stdio clients

Run npx -y @lexapi/mcp with LEXAPI_API_KEY in the environment (Cursor: ~/.cursor/mcp.json; VS Code: .vscode/mcp.json; same command / args / env shape as above).

The npm package needs Node.js 20 or newer. It uses an API key; signing in with LexAPI is a feature of the hosted server.

Tools

Every call is billed from your LexAPI credit pool exactly like the REST endpoint it wraps; each tool's description states its cost so the model can see it.

ToolWhat it doesCredits
lex_semantic_legislationFind legislation articles by meaning. asOf returns the text in force on a date. Consolidated hits are labelled, with the authentic act to cite.5 (+ up to 5 per live version fetch with asOf)
lex_semantic_case_lawFind judgments, orders and AG opinions by meaning; hyde for terse queries; court / date / case-number filters.5 (15 with hyde)
lex_searchStructured EUR-Lex search: text, dates, type, author, procedure, collection.3 per page
lex_recent_documentsWhat was published in the last N days.3 per 10 results
lex_resolveURL / ELI / ECLI → CELEX.1
lex_get_documentA document by CELEX — an outline first for large acts, then articleId or include parts; language and fallback languages.1 corpus · 4 Cellar · 5 live
lex_get_documents_batchUp to 50 documents at once (plan-capped).per document, as above
lex_get_metadataMetadata only.1 · 4 · 5
lex_get_document_by_urlA document from a pasted EUR-Lex URL.1 · 4 · 5
lex_document_versionsLexAPI's observed version history of a document.1
lex_get_document_versionOne observed snapshot, by version number or date.1
lex_cited_byDocuments citing / amending / correcting / repealing an act. includeNational adds national neighbours (BUSINESS+).1
lex_citesWhat a document cites. includeNational adds national neighbours (BUSINESS+).1
lex_citation_networkBoth directions in one call. includeNational adds national neighbours (BUSINESS+).20
lex_citation_pathShortest citation chain between two documents. includeNational follows national documents (BUSINESS+).20
lex_relatedDocuments citing the same acts (bibliographic coupling). includeNational considers national documents (BUSINESS+).20
lex_citation_statsCitation graph totals and most-cited documents. includeNational counts national documents (BUSINESS+).20
lex_extract_citationsAdd a document's outbound citations to the graph.5 (1 if already done)
lex_exportCorpus rows by type (exact label, any case) or type family (documentTypeCode), author, collection, language, document date (dateFrom/dateTo), changedSince or fetchedSince (BUSINESS plans and above).1 per row returned, at least 1 per call (1-credit admission, rows reserved up to limit, unreturned rows refunded; 402 if the pool cannot cover the reservation)
lex_national_coverageWhich countries' national law LexAPI covers and what's live in each (sources, licences, attribution). Call first.free
lex_list_national_documentsBrowse a country's national legislation/case law by title or type; cursor paging past the first 1,000 rows.3 per call
lex_get_national_documentA national document by id. Always served from the corpus.5 → 1
lex_national_semantic_case_lawSemantic search over one country's case law.5
lex_national_semantic_legislationSemantic search over one country's legislation.5
lex_infoYour plan, credit balance and limits.free
lex_list_webhooks · lex_get_webhookYour webhooks and their deliveries.free
lex_create_webhook · lex_update_webhook · lex_delete_webhook · lex_test_webhookWebhooks for new documents and for changes to watched acts (paid plans). The URL must be a public https URL (port 443/8443, no internal hosts or private addresses) — checked here as well as by the API.free
National law

lex_national_coverage, lex_list_national_documents, lex_get_national_document, lex_national_semantic_case_law and lex_national_semantic_legislation cover member-state legislation and case law alongside the EU_LAW tools above. A country can be registered on LexAPI before it is made available to customers — always call lex_national_coverage first; the other tools answer an error for a country that isn't live yet. The citation-graph tools (lex_cited_by, lex_cites, lex_citation_network, lex_citation_path, lex_related, lex_citation_stats) accept national document ids directly (e.g. "AT-NOR-12345") and an includeNational option to pull in national neighbours — BUSINESS, SCALE and ENTERPRISE only, 403 below that. National results have the same fields in every country (LexAPI API 2.8.0): documentKind (act | decision) everywhere, and on a decision court, chamber, caseNumbers and citedNorms — whatever the source calls them. Every national result carries attribution (the official source and its licence, e.g. RIS, gesetze-im-internet.de, Normattiva, Légifrance/Judilibre, the Rechtspraak open data) — show it to the user alongside anything quoted. On FREE/STARTER/PROFESSIONAL plans, national-law calls also draw from a separate monthly allowance (reported as allowance on each response); BUSINESS and higher have no separate limit. A document its source withdrew (a takedown, a pseudonymisation fix) answers a distinct error — nothing of it is served, not even the title; the model is told not to retry and to drop any cached copy.

How results are shaped for models
  • Compact output. Responses drop envelopes and duplicate legacy fields. Documents keep their metadata, textAvailability (why text is missing, which languages exist, a pointer to the latest consolidated version) and language-fallback labels.
  • Large documents. lex_get_document returns the whole body when it fits maxChars (default 40,000 characters), otherwise an outline (article ids, section tree, counts). Fetch an article with articleId or parts with include; long parts continue with offset.
  • Consolidated texts are not authentic. Consolidated versions carry consolidated: true, consolidatedAsOf, baseCelex and a note: quote them, cite the act as published in the Official Journal.
  • `asOf`. Each legislation hit says whether it carries the version in force on that date (asOfResolved, asOfVersion); unresolved hits keep the current text with an asOfReason, and the response warns about them.
  • Errors say what to do. A 402 states the credits needed, the credits left and the reset date; a 429 says how long to wait.

Configuration

Env varDefaultPurpose
LEXAPI_API_KEY*(required)*Your API key from lex-api.com/dashboard.
LEXAPI_BASE_URLhttps://lex-api.com/api/v1Override for staging or self-hosting.
LEXAPI_MCP_READ_ONLYofftrue hides (and refuses) every tool that is not read-only: webhook create / update / delete / test, and lex_extract_citations (it writes to the shared citation graph and costs credits).
LEXAPI_TIMEOUT_MS55000Deadline for one tool call towards LexAPI, retries included. Raise it only together with your MCP client's own tool timeout.
LEXAPI_MCP_ALLOWED_ORIGINS*(none)*Hosted HTTP server only: browser Origins allowed to call it (comma-separated, * for any). Requests without an Origin header (all non-browser clients) are always allowed.

The key is sent only as the x-api-key header to LexAPI; it is never logged or included in tool output. A LEXAPI_API_KEY containing whitespace or control characters (e.g. a multi-line paste) is rejected at startup.

Hosting the HTTP server

npm run start:http (or the Dockerfile) runs the Streamable HTTP transport (POST /v1, GET /health). Self-hosted, it accepts LexAPI API keys (Authorization: Bearer lex_… or x-api-key: lex_…); a request without one gets 401. A value that cannot be an API key (it contains a . or is longer than 8192 characters) is answered 401 and never forwarded.

Env varDefaultPurpose
PORT3000Listen port.
LEXAPI_BASE_URLhttps://lex-api.com/api/v1LexAPI REST base.

Sign in with LexAPI is a feature of the hosted server at https://mcp.lex-api.com/v1: it needs an OAuth client registered with LexAPI, so a self-hosted copy runs with API keys only. The OAuth-related settings in src/oauth/config.ts (LEXAPI_OAUTH_*, LEXAPI_MCP_*) are for that deployment; the server refuses to start if they are set incompletely.

`/health` returns status

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요

PopNx에게 묻기