riscv-mcp
v1.0.0
Published
MCP server for RISC-V disassembly and assembly via aboutrv.com
Maintainers
Readme
riscv-mcp
MCP server for RISC-V disassembly and assembly, powered by aboutrv.com.
Tools
| Tool | Description |
|------|-------------|
| disassemble | Convert hex machine-code words → RISC-V assembly |
| assemble | Convert RISC-V assembly mnemonics → hex machine code |
Usage
Claude Code / claude.ai/code
Add to ~/.claude/settings.json:
{
"mcpServers": {
"riscv": {
"command": "npx",
"args": ["-y", "riscv-mcp"]
}
}
}Cursor / Windsurf / VS Code (Copilot)
Add to your MCP config file (~/.cursor/mcp.json, .windsurf/mcp.json, etc.):
{
"mcpServers": {
"riscv": {
"command": "npx",
"args": ["-y", "riscv-mcp"]
}
}
}Manual
npx riscv-mcpExamples
Once connected, ask your LLM:
- "Disassemble 0x02a00513"
- "What does the instruction 02a00513 do in RISC-V?"
- "Assemble: addi a0, a1, 42"
- "Give me the machine code for ret in RISC-V"
Environment
| Variable | Default | Description |
|----------|---------|-------------|
| RISCV_API_URL | https://aboutrv.com | Override the API base URL (useful for local dev) |
License
MIT
