OpenLaws MCP. Access verified law data from any AI agent.
Works with every AI agent you already use
…and any MCP-compatible client
Just plug in your AI agents and start using Vinkius.
OpenLaws lets your AI client access massive, validated legal databases—statutes, regulations, and case law across 50+ jurisdictions. Use it to search laws by keyword (BM25), validate citations instantly, or track legislative changes over time.
Stop jumping between government sites; get verifiable legal data directly through conversation.
What your AI agents can do
Get caselaw opinion
Fetches the full text of a court opinion using its ID, including details on parties and citations.
Get constitution
Retrieves the complete content for a specific constitution provision by its ID, showing amendments history.
Get jurisdiction
Returns details about a specific legal jurisdiction using an ID found through list_jurisdictions.
Run keyword searches against federal and state statutes simultaneously, or scope the search using search_statutes.
Find case law opinions by searching keywords with search_caselaw, then retrieve the full text using get_caselaw_opinion.
Check if a legal citation is correct and find its original government source document using validate_citation.
Query the Code of Federal Regulations (CFR) and state regulations via fast keyword search with search_regulations.
Generate redline comparisons between two versions of a federal statute using get_redline_comparison or view its full history via get_statute_history.
Ask AI about this MCP
Supported MCP Clients
Waiting for input…
OpenLaws MCP Server: 14 Tools for Legal Data Operations
These tools allow your AI client to execute specific legal operations—from searching case law opinions using `search_caselaw` to pulling the full text of a regulation with `get_regulation`.
019d75e9get caselaw opinion
Fetches the full text of a court opinion using its ID, including details on parties and citations.
019d75e9get constitution
Retrieves the complete content for a specific constitution provision by its ID, showing amendments history.
019d75e9get jurisdiction
Returns details about a specific legal jurisdiction using an ID found through `list_jurisdictions`.
019d75e9get recent updates
Shows recent legal changes and updates for all or a specified federal/state jurisdiction, useful for compliance checks.
019d75e9get redline comparison
Compares two versions of a federal statute to show exactly what text was added or removed between legislative sessions.
019d75e9get regulation
Gets the full content of a specific state or federal regulation using its ID, including citations and context.
019d75e9get statute
Retrieves the complete text of a specific statute by its ID, showing effective dates and annotations.
019d75e9get statute history
Views all historical versions and amendments for a federal statute using its ID.
019d75e9list jurisdictions
Lists every available legal jurisdiction—federal, 50 states, DC, PR—and their required IDs.
019d75e9search caselaw
Searches for case law opinions using keywords across millions of cases. Optionally filter by court or circuit ID.
019d75e9search constitutions
Searches the U.S. Constitution and all 50 state constitutions with a keyword, optionally filtering by jurisdiction ID.
019d75e9search regulations
Searches regulations across multiple jurisdictions using keywords; filter results by jurisdiction ID if needed.
019d75e9search statutes
Searches statutes for keywords, allowing you to survey all 50 states or scope the search to one region. Use this first.
019d75e9validate citation
Checks if a given legal citation is correctly formatted and finds its authoritative source document across all major jurisdictions.
Choose How to Get Started
Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.
Build Your Own
Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.
- Import from OpenAPI, Swagger, or YAML specs
- Create Agent Skills with progressive disclosure
- Deploy to edge with MCPFusion framework
- Built in DLP, auth, and compliance on every call
- Real time usage dashboard and cost metering
- Publish to catalog or keep private
Make Your AI Do More
Start with OpenLaws, then connect any of our 4,700+ other servers whenever your AI needs more. One click, no limits.
- Use this MCP plus 4,700+ others, all in one place
- Add new capabilities to your AI anytime you want
- Every connection is secured and compliant automatically
- Track usage and costs across all your servers
- Works with Claude, ChatGPT, Cursor, and more
- New servers added to the catalog every week
What you can do with this MCP connector
Look, forget jumping between government websites and trying to cross-reference sources manually. OpenLaws lets your AI client connect directly to massive, validated legal databases—statutes, regulations, and case law across 50+ jurisdictions. You'll use this server to search laws by keyword (BM25), validate citations instantly, or track legislative changes over time.
This gives you verifiable legal data straight through conversation.
Searching Statutes Across Jurisdictions
You need to know what the law says? Start with search_statutes. You can run a keyword search against federal and state statutes simultaneously, surveying all 50 states at once, or scope that search down if you only care about one region. Once you find an ID using search_statutes, you retrieve the full text of the law using get_statute.
This tool gives you the complete statute content along with effective dates and annotations.
Tracking how laws change is crucial, too. If you need to see what was added or deleted between legislative sessions, use get_redline_comparison to compare two versions of a federal statute. For seeing every historical shift, get_statute_history pulls all the past versions and amendments for that specific federal statute ID.
Querying Case Law Opinions
Want case law? You start by searching using search_caselaw, which takes keywords across millions of cases. You can narrow this down further, optionally filtering results by a court or circuit ID. Once you get the specific case ID, run get_caselaw_opinion to fetch the full text of that court opinion. That output includes details on the parties and any citations used.
For constitutional law, you have two options: search for keywords across The U.S. Constitution and all 50 state constitutions using search_constitutions, or if you already know the ID, grab the complete constitution content with get_constitution.
Regulations and Compliance Checks
If statutes aren't enough, you need regulations. Use search_regulations to query codes across multiple jurisdictions using keywords; remember you can filter results by jurisdiction ID if you want to focus your search. To get the full content of a specific state or federal regulation, use get_regulation with its unique ID.
For compliance monitoring, get_recent_updates shows you recent legal changes and updates for an entire set of jurisdictions or just one specified federal/state area.
Validation and Jurisdiction Scope
The most critical function is knowing if your source material is legit. You can't trust a citation just because it looks right. Use validate_citation to check if any given legal citation is formatted correctly and find its authoritative source document across all major jurisdictions.
Need to know what databases you're even working with? Run list_jurisdictions. This function lists every single available legal jurisdiction—federal, the 50 states, DC, PR—and gives you their required IDs. If you need details on one of those listed areas, use get_jurisdiction with an ID found through list_jurisdictions.
This server makes sure your AI agent never gets lost in a sea of outdated or incorrect legal documents.
How OpenLaws MCP Works
- 1 First, tell your agent what you need—for example, 'What are the data privacy statutes in California?'
- 2 The OpenLaws server runs
search_statutes, returning a list of relevant statutes and their IDs. - 3 Then, if you need the full text or history, prompt for the specific tool action (e.g., 'Now use
get_statutewith ID X') to get the final document.
The bottom line is: You talk naturally to your agent, and it calls the precise OpenLaws tools to build a complete legal answer.
Who Is OpenLaws MCP For?
Legal professionals who need verifiable accuracy can't afford manual research. This is for the senior associate buried in documents or the compliance officer racing to track a sudden regulatory change across state lines.
Uses get_recent_updates and search_regulations constantly. They need to know if a specific rule changed last month in a target jurisdiction.
Relies heavily on search_caselaw and get_caselaw_opinion. Needs to quickly pull case law details across multiple circuits for a client memo.
Employs search_statutes combined with get_redline_comparison when comparing how a state's laws changed from one legislative session to the next.
What Changes When You Connect
- Stop wasting time on manual research. Instead of opening dozens of government websites, you run
search_statutesto survey laws across 50 states in one query. - Get true verification. When a client sends an ambiguous citation, use
validate_citation. It confirms if the source exists and links directly to the original document. - Track change accurately. To understand how a law shifted over time, run
get_redline_comparisonon federal statutes—it shows exactly what text was added or removed. - Deep dive into precedents. Use
search_caselawfor keywords, then useget_caselaw_opinionto pull the full court record and details you need for a memo. - Stay compliant effortlessly. Instead of monitoring dozens of state websites, run
get_recent_updateson your target jurisdiction to see all new legislative changes.
Real-World Use Cases
Analyzing Data Privacy Law Across States
A policy advisor needs a national overview of data privacy rules. They ask their agent, which runs search_statutes for 'data privacy' across all 50 states. The agent compiles the relevant statutes and provides top results like CCPA or CPRA.
Verifying an Old Court Case Citation
A legal researcher receives a document with an old citation: '347 U.S. 483.' They run validate_citation. The agent confirms the citation, identifies the source court (Supreme Court), and verifies its status.
Comparing Federal Law Changes
A compliance team needs to know exactly how a key federal statute changed between two Congresses. They run get_statute_history using the statute ID, then use get_redline_comparison to generate a clear, annotated comparison of the changes.
Initial Research on Employment Law
A junior associate starts by running search_regulations for 'workplace safety' regulations. The agent returns key CFR sections and state-specific rules, allowing the associate to narrow down their focus before requesting a full text using get_regulation.
The Tradeoffs
Searching only one jurisdiction
Asking for 'data privacy law' and forgetting to specify the state, causing you to miss key information.
→
Always use list_jurisdictions first. Then, run search_statutes using your desired jurisdiction ID or scope search across all 50 states.
Confusing search with retrieval
Running a general query and then manually trying to find the full text of the case you saw in the results.
→
First, use search_caselaw to get the ID. Then, always follow up immediately by calling get_caselaw_opinion(id) to pull the complete record.
Forgetting context when checking law
Checking a citation without knowing if it's federal or state, leading to an incorrect source document.
→
Before citing, run validate_citation with the full text. The tool confirms the scope (USC vs. State Code) and provides the authoritative government source.
When It Fits, When It Doesn't
Use OpenLaws if your work requires verifiable legal data spanning multiple jurisdictions or specific codified sources. If you need to know what a law is, use search_statutes (for laws). If you need to know what the rules are, use search_regulations. Don't use it if you just need general summaries; this tool provides the raw, source-of-truth text. Never rely on a simple LLM summary alone—always validate key citations or check legislative history using dedicated tools like validate_citation and get_redline_comparison, respectively.
Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by OpenLaws. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
VINKIUS INFRASTRUCTURE
Cloud Hosted
Managed infra
V8 Isolated
Sandboxed per request
Zero-Trust Proxy
No stored credentials
DLP Enforced
Policy on every call
GDPR Compliant
EU data residency
Token Compression
~60% cost reduction
Works with Claude, ChatGPT, Cursor, and more
The Model Context Protocol standardizes how applications expose capabilities to LLMs. Instead of operating in isolation, your AI gains direct access to external platforms, live data, and real-world actions through secure, standardized connections.
This server provides 14 capabilities that interface natively with Claude, ChatGPT, Cursor, and any MCP client. No middleware. No custom integration required.
Available Capabilities
Finding specific statutes across 50 states shouldn't take two hours of clicking through government websites.
Today, finding a comprehensive overview of 'data privacy' laws means opening the California site, then logging into the Virginia portal, checking federal CFR pages—and copying and pasting excerpts into a master document. It’s slow, it’s fragmented, and you risk missing critical state-level nuances.
With OpenLaws MCP, you simply ask your agent: 'What are the data privacy statutes across all US states?' Your AI client executes `search_statutes` instantly, returns results from 12 different jurisdictions (like CCPA or CPRA), and gives you a structured summary. The entire process takes seconds.
Use OpenLaws to get the full context of any law with `get_statute`.
Manually, after finding a statute ID via search, you'd have to navigate to that law’s page and scroll through text, effective dates, and annotations. It's tedious copy-pasting just to verify the scope.
Now, running `get_statute(id)` pulls everything into one clean response—the full rich text content, all citations, and the official effective dates. You get the complete legal source right in your chat window.
Common Questions About OpenLaws MCP
How do I check if a citation is correct using OpenLaws? (validate_citation) +
You run validate_citation and provide the citation string. The tool verifies it against all 53 jurisdictions, confirming its format and finding the original authoritative government source.
What's the difference between search_statutes and get_statute? (search_statutes, get_statute) +
search_statutes runs a broad keyword query across many laws to find IDs. get_statute takes one of those returned IDs and pulls the entire, complete text for that single statute.
How do I see if federal law changed? (get_redline_comparison) +
You use get_redline_comparison. You must specify two version dates or IDs. The tool returns a side-by-side comparison showing exactly what text was removed and what new language was added.
Do I need to know the jurisdiction ID first? (list_jurisdictions, get_jurisdiction) +
It's best practice to run list_jurisdictions first. This gives you all available IDs for states and federal bodies, which lets you scope searches accurately using get_jurisdiction.
Can I search constitutions? (search_constitutions) +
Yes, use search_constitutions. You provide a keyword like 'free speech,' and the tool queries both the U.S. Constitution and all 50 state constitutions simultaneously.
After running a search via `search_caselaw`, what tool do I use to get the full court opinion text? (get_caselaw_opinion) +
You call get_caselaw_opinion using the case ID. This returns the complete, rich-text opinion content along with court details and involved parties.
How do I track recent legislative updates or compliance changes across different states? (get_recent_updates) +
Use get_recent_updates. You can limit the scope by jurisdiction ID, or check all federal and state levels. This is the fastest way to monitor legislative shifts.
If I find a regulation using `search_regulations`, what tool do I use to access its full content? (get_regulation) +
Call get_regulation with the specific ID. This provides the entire text, citations, and regulatory context—far more detail than the search results give you.
How do I get an OpenLaws API key and what authentication method is used? +
Visit openlaws.us/api and click Get API Access to register. Once approved, you'll receive a Bearer token. Include it in the Authorization header as Authorization: Bearer YOUR_TOKEN. The API uses standard Bearer token authentication for all v1 endpoints at https://api.openlaws.us/api/v1/.
Can I search statutes across all 50 states simultaneously? +
Yes! Use the search_statutes tool without specifying a jurisdiction parameter to search all 53 jurisdictions (50 states + DC + Puerto Rico + federal) at once. This is perfect for 50-state surveys. Alternatively, scope your search to a specific jurisdiction by providing its ID (e.g., 'ca' for California, 'ny' for New York, 'us' for federal).
How does citation validation work and what formats are supported? +
Use the validate_citation tool with any standard legal citation format. The API will identify the original government source, validate the citation accuracy, and flag malformed citations. It supports Bluebook format (e.g., '42 U.S.C. § 1983', '347 U.S. 483 (Brown v. Board)'), state citations for all 50 states, DC, and Puerto Rico. This is ideal for validating citations in legal documents, spreadsheets, and databases.
What legal data sources does OpenLaws cover? +
OpenLaws covers ~4.3 million tracked sections across 53 jurisdictions with 100% federal statutes and regulations coverage. Data includes: United States Code (USC), Code of Federal Regulations (CFR), all 50 state statutes and regulations, DC and Puerto Rico laws, ~5-6 million case opinions (from Harvard CAP and CourtListener), US Constitution and all 50 state constitutions, and legislative history for federal laws.
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
More in this category
World Bank Economy
Instantly query GDP, inflation, economic growth, and financial sector indicators from the World Bank. Zero auth required.
Snowflake
Execute SQL queries, manage databases, and analyze data on Snowflake with AI agents.
StarRocks
High-performance analytical database — manage clusters, tables, and query data via AI.
You might also like
Ideogram
Generate stunning images from text prompts with an AI model that excels at typography, logos, and photorealistic compositions.
Steam
Access game data, player profiles, and community content from the world largest PC gaming platform and digital storefront.
Brawl Stars
Access real-time Brawl Stars data — track player stats, battle logs, club rankings, and event rotations directly from your AI agent.