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.3

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.3
File Size Uploaded Provenance Actions
rulinglens_mcp-0.1.3.tar.gz 9.1 kB Without provenance Details for rulinglens_mcp-0.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 18.3 kB

Release files / rulinglens_mcp-0.1.3.tar.gz

Download URL rulinglens_mcp-0.1.3.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
54f131b4829ff052dc416d43bc67a0bddcf7d0991651821fea820f18f0cc6d37
BLAKE2b-256 checksum
How to use checksums
c59258ecc7015084023d6e33d457ebf951c280a32137d9a829d2ca93093edada
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.3-py3-none-any.whl

Download URL rulinglens_mcp-0.1.3-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c3b3820cb7ac4d49c8053e39a81bb4a9af508fb2efe894f3b855f9edaa168e7
BLAKE2b-256 checksum
How to use checksums
67c64dc749c4303bb35a41180cb9f935e9a4a3a280652b438a25644adca92d2c
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.3

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