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.
  • 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.1

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.1
File Size Uploaded Provenance Actions
rulinglens_mcp-0.1.1.tar.gz 7.8 kB Without provenance Details for rulinglens_mcp-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 16.3 kB

Release files / rulinglens_mcp-0.1.1.tar.gz

Download URL rulinglens_mcp-0.1.1.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cc024a3f992cdd3e303d49b5b5ccf017d5a7d11687ff37bed942370f4812c1c9
BLAKE2b-256 checksum
How to use checksums
9e39c9899012a4e49a6b798b4b581d5c905b804af820b651b3c2cf10659cddd6
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.1-py3-none-any.whl

Download URL rulinglens_mcp-0.1.1-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5513646621e40c75d1b9cb2594a2b1fc5cc5c141a1f7b197fc052facc2e4875
BLAKE2b-256 checksum
How to use checksums
fd2e73fe0a75c2b9bdb104fcfa211e1c6e27d3248595cda5c416a309e66b92e2
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.1

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