COBOL MCP server with hybrid search and blind-spot detection
Project description
cobol-mcp-client
An MCP (Model Context Protocol) server for COBOL development assistance. Provides static analysis with blind-spot detection and hybrid documentation search.
Quick Start
pipx run cobol-mcp-client setup YOUR_API_KEY
This launches an interactive wizard where you select which IDEs to configure:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Step 2: Select IDEs to configure
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. cursor
2. claude-desktop
3. vscode
4. windsurf
5. amp
6. zed
7. cline
8. continue
9. roo-code
a. All IDEs
q. Quit
Enter numbers separated by spaces (e.g., 1 3 5) or 'a' for all:
Direct Install (skip prompts)
pipx run cobol-mcp-client setup YOUR_API_KEY --ide cursor
pipx run cobol-mcp-client setup YOUR_API_KEY --ide claude-desktop
List Supported IDEs
pipx run cobol-mcp-client list-ides
What It Does
Three tools exposed via MCP:
| Tool | Description |
|---|---|
check(file_path) |
Static analysis of COBOL source files. Runs 30+ rules covering FILE STATUS, uninitialized variables, missing STOP RUN, arithmetic overflow, and IMS DL/I issues. |
search(query) |
Hybrid semantic + keyword search across GnuCOBOL, IBM Enterprise COBOL, CICS, and Visual COBOL documentation. |
translate_reference(topic) |
COBOL-to-Java translation patterns for data types, control flow, file I/O, CICS, DB2, and more. |
Resources available:
cobol://context— Dialect differences and search tipscobol://rules— Full rule documentationcobol://gnucobol— GnuCOBOL compiler reference
Manual Configuration
If you prefer to configure manually, add to your IDE's MCP config:
{
"mcpServers": {
"cobol": {
"command": "uvx",
"args": ["--from", "cobol-mcp-client", "cobol-mcp"],
"env": {
"COBOL_MCP_API_KEY": "your-api-key"
}
}
}
}
Config file locations:
| IDE | Path |
|---|---|
| Cursor | ~/.cursor/mcp.json |
| Claude Desktop | ~/Library/Application Support/Claude/claude_desktop_config.json |
| VS Code | ~/.vscode/mcp.json |
| Windsurf | ~/.codeium/windsurf/mcp_config.json |
| Zed | ~/.config/zed/settings.json |
Environment Variables
| Variable | Required | Description |
|---|---|---|
COBOL_MCP_API_KEY |
Yes | API key for documentation search |
COBOL_MCP_API_URL |
No | Backend API URL (defaults to production) |
Development
git clone https://github.com/haladir-ai/cobol-mcp-client
cd cobol-mcp-client
pip install -e .
python -m pytest tests/ -v
License
Proprietary.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cobol_mcp_client-0.1.13.tar.gz.
File metadata
- Download URL: cobol_mcp_client-0.1.13.tar.gz
- Upload date:
- Size: 134.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbece87994991c7a548e72f6026cd811d82c280542d78f622bf631aafd311100
|
|
| MD5 |
299f3e06edee06209958705f3185fdfb
|
|
| BLAKE2b-256 |
42892e16e4af98ff132397ba0a1a9084e66f7f550a0ede1ae5fe3efcf78cdaca
|
Provenance
The following attestation bundles were made for cobol_mcp_client-0.1.13.tar.gz:
Publisher:
publish.yml on haladir-ai/cobol-mcp-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cobol_mcp_client-0.1.13.tar.gz -
Subject digest:
fbece87994991c7a548e72f6026cd811d82c280542d78f622bf631aafd311100 - Sigstore transparency entry: 849528557
- Sigstore integration time:
-
Permalink:
haladir-ai/cobol-mcp-client@ba13e4119309e17435b5ab88b6d96fa19a0e36be -
Branch / Tag:
refs/tags/v0.1.13 - Owner: https://github.com/haladir-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ba13e4119309e17435b5ab88b6d96fa19a0e36be -
Trigger Event:
release
-
Statement type:
File details
Details for the file cobol_mcp_client-0.1.13-py3-none-any.whl.
File metadata
- Download URL: cobol_mcp_client-0.1.13-py3-none-any.whl
- Upload date:
- Size: 63.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bd2bb7f4f5196e1a15fbcfae314b4596b469ac3fb94d43bb6029b0747e94e0f
|
|
| MD5 |
0cf38412873ebf1c714153b39c3d8a88
|
|
| BLAKE2b-256 |
0a70c14ac4bbc34fbc4f884b90e7ea0ae8d42c5a1497e3fcc549d40598aba510
|
Provenance
The following attestation bundles were made for cobol_mcp_client-0.1.13-py3-none-any.whl:
Publisher:
publish.yml on haladir-ai/cobol-mcp-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cobol_mcp_client-0.1.13-py3-none-any.whl -
Subject digest:
1bd2bb7f4f5196e1a15fbcfae314b4596b469ac3fb94d43bb6029b0747e94e0f - Sigstore transparency entry: 849528571
- Sigstore integration time:
-
Permalink:
haladir-ai/cobol-mcp-client@ba13e4119309e17435b5ab88b6d96fa19a0e36be -
Branch / Tag:
refs/tags/v0.1.13 - Owner: https://github.com/haladir-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ba13e4119309e17435b5ab88b6d96fa19a0e36be -
Trigger Event:
release
-
Statement type: