1. Conduid
  2. AI
  3. Antlr4 MCP Server
MCP server · AI

Antlr4 MCP Server

ANTLR4 MCP Server

Unclaimed Apache-2.0 last commit 9 months ago model-context-protocolmcpmcp-serveraiantlr4
61Good

Scored 5 months ago · breakdown

About Antlr4 MCP Server

Antlr4 MCP Server is an MCP server published by sshailabh in the AI category: aNTLR4 MCP Server.

The repository has 7 stars and 1 forks, with the last commit 9 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/sshailabh/antlr4-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (9)

analyze_call_graphRule dependencies, cycles, unused rules

Parameters not published.

analyze_first_followCompute FIRST/FOLLOW sets

Parameters not published.

analyze_left_recursionDetect recursion patterns

Parameters not published.

compile_grammar_multi_targetGenerate parsers (10 languages)

Parameters not published.

detect_ambiguityFind parsing ambiguities

Parameters not published.

parse_sampleParse input, return tree (interpreter mode)

Parameters not published.

profile_grammarPerformance profiling

Parameters not published.

validate_grammarSyntax validation with error suggestions

Parameters not published.

visualize_atnATN state diagrams (DOT/Mermaid)

Parameters not published.

Ask AI

✦

Ask AI about Antlr4 MCP Server

Powered by Claude · Grounded in docs

I know everything about Antlr4 MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 4 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

ANTLR4 MCP Server

MCP server enabling AI assistants to help with ANTLR4 grammar development.

License Java ANTLR


Quick Start

Docker (Recommended)

docker pull sshailabh1/antlr4-mcp-server:latest

Configure your MCP client:

{
  "mcpServers": {
    "antlr4": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "sshailabh1/antlr4-mcp-server:latest"]
    }
  }
}

Build from Source

./mvnw clean package -DskipTests
{
  "mcpServers": {
    "antlr4": {
      "command": "java",
      "args": ["-jar", "/path/to/antlr4-mcp-server-0.2.0.jar"]
    }
  }
}

Tools

Tool Purpose
validate_grammar Syntax validation with error suggestions
parse_sample Parse input, return tree (interpreter mode)
detect_ambiguity Find parsing ambiguities
analyze_left_recursion Detect recursion patterns
analyze_first_follow Compute FIRST/FOLLOW sets
analyze_call_graph Rule dependencies, cycles, unused rules
visualize_atn ATN state diagrams (DOT/Mermaid)
compile_grammar_multi_target Generate parsers (10 languages)
profile_grammar Performance profiling

Usage Example

Validate and parse "2 + 3 * 4":

grammar Calc;
expr: expr ('*'|'/') expr | expr ('+'|'-') expr | NUMBER ;
NUMBER: [0-9]+ ;
WS: [ \t\r\n]+ -> skip ;

Target Languages

Java, Python, JavaScript, TypeScript, C++, C#, Go, Swift, PHP, Dart


Documentation

Document Purpose
Quick Start Setup in 5 minutes
Tool Usage Complete tool reference
Development Build, test, contribute
Examples Calculator, JSON grammars

Constraints

Constraint Value
Max grammar size 10 MB
Max input size 1 MB
Timeout 30 seconds
Imports Not supported (inline all rules)

License

Apache License 2.0

README fetched from the repository 4 days ago. The original is authoritative.

Questions

About Antlr4 MCP Server

How do I install Antlr4 MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Antlr4 MCP Server safe to use with an AI agent?

Its trust score is 61 out of 100 (good). It passes 4 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Antlr4 MCP Server still maintained?

The last commit was 9 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.