MainframeKit
Checks JCL and DFSORT, explains abends and lays out copybooks, with no mainframe
- Pricing
- Free
- Platforms
- CLI, Windows, macOS
- Runs
- Locally
- Version
- 0.1.3
- Listing updated
- 2 days ago
About MainframeKit
MainframeKit is a free MCP server for developer tools. It runs locally on your machine and is started by your AI client.
MainframeKit gives an assistant the rule-based checks that its website uses, so JCL or DFSORT that looks right but would fail can be caught before submitting a job. The server runs on your PC, makes no network requests while running and connects to no mainframe. The same input always gives the same answer, rules cite IBM documentation and simulations are labelled.
The lookup tool explains 185 abends, SQLCODEs and CICS, MQ and RACF security codes with causes, fixes and IBM sources. Copybook tools report the start, length and type of every field and the record length, and can decode a hex record against a copybook. Prompts are included for reviewing JCL, explaining an abend and building a sort step.
It is free to use for personal and work purposes on any number of machines, but all rights are reserved and the source is not published. It does not replace IBM or Broadcom tools, and the site advises confirming against IBM documentation before changing production.
Install
Run in a terminal
claude mcp add mainframekit -- npx -y mainframekit-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"mainframekit": {
"command": "npx",
"args": [
"-y",
"mainframekit-mcp"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mainframekit": {
"command": "npx",
"args": [
"-y",
"mainframekit-mcp"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mainframekit": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mainframekit-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mainframekit": {
"command": "npx",
"args": [
"-y",
"mainframekit-mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mainframekit": {
"command": "npx",
"args": [
"-y",
"mainframekit-mcp"
]
}
}
}Tools this server provides (5)
Taken from the project documentation; the running server may differ.
- check_jcl
- Finds common JCL mistakes and explains each statement.
- explain_dfsort
- Explains DFSORT statements and flags problems.
- lookup_code
- Explains abends, SQLCODEs and CICS, MQ and RACF codes.
- copybook_layout
- Gives start, length and type of every copybook field.
- decode_record
- Decodes a hex record against a copybook.
What it does
- JCL checking
- Finds common mistakes and explains every JOB, EXEC and DD statement in plain English.
- DFSORT explanation
- Explains SORT, INCLUDE/OMIT, INREC/OUTREC and SUM statements and flags problems.
- Code lookup
- Covers 185 abends, SQLCODEs and CICS, MQ and RACF codes with causes and fixes.
- Copybook layout
- Lists start, length and type of each field and the record length.
- Record decoding
- Decodes a hex record against a copybook, field by field.
- Local and deterministic
- Runs on your PC with no network requests, giving the same output for the same input.
Good for
- Check JCL an assistant wrote before submitting a job
- Find out why a batch job ended with S0C7
- Work out where a copybook field starts and the record length
- Decode a hex dump of a record
- Build and review a DFSORT step
Pricing
Free
Free to use; source not published, all rights reserved
Prices change. Check mainframekit.com before you buy.
MainframeKit FAQ
Does it connect to a mainframe?
No. It connects to no mainframe and the server makes no network requests while running.
Is it free?
Yes, free for personal and work use on any number of computers, but not open source and redistribution is not allowed.
What do I need to run it?
Node.js 18 or later, started with npx -y mainframekit-mcp.
Does my code leave my machine?
The server sends nothing, but your assistant's model provider still processes what you type under its own terms.
Is MainframeKit free?
Yes. MainframeKit is free to use.
How do I add MainframeKit to Claude Code?
Run this command in your terminal: claude mcp add mainframekit -- npx -y mainframekit-mcp
What are the best alternatives to MainframeKit?
The closest alternatives to MainframeKit are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Alternatives to MainframeKit

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools