Repository avatar
Search & Data Extraction
v1.0.0
active

open-alvary

ai.alvary.open/open-alvary

Search and verify African legislation, treaties, and case law with Open Alvary.

Documentation

Open Alvary Plugin & Agent Skills

Search and verify African legislation, treaties, regional instruments, and case law inside your AI assistant using the hosted Open Alvary read-only MCP server and portable Agent Skills.

For plain-English setup instructions across supported AI apps and developer tools, visit https://open.alvary.ai/connect.

Before You Connect

  1. Create a free Starter account at https://open.alvary.ai/console.
  2. Choose your active jurisdiction under Plan and limits at https://open.alvary.ai/console/access. The free Starter plan covers one active jurisdiction (Nigeria by default) plus continental and regional instruments (aa-*), with up to 60 requests per minute and 4 concurrent requests.
  3. Connect your AI tool to the hosted Streamable HTTP MCP endpoint:
https://api.open.alvary.ai/mcp

You can review or revoke connected AI apps at any time at https://open.alvary.ai/console/apps.

Install the Plugin & Skills

This repository ships thin host manifests pointing to a single shared skills/ directory and the hosted https://api.open.alvary.ai/mcp endpoint:

  • Claude Code: Run /plugin install open-alvary --marketplace ruhu-inc/open-alvary-skills (Claude Code 2.1.275+, uses .claude-plugin/plugin.json and .claude-plugin/marketplace.json), or follow the Claude steps at https://open.alvary.ai/connect.
  • Codex: Install using .codex-plugin/plugin.json and .agents/plugins/marketplace.json, or run codex mcp add open-alvary --url https://api.open.alvary.ai/mcp.
  • Additional host manifests (preview, pending live verification):
    • Antigravity: agy plugin install https://github.com/ruhu-inc/open-alvary-skills (uses plugin.json and mcp.json; standalone mcp_config.json is also included).
    • Claude Cowork: Uses .claude-plugin/plugin.json and .claude-plugin/marketplace.json.
    • Gemini CLI: Uses gemini-extension.json.
    • Cursor: Uses .cursor-plugin/plugin.json and mcp.json.
  • Custom MCP clients: Point any Streamable HTTP MCP client at https://api.open.alvary.ai/mcp (see https://open.alvary.ai/docs/ai-tools).

Included Agent Skills

SkillPurpose
skills/best-practices/SKILL.mdShared rulebook and orientation: coverage checks, cleared text vs. records without a published text, withdrawal handling, Starter jurisdiction notices, rate-limit pacing, and routing.
skills/legal-research/SKILL.mdMulti-step workflow for researching African statutes, regulations, treaties, regional instruments, and case law with currentness, relationship, and language-authority checks.
skills/verify-citations/SKILL.mdRate-limit-aware workflow for auditing citations, exact quotations, and legal status in an existing memo, brief, or contract using six fixed verification statuses.

Important Boundaries

  • Official published copy always prevails: Open Alvary is a read-only public legal catalogue. Always verify consequential legal positions against the official gazetted or court-published copy.
  • Cleared text vs. records without a published text: Some catalogued records include openly redistributable cleared text, while others are records without a published text (metadata, rights status, and official links only). Absence of a published text does not grant reuse rights.
  • Not legal advice: Open Alvary tools and skills provide verified legal text, metadata, and provenance — never legal advice.
  • Targeted retrieval only: Retrieve only the specific provisions needed to answer a question rather than harvesting an entire statute section by section.

Development & Verification

python -m venv .venv
.venv/bin/pip install -e ".[dev]"
.venv/bin/pytest tests/test_package.py

Support & License

No installation packages available.

Remote