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

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.2
File Size Uploaded Provenance Actions
rulinglens_mcp-0.1.2.tar.gz 7.9 kB Without provenance Details for rulinglens_mcp-0.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 16.5 kB

Release files / rulinglens_mcp-0.1.2.tar.gz

Download URL rulinglens_mcp-0.1.2.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0d99f8a62c0a9282bfabccf2e6634b0e78adaa9c70fe25c1b98a7bd6645467b0
BLAKE2b-256 checksum
How to use checksums
0a22088574009caa723fa884df1dfd2229df377007599764460ef7fdf698a7f7
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.2-py3-none-any.whl

Download URL rulinglens_mcp-0.1.2-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe89a104c633d75853601e1b5cfb139772423aa6966b98f227d25abf95dfd5a6
BLAKE2b-256 checksum
How to use checksums
9762f27b809342a6595d917787b1ac0013655a98304e7d97325c7c2562a0e7ca
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.2

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