AI Skill Hub 推荐使用:新西兰法律数据工具 是一款优质的MCP工具。AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的MCP工具解决方案,这是一个值得深入了解的选择。
新西兰法律数据工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
新西兰法律数据工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/edithatogo/nz-legislation
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"---------": {
"command": "npx",
"args": ["-y", "nz-legislation"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 新西兰法律数据工具 执行以下任务... Claude: [自动调用 新西兰法律数据工具 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"_________": {
"command": "npx",
"args": ["-y", "nz-legislation"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
Search, retrieve, and cite New Zealand legislation in seconds.
A fast, friendly command-line tool for researchers, legal professionals, and anyone working with NZ legislation. Get your research done faster—with less copying and pasting.
Package links: npm package · GitHub repository
---
npm install
Option A: Try without installing (recommended for first time)
npx -y --package nz-legislation-tool nzlegislation search --query "health"
Option B: Install globally (recommended for regular use)
npm install -g nz-legislation-tool
Alex is deploying for a research team.
```bash
npx -y --package nz-legislation-tool nzlegislation search --query "health"
Pros: No installation, try before committing Cons: Slower (downloads each time), need to type npx
---
```bash
Rachel is writing a paper on health policy reform.
```bash
Dan is building a research dashboard.
```bash
Sam needs legislation for a coursework essay.
```bash
View and update your configuration.
```bash
nzlegislation config --show
nzlegislation config --clear ```
---
nzlegislation config --key $TEAM_API_KEY
Quick fix:
nzlegislation config --key YOUR_API_KEY
Still not working? Check if it's set correctly:
nzlegislation config --show
---
npm install -g nz-legislation-tool
Pros: Use anywhere, no need to type npx Cons: Takes up disk space (~50MB)
---
git clone https://github.com/edithatogo/nz-legislation-tool
cd nz-legislation-tool
npm install
npm run build
npm link # Install globally
Pros: Latest features, can contribute changes Cons: Requires build step, for advanced users
---
nzlegislation config --key YOUR_API_KEY_HERE
nzlegislation config --key YOUR_NEW_KEY
nz-legislation-tool@edithatogo/nz-legislation-toolThe GitHub repository "Packages" area is populated by GitHub Packages publishes, not by the public npmjs.com listing. This repository includes a workflow to publish a scoped GitHub Packages mirror so the repo can show a package entry there as well.
---
该工具提供了一个开源的MCP工具,用于搜索和检索新西兰法律数据,提高法律工作效率,降低法律风险,值得关注。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
总体来看,新西兰法律数据工具 是一款质量良好的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | nz-legislation |
| 原始描述 | 开源MCP工具:CLI tool for searching and retrieving New Zealand legislation data。⭐12 · TypeScript |
| Topics | mcpaotearoaclilawlegallegislationtypescript |
| GitHub | https://github.com/edithatogo/nz-legislation |
| License | Apache-2.0 |
| 语言 | TypeScript |
收录时间:2026-05-23 · 更新时间:2026-05-23 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端