ISO 31000 Risk Assessment MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
ISO 31000 Risk Assessment MCP Server
A Model Context Protocol (MCP) server for comprehensive risk assessment based on the ISO 31000 Risk Management Standard. This server provides AI applications with tools for evaluating risks, generating treatment recommendations, and managing custom risk assessment matrices.
Features
Risk Assessment: Evaluate inherent and residual risk for scenarios using likelihood and consequence analysis
Treatment Recommendations: Generate tailored risk treatment strategies and control recommendations
Custom Risk Matrices: Support for custom-defined risk tables with flexible likelihood and consequence scales
ISO 31000 Compliance: Implements risk management best practices based on ISO 31000:2018
Control Management: Supports preventive, detective, corrective, and mitigating controls
Treatment Strategies: Avoidance, reduction, sharing, and acceptance strategies
Related MCP server: AIR MCP Server
Installation
# Clone and setup the project
cd risk_mcp
npm install
# Build the TypeScript
npm run buildUsage
Starting the Server
npm startOr for development:
npm run devAvailable Tools
1. assess_risk
Assess the inherent and residual risk for a given scenario.
Parameters:
scenario: Risk scenario object with name, description, likelihood (1-5), consequence (1-5)riskTable(optional): Name of custom risk table to usecontrols(optional): Array of controls to evaluate for residual risk
Example:
{
"scenario": {
"name": "Data Breach",
"description": "Unauthorized access to customer data",
"likelihood": 3,
"consequence": 5,
"existingControls": ["Firewall", "Encryption"]
},
"controls": [
{
"name": "Access Control System",
"type": "preventive",
"effectiveness": 0.85
}
]
}2. recommend_treatments
Generate risk treatment recommendations and control strategies.
Parameters:
scenario: Risk scenario objectriskTable(optional): Name of custom risk table to use
3. get_risk_matrix
Retrieve the current risk assessment matrix with likelihood and consequence levels.
Parameters:
tableName(optional): Specific risk table to retrieve
4. manage_risk_tables
Manage risk assessment tables (list, export, create sample).
Parameters:
action: One of"list","export","create_sample"tableName(optional): For export action
5. register_risk_table
Register a custom risk assessment table from JSON.
Parameters:
name: Name for the risk tabletableJson: JSON configuration of the risk table
Risk Matrix Structure
The server uses a standard 5x5 risk matrix by default:
Likelihood Levels (1-5):
1. Rare (0-5%)
2. Unlikely (5-20%)
3. Possible (20-50%)
4. Likely (50-80%)
5. Almost Certain (80-100%)
Consequence Levels (1-5):
1. Negligible
2. Minor
3. Moderate
4. Major
5. CatastrophicCustom Risk Tables
Creating a Custom Risk Table
{
"name": "Financial Risk Matrix",
"version": "1.0.0",
"description": "Tailored for financial sector risks",
"likelihood": [
{
"level": 1,
"name": "Rare",
"description": "Very unlikely to occur",
"probability": { "min": 0, "max": 5 }
}
],
"consequences": [
{
"level": 1,
"name": "Negligible",
"description": "Minimal impact",
"impact": "No significant effect"
}
],
"riskMatrix": {
"1_1": { "score": 1, "level": "Low", "color": "#00AA00" },
"1_2": { "score": 2, "level": "Low", "color": "#00AA00" }
}
}Using a Custom Risk Table
Use the register_risk_table tool to register your custom table, then specify it by name in other tools:
{
"scenario": {...},
"riskTable": "custom_financial_matrix"
}Risk Treatment Strategies
Avoidance
Eliminate or avoid the risk
Best for: Critical and High risks when feasible
Outcome: Zero residual risk
Reduction
Implement controls to reduce probability or consequence
Best for: Most risk scenarios
Controls: Preventive and detective controls
Sharing
Transfer or share the risk through insurance or partnerships
Best for: Medium and High insurable risks
Methods: Insurance, outsourcing, partnerships
Acceptance
Accept the current risk level
Best for: Low risks within tolerance
Requirements: Regular monitoring
Control Types
Preventive: Prevent the risk from occurring
Examples: Training, access controls, policies
Detective: Identify when a risk occurs
Examples: Monitoring, audits, testing
Corrective: Remediate after occurrence
Examples: Incident response, remediation procedures
Mitigating: Share or reduce impact
Examples: Insurance, redundancy, partnerships
ISO 31000 Compliance
This server implements risk management principles aligned with ISO 31000:2018:
Systematic Approach: Structured methodology for risk assessment
Context-Specific: Supports customizable risk matrices
Stakeholder Integration: Considers multiple perspectives in treatment recommendations
Continuous Improvement: Supports residual risk monitoring
Evidence-Based: Quantifiable likelihood and consequence levels
Configuration
Create a .env file if needed for custom tables directory:
RISK_TABLES_DIR=./custom_tablesExamples
Complete Risk Assessment Workflow
Assess Risk:
{ "scenario": { "name": "System Outage", "description": "Production system becomes unavailable", "category": "Operational", "likelihood": 3, "consequence": 4 } }Get Recommendations:
{ "scenario": { "name": "System Outage", "description": "Production system becomes unavailable", "likelihood": 3, "consequence": 4 } }Re-assess with Controls:
{ "scenario": { "name": "System Outage", "description": "Production system becomes unavailable", "likelihood": 3, "consequence": 4 }, "controls": [ { "name": "System Redundancy", "type": "mitigating", "effectiveness": 0.8 }, { "name": "Continuous Monitoring", "type": "detective", "effectiveness": 0.85 } ] }
MCP Integration
This server can be integrated with Claude, VS Code, or other MCP-compatible clients.
VS Code Configuration
Add to .vscode/mcp.json:
{
"servers": {
"risk-assessment": {
"type": "stdio",
"command": "node",
"args": ["./build/index.js"]
}
}
}Claude Desktop Configuration
Add to ~/.config/Claude/claude_desktop_config.json (macOS/Linux) or %AppData%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"risk-assessment": {
"command": "node",
"args": ["/path/to/build/index.js"]
}
}
}Development
Building
npm run buildTesting
Use the MCP Inspector to test the server:
npx @modelcontextprotocol/inspector node ./build/index.jsLicense
MIT
Contributing
Contributions are welcome! Please ensure:
All code is TypeScript
Changes maintain ISO 31000 compliance
Tests pass (when available)
Code is properly documented
References
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
10,000+ source-verified compliance nodes, 39 pillars, 25 MCP tools (EU AI Act, GDPR, NIST, MITRE).
AI-native GRC: compliance scores, security findings, tickets and agent trust tiers.
Compliance frameworks (SOC 2, ISO 27001, CMMC, NIST, more) delivered to AI agents as MCP tools.
Governance maturity assessment, compliance gap analysis, and evidence-linked briefs for AI agents.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI-powered vendor risk assessment using AWS Titan, allowing users to evaluate individual vendors, compare multiple vendors, and get industry risk benchmarks through natural language queries.-
- AlicenseBqualityBmaintenanceEnables AI assistants to perform governed risk assessments through AIR: discover projects, upload evidence, run assessments, and retrieve structured reports.45260 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables EU AI Act compliance for AI agent systems by providing risk classification, audit trails, gap analysis, and evidence package generation.63 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI impact assessments according to ISO/IEC 42005:2025, with built-in EU AI Act compliance and support for phases, categories, and assessment operations.30 PyPIMIT