mca-documents-agent

mca-documents-agent is an agent for Claude Code from ishwarjha/legalant. It costs 50 tokens per session (5,366 once invoked), scanned A, original, MIT.

An agent for retrieving and analysing Indian company records from the MCA, the government registrar of companies. It currently guides a person through the MCA portal and structures the results; a later phase supports automated retrieval through an API.

In plain words
What is it for?
Use it to verify companies, retrieve MCA filings, organise corporate due-diligence information into ten categories, and produce a red-amber-green risk rating.
Why use it?
Government company searches use CAPTCHA, so fully automatic access is not always allowed. This workflow keeps the human involved while organising the company information and analysis.

Agent for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: model in frontmatter.

Part of the legalant plugin — 4 skills, 16 commands, 18 agents shipped together

Good fit Use it to verify companies, retrieve MCA filings, organise corporate due-diligence information into ten categories, and produce a red-amber-green risk rating.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ishwarjha/legalant/mca-documents-agent
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/ishwarjha/legalant

Made for: Claude Code.

Or install legalant, the plugin that ships this one along with the rest of its 4 skills, 16 commands, 18 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mca-documents-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/ishwarjha/legalant/mca-documents-agent.svg)](https://agentmods.dev/agents/ishwarjha/legalant/mca-documents-agent)
Your own site
<a href="https://agentmods.dev/agents/ishwarjha/legalant/mca-documents-agent"><img src="https://agentmods.dev/badge/agents/ishwarjha/legalant/mca-documents-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,366 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.05366
Opus 5 $0.00025 $0.02683
Sonnet 5 $0.00010 $0.01073
Haiku 4.5 $0.00005 $0.00537

Measured 8d ago against content hash 7b12f3c8237a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

mca-documents-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

legalant/agents/mca-documents-agent.md · 450 lines

How it starts

The opening of the file, as written. The whole thing — 450 lines — stays where its author put it; the contents beside it link to each section on GitHub.

mca-documents-agent

Tier: Claude Opus 4.5 Role: MCA data extraction, due diligence structuring, and analysis agent Scope: Phase 1 — HITL-assisted MCA portal lookup. Phase 2 — Finanvo API (fully automated).


SESSION START — READ FIRST

Before doing anything else, read:

  • legalant/skills/universal-standards/SKILL.md — HITL protocol, citation standard, Indian law default

Do not proceed until this file is confirmed read.


IMPORTANT: PHASE 1 OPERATING MODEL

This agent does NOT make automated HTTP requests to the MCA21 portal.

The MCA21 portal requires CAPTCHA on every search. Bypassing CAPTCHA on a government portal creates exposure under the IT Act 2000 Section 43 — this is not permitted on a legal platform. In Phase 1, this agent's role is to guide, structure, and analyse — not to scrape.

Phase 2 upgrade: When FINANVO_ACCESS_KEY and FINANVO_ACCESS_SECRET are present in .env and the mca-api MCP server is built, steps 2–4 of the Data Collection Protocol below become fully automated. Steps 5–7 remain identical.


DATA COLLECTION PROTOCOL (7 STEPS)

STEP 1 — IDENTIFY

Ask the user: "Please provide the company name(s) requiring MCA verification. If you have the CIN, provide that too — it speeds up the search."

STEP 2 — GUIDE USER TO PORTAL

Do NOT attempt any automated portal access. Provide exact instructions:

Please go to: mca.gov.in → MCA Services → Master Data → View Company/LLP Master Data

Enter: [company name or CIN]
Solve the CAPTCHA → Submit

Then either:
(a) Copy and paste the results text here, OR
(b) Take a screenshot and upload it

Important: If you see multiple companies with similar names, paste all results — I will help you confirm which entity is correct.

Portal guidance to add as needed:

  • MCA portal is slow during month-end filing season → suggest off-peak hours (early morning or after 8 PM IST)
  • Use CIN directly if company name search is timing out or returning too many results
  • V2 data (pre-June 18, 2024) is frozen → filings after June 18, 2024 are V3 only; flag if the compliance period spans this cutoff date
  • Multiple companies with same name → ask user to confirm correct entity using CIN before proceeding

Read the full file on GitHub · 450 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 450 lines · 50 tokens per session scan A 7b12f3c8237a

Subscribe to this mod's changes

mca-documents-agent is an agent published in the GitHub repository ishwarjha/legalant (6 stars, last pushed 4mo ago), licensed MIT. It adds 50 tokens to every session and 5,366 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

contract-renewal-watcher

A background agent that watches a register of active contracts and sends alerts before a contract expires or renews automatically. It can also create reports and draft non-renewal notices.

AlsKozlov/ru-legal · 78 tokens

ethics-review-agent

Acts as the final gate before research delivery, ensuring AI-assisted research meets ethical standards for attribution, disclosure, fair representation, and responsible use, and can halt delivery on critical ethics concerns.

AlterLab-IEU/AlterLab-Academic-Skills · 42 tokens

simplifier

Simplification reviewer for a code change — finds over-engineering, premature abstraction, and unnecessary complexity. Use when reviewing a diff/PR for simplification, or as the simplification lens in a parallel review.

Alexander-Tyagunov/magician · 45 tokens

verifier

Post-execution verification agent. Runs every acceptance criterion, checks requirement coverage, and produces a PASS/FAIL report with evidence. Never skips a criterion.

randomittin/heimdall · 33 tokens

coder

Feature implementation specialist. Builds complete features end-to-end with full test coverage and verification. Runs in an isolated git worktree to keep parallel agents collision-free. Use proactively when implementing new functionality, fixing bugs that need code changes, or making any code modification beyond…

randomittin/heimdall · 57 tokens

wave-executor

Executes all tasks in a single wave of a plan. Implements, verifies acceptance criteria, and commits atomically. Spawns parallel subprocesses for independent tasks within the wave.

randomittin/heimdall · 39 tokens