
Rival Regulatory Toolkit
io.github.rival-intelligence由 GitHub 账号 rival-intelligence 发布v0.1.5更新于 Oct 24, 2026
Read-only regulatory source retrieval, citation tracing, authority metadata, and recent filings.
概览
让助手通过 Rival 的只读 API 检索监管语料、获取原文、追踪引用、列出权威来源并查看近期申报文件。
- 可以做什么
- 该服务器提供五个只读工具:search_regulatory_corpus、retrieve_source_text、trace_citation、list_authorities 和 get_recent_filings。它把助手连接到 Rival 基于来源的监管检索 API,返回源文档、引用、权威元数据和近期申报文件。夹具模式可针对内置示例语料运行,无需 API 访问即可评估集成。
- 适用场景
- 当助手需要查询监管来源、追踪引用链,或查看权威元数据与近期申报文件时适用。适合希望在助手工作流中进行基于来源检索的合规、法律、能源和基础设施团队。它不用于提交申报文件或更改合规记录。
- 运行要求
- 通过 stdio 在本地运行,通常用 npx 从 npm 包 @tryrival/regulatory-toolkit 启动,或使用提供的 Docker 镜像。生产访问需要 RIVAL_API_KEY 密钥;RIVAL_API_BASE_URL 默认指向托管 API 端点。设置 RIVAL_FIXTURE_MODE=true 可在无密钥情况下评估。除夹具模式外需要网络访问。
安装
在 SourceWeft 中
- 打开 控制台中的 Rival Regulatory Toolkit,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Rival Regulatory Toolkit
Open-source SDK, CLI, MCP server, and schemas for connecting AI agents to Rival's source-grounded regulatory retrieval API.
- Public site: https://tryrival.ai
- Agent access: https://tryrival.ai/for-agents
- Managed API default:
https://api.tryrival.ai
This repository is the developer and agent connectivity layer for Rival. It is intentionally read-only in its first release: agents can search, retrieve source text, trace citations, list authorities, and inspect recent filings. Workspace actions, document review, evidence requests, filings, and task creation remain behind managed Rival access and human review gates.
What Is Included
- OpenAPI contract for Rival's read-only regulatory retrieval API.
- JSON Schemas for source documents, search results, citations, authorities, and recent filings.
- TypeScript client for server-side applications and internal tools.
- CLI for shell usage and automation.
- MCP server for agent clients that support Model Context Protocol.
- Fixture mode so teams can evaluate the integration without a Rival API key.
- Dockerfile for running the MCP server in controlled team environments.
Install
For local development from source:
Environment
For local evaluation without API access:
TypeScript Client
CLI
Fixture mode:
MCP Server
Run directly:
MCP client example:
Available MCP tools:
search_regulatory_corpusretrieve_source_texttrace_citationlist_authoritiesget_recent_filings
Docker
Docker belongs in this repository because many compliance, legal, consulting, energy, and infrastructure teams will run agent tools inside controlled environments. The image runs the MCP server and reads credentials from environment variables.
Fixture mode:
See docs/self-hosting.md for deployment notes.
API Contract
The API contract starts with five read-only endpoints:
GET /api/v1/searchGET /api/v1/sources/{source_id}GET /api/v1/citations/traceGET /api/v1/authoritiesGET /api/v1/filings/recent
The contract lives in openapi/rival-regulatory-api.yaml.
Safety Boundary
This toolkit does not submit filings, alter compliance records, close corrective actions, delete evidence, or take workspace actions. It is a source retrieval and citation layer for agents and developer systems. Regulated work still requires qualified human review.
This toolkit is not legal, engineering, environmental, safety, or compliance advice. Teams are responsible for validating applicability, obligations, filings, and operational decisions with qualified professionals.
Development
License
Apache-2.0
来源:README.md,提交 f36bd3a
工具
0版本历史
1- v0.1.5最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
