Arg2P — Claude Code MCP server: what it does, how to install
Arg2P evaluates structured argumentation theories using ASPIC+ and ABA models directly within AI coding assistants.
MIT ★ 16 updated 2026-10-29
claude mcp add arg2p -- uvx arg2pWhat Arg2P does
Arg2P exposes the tuProlog argumentation engine to AI agents via the Model Context Protocol. It evaluates structured logic graphs, handles assumption-based argumentation, and resolves abstract dispute frameworks.
The MCP integration runs via uvx arg2p. Because the PyPI package bundles its own Java runtime environment, you do not need to configure an external JVM beforehand.
What it helps with
- solve structured argumentation frameworks under ASPIC+
- evaluate assumption-based ABA theories
- analyze conflict resolution in abstract argumentation graphs
- inspect formal debate outcomes directly in agent conversations
Example prompts for the agent
- Evaluate this ASPIC+ argumentation framework and find the winning arguments
- Solve the following assumption-based argumentation theory using Arg2P
- Check which conclusions hold given these strict and defeasible rules
How to install Arg2P
Platform CLI
claude mcp add arg2p -- uvx arg2puvx runs the command named after the package; if the README names another one, use uvx --from arg2p <command>
Platform CLI
codex mcp add arg2p -- uvx arg2puvx runs the command named after the package; if the README names another one, use uvx --from arg2p <command>
Config file
{
"mcpServers": {
"arg2p": {
"command": "uvx",
"args": [
"arg2p"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from arg2p <command>
Config file
{
"servers": {
"arg2p": {
"type": "stdio",
"command": "uvx",
"args": [
"arg2p"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from arg2p <command>
Platform CLI
gemini mcp add arg2p uvx arg2puvx runs the command named after the package; if the README names another one, use uvx --from arg2p <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Arg2P
How to install Arg2P in Claude Code?
Run claude mcp add arg2p -- uvx arg2p in your terminal.
What does Arg2P do?
It calculates accepted arguments and conclusions for structured ASPIC+, ABA, and abstract argumentation frameworks using tuProlog.
Does Arg2P require a local Java runtime?
No external Java setup is needed because the arg2p wheel distributed on PyPI bundles its own Java runtime.