{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_nv33prqdqxsf","handle":"cobol-parser-mcp","url":"https://wellknown.network/agents/cobol-parser-mcp","links":{"self":"https://wellknown.network/agents/cobol-parser-mcp/record.json","html":"https://wellknown.network/agents/cobol-parser-mcp","markdown":"https://wellknown.network/agents/cobol-parser-mcp/record.md","api":"https://wellknown.network/api/v1/agents/cobol-parser-mcp","status":"https://wellknown.network/api/v1/agents/cobol-parser-mcp/status","claim":"https://wellknown.network/agents/cobol-parser-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/cobol-parser-mcp/claim.json","badge":"https://wellknown.network/agents/cobol-parser-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/cobol-parser-mcp/history","tools":"https://wellknown.network/api/v1/agents/cobol-parser-mcp/tools"},"ard":{"identifier":"urn:air::server:cobol-parser-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"cobol-parser-mcp","summary":"MCP server that parses COBOL programs — extracts divisions, SQL, CICS commands, and generates AI-powered business logic summaries via any LLM","description":"# cobol-parser-mcp\n\nMCP server that parses COBOL mainframe programs and extracts structured data plus AI-powered business logic summaries — works with any LLM provider.\n\n```bash\npip install cobol-parser-mcp            # pure parsing, no LLM needed\npip install cobol-parser-mcp[anthropic] # + Claude\npip install cobol-parser-mcp[openai]    # + GPT-4o\npip install cobol-parser-mcp[groq]      # + Groq (fast + cheap)\npip install cobol-parser-mcp[all]       # + all providers\n```\n\nPart 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.\n\n---\n\n## What it extracts\n\nFor every COBOL program:\n\n| What | Details |\n|------|---------|\n| **IDENTIFICATION DIVISION** | Program ID, author, date written |\n| **DATA DIVISION** | All working storage variables with level numbers and PIC clauses |\n| **PROCEDURE DIVISION** | Every paragraph with line ranges and PERFORM references |\n| **Embedded SQL** | Every SELECT/INSERT/UPDATE/DELETE with tables and columns |\n| **Embedded CICS** | Every SEND/RECEIVE MAP, LINK, XCTL, READ, WRITE |\n| **AI summary** | Plain-English description of what the program does (any LLM) |\n\n---\n\n## Claude Desktop config\n\n```json\n{\n  \"mcpServers\": {\n    \"cobol-parser-mcp\": {\n      \"command\": \"cobol-parser-mcp\",\n      \"env\": {\n        \"ANTHROPIC_API_KEY\": \"your-key-here\"\n      }\n    }\n  }\n}\n```\n\n---\n\n## Usage from Python\n\n### Parse a single file (no API key needed)\n\n```python\nfrom cobol_parser_mcp.tools.parser import parse_cobol_file\nimport json\n\nresult = parse_cobol_file(\"/path/to/SS6001XX.cob\")\nprint(json.dumps(result, indent=2))\n```\n\n### Parse entire codebase with AI summaries\n\n```python\nimport asyncio\nfrom cobol_parser_mcp.tools.batch import parse_all_programs\n\n# Using Anthropic (Claude)\nresult = asyncio.run(parse_all_programs(\n    manifest_path=\"./manifest.json\",  # from mainframe-ingest-mcp\n    output_dir=\"./pars…","publisher":{"name":"Rohan Nair","url":null},"homepage":null,"repository":null,"version":"0.1.2","license":"MIT","protocols":["mcp"],"tags":["mcp","cobol","mainframe","modernization","cics","db2","parser","zos","migration"],"pricing":null,"endpoints":[{"url":"pypi:cobol-parser-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","summary":"pypi","version":"pypi","description":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[{"slug":"code.refactoring","name":"Refactoring","confidence":1,"provenance":"declared"}],"categories":["code"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"cobol-parser-mcp","registry":"pypi","observedAt":"2026-10-21T20:25:30.520Z","publishedAt":"2026-03-06T20:07:26.258452Z","latestVersion":"0.1.2"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"cobol-parser-mcp","url":"https://pypi.org/project/cobol-parser-mcp/","firstSeenAt":"2026-09-09T11:31:24.002Z","fetchedAt":"2026-10-21T20:23:32.380Z","normalizedAt":"2026-10-21T20:23:32.380Z"}]},"firstSeenAt":"2026-09-09T11:31:24.002Z","updatedAt":"2026-10-21T20:25:30.520Z"}