Server data from the Official MCP Registry
Search Chinese regulations and cases, read full texts and ask cited legal questions.
About
Search Chinese regulations and cases, read full texts and ask cited legal questions.
Security Report
lawscroll is a transparent forwarding client for the hosted lawbotter legal corpus service, with a pinned default endpoint, no credential handling, and no shell, filesystem, or local data access beyond reading an endpoint override variable. Its only meaningful permissions are outbound HTTP to the declared upstream, which matches its stated purpose; the main note is that all user query text is sent to a third-party hosted service, and the AI tools are advisory only. No malicious patterns or dangerous operations were found in the supplied source. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 2 high severity). Package verification found 1 issue.
8 files analyzed · 9 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: LAWBOTTER_MCP_URL
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"lawscroll": {
"command": "npx",
"args": [
"-y",
"@reneturcios/lawscroll@0.1.0"
],
"env": {
"LAWBOTTER_MCP_URL": "your-lawbotter-mcp-url-here"
}
}
}
}Some servers take additional arguments. See the repository for details.
Documentation
View on GitHubFrom the project's GitHub README.
lawscroll
Look up Chinese law without leaving your MCP client. lawscroll is a small forwarding client for the hosted lawbotter MCP service, which searches a self-built corpus of Chinese regulations (national laws, judicial interpretations, administrative regulations and departmental rules) and reported cases: the tool list is served from your own machine using the captured definitions, and each call is sent upstream, with the service's answer returned exactly as it arrived.
All five of the service's captured tools are exposed. Two of them are plain corpus reads — a regulation search and a full-text detail read. The other three run the service's AI engines over the same corpus: a query engine that answers with statute citations, a one-to-one legal consult, and a follow-up tool that continues either kind of session. The AI answers are generated from the corpus search results, carry an anonymous usage quota in their replies, and — as the service itself states — are for reference only, not formal legal advice. Nothing is routed to a human and nothing is submitted anywhere; a consult takes only the question text you pass it.
The tools
Tool descriptions and schemas are served verbatim from the upstream capture, in Chinese.
lawbotter_regulations_search— Search the regulation database and get back a list with each regulation's name, category, issuing body, effective date and validity status. Requiresq(the search keyword); optionalcategoryfilter,mode(all/title/content, defaultall),limit(default 20, max 100) andoffsetfor paging.lawbotter_regulations_detail— Read one regulation in full, article text included, by theida search result returned. Requiresid.lawbotter_law_query— Ask the AI query engine a legal question or keyword set; it searches the corpus and answers with the statute provisions it relied on. Requireskeyword. Returns asessionId, the answercontentand ausageStatusdescribing the remaining anonymous quota.lawbotter_legal_consult— Put a concrete legal question to the AI legal consultant; several models race and the answer comes back with its basis analysis. Requiresquestion. Returns asessionId, theanswerand ausageStatus.lawbotter_followup— Continue a query or consult session with a follow-up question. RequiressessionId(from alawbotter_law_queryorlawbotter_legal_consultreply) andquestion.
Install and run
As an MCP server via npm:
npx -y @reneturcios/lawscroll mcp
MCP client configuration:
{
"mcpServers": {
"lawscroll": {
"command": "npx",
"args": ["-y", "@reneturcios/lawscroll", "mcp"]
}
}
}
As a container:
docker run -i ghcr.io/cloudcorprecords/lawscroll
docker run --rm ghcr.io/cloudcorprecords/lawscroll lawbotter_regulations_detail '{"id":"example-id"}'
CLI
A single binary covers both the command line and the MCP server. Every tool is a subcommand whose one argument is a JSON string of that tool's inputs:
lawscroll lawbotter_regulations_search '{"q":"example keyword"}'
lawscroll lawbotter_regulations_search '{"q":"example keyword","mode":"title","limit":5}'
lawscroll lawbotter_regulations_detail '{"id":"example-id"}'
lawscroll lawbotter_law_query '{"keyword":"example question"}'
lawscroll lawbotter_legal_consult '{"question":"example question"}'
lawscroll lawbotter_followup '{"sessionId":"example-session","question":"example follow-up"}'
lawscroll --version
Exit codes: 0 for a successful forwarded call, 1 when the result that comes back is an error, and 2 for usage mistakes like an unknown subcommand or a JSON argument that does not parse.
Configuration
LAWBOTTER_MCP_URL— Replaces the upstream endpoint. Defaults to the pinned hosted endpoint,https://lawbotter.com/mcp. (This override variable is a reconstruction introduced by this rebuild.)
The lawbotter registry record lists no headers for its remote, so lawscroll never attaches an authentication header — every call goes upstream keyless.
When the upstream cannot answer — it returns a JSON-RPC error, answers with a non-2xx status, sends a body that cannot be read, or the request itself fails — the caller receives an error result whose text begins with lawscroll error:.
How forwarding works
The first call of a process opens a session against the upstream: an initialize request (protocol version 2025-03-26), a notifications/initialized notification, and then the tools/call. If the service issues an Mcp-Session-Id header during initialize, lawscroll repeats it on subsequent requests and keeps reusing that one session until the process ends. Replies are understood in both plain JSON and server-sent-events framing. Successful results are passed through untouched, isError flag and any extra fields included.
Development
npm install
npm run build # tsc -> dist/ (dist/cli.js is the bin)
npm test # tsx --test test/*.test.ts — stubbed upstream, no network
npm run dev # run the CLI from source
The suite compares the served tool list against the captured surface tool for tool, walks the session handshake and its reuse, proves no Authorization header is sent under any environment, and confirms that arguments travel upstream unchanged and results return unchanged.
License
MIT — see LICENSE. Copyright (c) 2026 Rene Turcios.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
