Skip to main content

rulinglens-mcp

RulingLens as an MCP server. Three tools over the RulingLens API, standard library only:

  • classify_product — name and description → the six-digit HS subheading, the three most similar earlier CBP rulings and whether they carry the same code, and the eight-digit U.S. lines for a broker's review.
  • audit_entries — a CSV, Excel or CBP 7501 PDF → every line re-classified and sorted, disagreements first, with dollars, PSC and protest deadlines, and a private report link. Add the ACE ES-003 report (ace_path) to fill in entry and liquidation dates and values.
  • usage — the plan and what is left this period.

Needs an API key from a RulingLens account (Starter plan or above): Account → API keys.

pip install rulinglens-mcp
which rulinglens-mcp              # Windows: where rulinglens-mcp

Use the full path that which prints as the command: desktop apps do not search the same folders as your terminal, so a bare rulinglens-mcp can fail with "server not found".

Claude Desktop (Settings → Developer → Edit Config) or Cursor (.cursor/mcp.json):

{ "mcpServers": { "rulinglens": { "command": "/full/path/from/which/rulinglens-mcp", "env": { "RULINGLENS_API_KEY": "rl_live_..." } } } }

If the file already has an mcpServers section, add only the rulinglens entry, then quit the app completely and reopen it. With uv: command = the full path of uvx, "args": ["rulinglens-mcp"].

Claude Code: claude mcp add rulinglens -e RULINGLENS_API_KEY=rl_live_... -- rulinglens-mcp

Nothing here names a code to file: six digits are measured, the line is for review, and the ten-digit suffix is the broker's. Source and the measurement record: https://github.com/kforkarim/RulingLens

Metadata

Release files for rulinglens-mcp 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rulinglens-mcp 0.1.4
File Size Uploaded Provenance Actions
rulinglens_mcp-0.1.4.tar.gz 10.1 kB Without provenance Details for rulinglens_mcp-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rulinglens-mcp 0.1.4
File Interpreter ABI Platform Actions
rulinglens_mcp-0.1.4-py3-none-any.whl Python 3 none any Details for rulinglens_mcp-0.1.4-py3-none-any.whl

Total release size: 20.3 kB

Release files / rulinglens_mcp-0.1.4.tar.gz

Download URL rulinglens_mcp-0.1.4.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0bf0d8e25180269d77b7afa5da66b2badfa21dc95683cd72809d4ddaa122deef
BLAKE2b-256 checksum
How to use checksums
1bf0874b098a7004286a2aa86d841d6f1c7d9678f6fa26f46890778265338899
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.4

Release files / rulinglens_mcp-0.1.4-py3-none-any.whl

Download URL rulinglens_mcp-0.1.4-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6ee1b1c8656b8b3317dee29dceaad36476ecaf73640aa1573fa3cfe3a7c211a
BLAKE2b-256 checksum
How to use checksums
5585816fd4fc64995adcb7bc6fd31cad88f0d84ea5f0c1e39629021e752ba7f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.4

Security for rulinglens-mcp 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page