MCP server that parses COBOL programs — extracts divisions, SQL, CICS commands, and generates AI-powered business logic summaries via any LLM
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"cobol-parser-mcp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# cobol-parser-mcp MCP server that parses COBOL mainframe programs and extracts structured data plus AI-powered business logic summaries — works with any LLM provider. ```bash pip install cobol-parser-mcp # pure parsing, no LLM needed pip install cobol-parser-mcp[anthropic] # + Claude pip install cobol-parser-mcp[openai] # + GPT-4o pip install cobol-parser-mcp[groq] # + Groq (fast + cheap) pip install cobol-parser-mcp[all] # + all providers ``` Part of the mainframe modernization pipeline — takes the `manifest.json` from [`mainframe-ingest-mcp`](https://pypi.org/project/mainframe-ingest-mcp/) and produces per-program JSON files ready for code generation. --- ## What it extracts For every COBOL program: | What | Details | |------|---------| | **IDENTIFICATION DIVISION** | Program ID, author, date written | | **DATA DIVISION** | All working storage variables with level numbers and PIC clauses | | **PROCEDURE DIVISION** | Every paragraph with line ranges and PERFORM references | | **Embedded SQL** | Every SELECT/INSERT/UPDATE/DELETE with tables and columns | | **Embedded CICS** | Every SEND/RECEIVE MAP, LINK, XCTL, READ, WRITE | | **AI summary** | Plain-English description of what the program does (any LLM) | --- ## Claude Desktop config ```json { "mcpServers": { "cobol-parser-mcp": { "command": "cobol-parser-mcp", "env": { "ANTHROPIC_API_KEY": "your-key-here" } } } } ``` --- ## Usage from Python ### Parse a single file (no API key needed) ```python from cobol_parser_mcp.tools.parser import parse_cobol_file import json result = parse_cobol_file("/path/to/SS6001XX.cob") print(json.dumps(result, indent=2)) ``` ### Parse entire codebase with AI summaries ```python import asyncio from cobol_parser_mcp.tools.batch import parse_all_programs # Using Anthropic (Claude) result = asyncio.run(parse_all_programs( manifest_path="./manifest.json", # from mainframe-ingest-mcp output_dir="./pars…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.