{"passport":{"unfragile":{"@version":"1.0","version":"2026-05","artifact":{"id":"npm_npm-anz-legislation","slug":"npm-anz-legislation","name":"anz-legislation","type":"mcp","url":"https://www.npmjs.com/package/anz-legislation","page_url":"https://unfragile.ai/npm-anz-legislation","categories":["mcp-servers"],"tags":["nz","legislation","cli","legal-tech","research","new-zealand","api","anz","australia"],"pricing":{"model":"open_source","free":true,"starting_price":null},"status":"active","verified":false},"capabilities":[{"id":"npm_npm-anz-legislation__cap_0","uri":"capability://search.retrieval.legislation.database.search.with.semantic.filtering","name":"legislation-database-search-with-semantic-filtering","description":"Searches ANZ (Australia and New Zealand) legislation databases using keyword and semantic matching against indexed legislative documents. The MCP tool exposes search endpoints that query a pre-indexed legislation corpus, returning ranked results with metadata (act name, section, jurisdiction, effective date). Implementation likely uses full-text search with optional vector embeddings for semantic relevance, enabling both exact phrase matching and conceptual legislation discovery across multiple jurisdictions.","intents":["I need to find all legislation sections related to a specific legal concept like 'data privacy' or 'employment termination'","I want to search for legislation by act name, section number, or jurisdiction (NSW, VIC, QLD, NZ, etc.)","I need to retrieve the full text of a specific legislative provision to cite in a document or analysis"],"best_for":["legal researchers and compliance officers building automated legal research workflows","LLM agents that need to ground legal advice in authoritative legislation","law firms integrating legislation lookup into document review pipelines"],"limitations":["Search results depend on indexing freshness — may lag behind latest legislative amendments by days or weeks","No full-text OCR of scanned legislation; only works with digitized legislative text","Jurisdiction coverage limited to ANZ (Australia and New Zealand) — does not include other Commonwealth or international legislation","Search latency may increase with very broad queries matching thousands of sections"],"requires":["Node.js 16+ (for CLI/MCP runtime)","Network access to ANZ legislation database or local indexed corpus","MCP client compatible with Node.js transport (e.g., Claude Desktop, custom MCP host)"],"input_types":["text (search query)","structured parameters (jurisdiction filter, act name, section range)"],"output_types":["structured JSON (legislation metadata + snippet)","plain text (full section text)","markdown (formatted legislation with citations)"],"categories":["search-retrieval","legal-tech"],"confidence":0.5,"matches":0,"success_rate":0},{"id":"npm_npm-anz-legislation__cap_1","uri":"capability://search.retrieval.jurisdiction.aware.legislation.filtering","name":"jurisdiction-aware-legislation-filtering","description":"Filters and scopes legislation search results by jurisdiction (Australian states: NSW, VIC, QLD, WA, SA, TAS, ACT, NT; New Zealand; and Commonwealth). The tool maintains jurisdiction metadata for each legislative document and allows queries to be constrained to specific jurisdictions or cross-jurisdictional comparisons. Implementation uses jurisdiction tags in the indexed corpus and applies server-side filtering before returning results, avoiding irrelevant legislation from other regions.","intents":["I need to find legislation that applies specifically in New South Wales, not other Australian states","I want to compare how different states regulate the same legal concept (e.g., contract law, consumer protection)","I need to identify Commonwealth legislation that overrides or interacts with state-level laws"],"best_for":["compliance teams managing multi-state or multi-jurisdiction legal obligations","legal AI agents that need to provide jurisdiction-specific advice","researchers analyzing legislative harmonization across ANZ jurisdictions"],"limitations":["Jurisdiction filtering is only as accurate as the metadata tagging in the indexed corpus — edge cases (e.g., legislation with mixed jurisdiction applicability) may be misclassified","Does not handle temporal jurisdiction changes (e.g., when legislation scope changes between versions)","No automatic conflict-of-laws resolution when legislation from multiple jurisdictions applies"],"requires":["Node.js 16+","MCP client with parameter passing support","Indexed legislation corpus with jurisdiction metadata"],"input_types":["text (search query)","enum (jurisdiction code: NSW, VIC, QLD, WA, SA, TAS, ACT, NT, NZ, Commonwealth)"],"output_types":["structured JSON (filtered legislation results with jurisdiction tags)","text summary (legislation applicable to selected jurisdiction)"],"categories":["search-retrieval","data-processing-analysis"],"confidence":0.5,"matches":0,"success_rate":0},{"id":"npm_npm-anz-legislation__cap_2","uri":"capability://search.retrieval.legislation.text.retrieval.with.section.parsing","name":"legislation-text-retrieval-with-section-parsing","description":"Retrieves the full text of specific legislative provisions (acts, sections, subsections, schedules) with structured parsing of section hierarchies and cross-references. The tool parses legislation documents into a hierarchical structure (Act > Part > Division > Section > Subsection) and returns requested sections with their full context, including related sections and amendment history. Implementation uses regex or AST-based parsing to identify section boundaries and maintain parent-child relationships in the document structure.","intents":["I need the exact text of Section 23 of the Privacy Act 1988 (Cth) to cite in a legal document","I want to retrieve a section and all its subsections, schedules, and related definitions in one call","I need to see how a section has been amended over time (amendment history and effective dates)"],"best_for":["legal document drafters and citation tools that need authoritative legislation text","LLM agents generating legal opinions or compliance reports that must cite specific sections","legal research platforms building legislation viewers with section-level navigation"],"limitations":["Parsing accuracy depends on consistent legislative formatting — non-standard or legacy legislation may have parsing errors","Amendment history may be incomplete if the indexed corpus does not track all historical versions","Cross-references to other acts are returned as text only; no automatic hyperlink resolution to referenced legislation","Schedules and appendices may not be fully parsed if they use non-standard formatting"],"requires":["Node.js 16+","MCP client","Indexed legislation corpus with section-level parsing metadata"],"input_types":["text (act name, section number, optional subsection/schedule identifier)"],"output_types":["structured JSON (section hierarchy with full text, metadata, amendment history)","plain text (formatted section text with subsections indented)","markdown (section text with cross-reference links)"],"categories":["search-retrieval","data-processing-analysis"],"confidence":0.5,"matches":0,"success_rate":0},{"id":"npm_npm-anz-legislation__cap_3","uri":"capability://tool.use.integration.cli.based.legislation.lookup","name":"cli-based-legislation-lookup","description":"Provides a command-line interface for searching and retrieving ANZ legislation without requiring MCP integration. The CLI accepts search queries, jurisdiction filters, and section identifiers as command-line arguments and outputs results in JSON, plain text, or markdown format. Implementation uses a Node.js CLI framework (likely Commander.js or similar) that wraps the same underlying legislation database queries as the MCP interface, enabling standalone usage for scripts, shell pipelines, and non-MCP environments.","intents":["I want to search legislation from a shell script or CI/CD pipeline without setting up an MCP client","I need to pipe legislation search results into other command-line tools for processing","I want to quickly look up a specific section from the terminal without opening a browser or GUI"],"best_for":["developers building shell scripts or automation workflows that need legislation data","legal researchers using command-line tools for batch processing legislation queries","CI/CD pipelines that need to validate legal compliance by querying legislation"],"limitations":["CLI output formatting is fixed (JSON, text, markdown) — no custom output templates","No interactive mode or REPL; each query requires a new CLI invocation with associated startup overhead","Error handling and validation may be less robust than MCP interface due to CLI argument parsing complexity","Rate limiting or caching is not built into CLI — each invocation hits the database fresh"],"requires":["Node.js 16+","npm or yarn to install the package globally or locally","Bash or compatible shell (for piping and scripting)"],"input_types":["command-line arguments (--search, --jurisdiction, --section, --format)"],"output_types":["JSON (stdout)","plain text (stdout)","markdown (stdout)","exit codes (0 for success, non-zero for errors)"],"categories":["tool-use-integration","automation-workflow"],"confidence":0.5,"matches":0,"success_rate":0},{"id":"npm_npm-anz-legislation__cap_4","uri":"capability://data.processing.analysis.legislation.metadata.extraction","name":"legislation-metadata-extraction","description":"Extracts and returns structured metadata for legislation documents including act name, jurisdiction, commencement date, repeal date, amendment history, and related acts. The tool parses legislation headers and metadata sections to identify key administrative information and returns it as structured JSON. Implementation uses regex patterns and heuristic parsing to identify metadata fields from legislative document headers, supplemented by a metadata database for acts with non-standard formatting.","intents":["I need to know when a specific act came into force and whether it has been repealed","I want to find all amendments to a particular act and their effective dates","I need to identify related or superseded legislation for a given act"],"best_for":["legal research tools that need to track legislation currency and status","compliance systems that must verify whether legislation is still in force","legal AI agents that need to assess the temporal applicability of legislation"],"limitations":["Metadata extraction accuracy depends on consistent legislative formatting — edge cases may be missed","Amendment history may be incomplete if the indexed corpus does not track all historical versions","Commencement dates and repeal dates may be conditional (e.g., 'on proclamation') and not automatically resolved","Related acts are identified via text matching and may miss implicit relationships"],"requires":["Node.js 16+","MCP client or CLI","Indexed legislation corpus with metadata extraction rules"],"input_types":["text (act name or identifier)"],"output_types":["structured JSON (metadata object with act name, jurisdiction, dates, amendment history, related acts)"],"categories":["data-processing-analysis","search-retrieval"],"confidence":0.5,"matches":0,"success_rate":0}],"trust":{"score":27,"verified":false,"data_access_risk":"high","permissions":["Node.js 16+ (for CLI/MCP runtime)","Network access to ANZ legislation database or local indexed corpus","MCP client compatible with Node.js transport (e.g., Claude Desktop, custom MCP host)","Node.js 16+","MCP client with parameter passing support","Indexed legislation corpus with jurisdiction metadata","MCP client","Indexed legislation corpus with section-level parsing metadata","npm or yarn to install the package globally or locally","Bash or compatible shell (for piping and scripting)"],"failure_modes":["Search results depend on indexing freshness — may lag behind latest legislative amendments by days or weeks","No full-text OCR of scanned legislation; only works with digitized legislative text","Jurisdiction coverage limited to ANZ (Australia and New Zealand) — does not include other Commonwealth or international legislation","Search latency may increase with very broad queries matching thousands of sections","Jurisdiction filtering is only as accurate as the metadata tagging in the indexed corpus — edge cases (e.g., legislation with mixed jurisdiction applicability) may be misclassified","Does not handle temporal jurisdiction changes (e.g., when legislation scope changes between versions)","No automatic conflict-of-laws resolution when legislation from multiple jurisdictions applies","Parsing accuracy depends on consistent legislative formatting — non-standard or legacy legislation may have parsing errors","Amendment history may be incomplete if the indexed corpus does not track all historical versions","Cross-references to other acts are returned as text only; no automatic hyperlink resolution to referenced legislation","builder identity is not verified yet","no observed match outcomes yet"],"rank_breakdown":{"adoption":0.05,"quality":0.2,"ecosystem":0.5000000000000001,"match_graph":0.25,"freshness":0.6,"weights":{"adoption":0.25,"quality":0.25,"ecosystem":0.15,"match_graph":0.23,"freshness":0.12}},"observed_outcomes":{"matches":0,"success_rate":0,"avg_confidence":0,"top_intents":[],"last_matched_at":null},"maintenance":{"status":"active","updated_at":"2026-05-24T12:16:23.903Z","last_scraped_at":"2026-04-22T08:11:39.692Z","last_commit":null},"community":{"stars":null,"forks":null,"weekly_downloads":null,"model_downloads":null,"model_likes":null}},"distribution":{"claim_url":"https://unfragile.ai/submit?claim=npm-anz-legislation","compare_url":"https://unfragile.ai/compare?artifact=npm-anz-legislation"}},"signature":"oUn4+0Zi1U4ntBlQYIofXb5t0ZEZy88NHEm8PZj0m+inmjlRxwje/MfO0jGJ5qEB2d4papPIUIA4IeUIfTP5Cg==","signedAt":"2026-06-22T11:21:05.919Z","signedBy":"unfragile.ai","version":1},"_links":{"self":"https://unfragile.ai/api/v1/passport/npm-anz-legislation","artifact":"https://unfragile.ai/npm-anz-legislation","verify":"https://unfragile.ai/api/v1/verify?slug=npm-anz-legislation","publicKey":"https://unfragile.ai/api/v1/trust-passport-public-key","spec":"https://unfragile.ai/trust","schema":"https://unfragile.ai/schema.json","docs":"https://unfragile.ai/docs"}}