Skip to main content
Glama
security-framework-mcp

security-framework-mcp

by zer0-kr

Search and query 4,700+ security data points through a single MCP interface — NIST (1,196 SP 800-53 controls with 53A assessments and 53B baselines, CSF 2.0, PF 1.0, SP 800-37 RMF, 613 publications, CMVP, NICE, glossary, CSF↔800-53 mappings) and OWASP (Top 10, API/LLM/MCP Top 10, ASVS 5.0, WSTG, MASVS, Proactive Controls, 815+ CWEs, 559 CAPEC attack patterns, 113+ Cheat Sheets, 418+ projects) — with live NVD/CVE + CISA KEV + EPSS, PDF reading, compliance mapping, STRIDE threat modeling, and MCP security assessment.

Quick Start

pip install git+https://github.com/zer0-kr/security-framework-mcp.git

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "security": {
      "command": "security-framework-mcp"
    }
  }
}

Claude CLI (Claude Code):

claude mcp add security -- security-framework-mcp
{ "security": { "command": "security-framework-mcp" } }

First run automatically builds the local database (~15-20 seconds). Auto-refreshes weekly.

Related MCP server: Spotter-SAST

Data Sources (22 local + 3 live)

NIST (10)

Source

Records

Description

SP 800-53 Rev. 5 Controls

1,196

Security/privacy controls + 53A assessment objectives/methods + 53B baselines (LOW/MODERATE/HIGH)

CSF 2.0

225

Cybersecurity Framework (6 functions, 22 categories, 197 subcategories)

PF 1.0

92

Privacy Framework (5 functions)

SP 800-37 RMF

7 steps

Risk Management Framework (7-step process)

Publications

613

Full NIST cybersecurity publications (SP 800, FIPS, IR, CSWP)

CSF ↔ 800-53 Mappings

57

Framework cross-references

Glossary

39

Core cybersecurity terms

Synonyms

53

Security acronym expansions (MFA↔multi-factor authentication, etc.)

CMVP

15

FIPS 140 validated crypto modules

NICE Work Roles

43

Cybersecurity Workforce Framework roles

OWASP (12)

Source

Records

Description

Projects

418

Flagship/Production/Lab/Incubator projects

ASVS 5.0

345

Application Security Verification Standard

WSTG

111

Web Security Testing Guide

Top 10 2021 / API Top 10 2023 / LLM Top 10 2025 / MCP Top 10 2025

10 each

Web/API/LLM/MCP security risks + CWE mappings

Proactive Controls 2024

10

Developer defense controls

MASVS

23

Mobile Application Security Verification Standard

CWE Database

815+

Full MITRE CWE + OWASP cross-references

Cheat Sheets

113+

Security implementation guides (on-demand)

CAPEC Attack Patterns

559

MITRE CAPEC attack patterns + CWE cross-references

Live APIs

Source

Description

NVD CVE API 2.0

Real-time CVE search

CISA KEV

Known Exploited Vulnerabilities catalog

FIRST EPSS

Exploit Prediction Scoring System

Tools (41)

NIST

Tool

Description

search_nist

Search all 10 NIST sources

get_nist_control

SP 800-53 control — statement, guidance, 53A assessment, 53B baseline filter (LOW/MODERATE/HIGH), family filter

get_nist_csf

CSF 2.0 functions/categories/subcategories

get_nist_pf

PF 1.0

get_nist_rmf

SP 800-37 RMF steps, tasks, key documents

get_nist_publication

613 publications (SP 800, FIPS, IR, CSWP)

read_publication

Download + convert NIST PDFs to Markdown

get_nist_mapping

CSF 2.0 ↔ SP 800-53 bidirectional mappings

get_nist_glossary

Cybersecurity terms

get_nist_cmvp

FIPS 140 validated modules

get_nice_roles

NICE workforce roles

OWASP

Tool

Description

list_projects

Browse 418+ projects by level/type

search_projects

Full-text search across projects

get_project

Project details

get_asvs

ASVS 5.0 — filter by chapter, level, query

get_wstg

WSTG test cases — filter by category, query

get_top10

Top 10 2021 + CWE mappings

get_api_top10

API Security Top 10 2023

get_llm_top10

LLM Top 10 2025

get_mcp_top10

MCP Top 10 2025

get_proactive_controls

Proactive Controls 2024

get_masvs

MASVS mobile security

get_cheatsheet

113+ Cheat Sheets

Vulnerability & CWE

Tool

Description

get_cwe

CWE lookup + auto OWASP cross-references

search_cve

Live NVD search

get_cve_detail

Full CVE details

search_kev

CISA KEV — vendor/product/date/ransomware filters

Analysis & Assessment

Tool

Description

lookup_compliance

Reverse lookup: PCI-DSS/ISO 27001 requirement → NIST/ASVS

triage_cve

CVE triage with EPSS + CVSS + KEV composite scoring

map_finding

CWE/CVE → complete remediation chain

get_attack_pattern

CAPEC attack patterns with CWE cross-references

search_owasp

Search all 22 sources (NIST + OWASP unified)

cross_reference

CWE → Top 10 / ASVS / WSTG

compliance_map

ASVS → PCI-DSS 4.0 / ISO 27001:2022 / NIST 800-53

nist_compliance_map

SP 800-53 families → PCI-DSS 4.0 / ISO 27001:2022

assess_stack

Tech stack security assessment

generate_checklist

Security checklist (web/api/mobile/llm/full × basic/standard/comprehensive)

assess_mcp_security

MCP Top 10 assessment

threat_model

STRIDE threat modeling

update_database

Rebuild index

database_status

DB status

Prompts (4)

Prompt

Description

security_review

Guided security review

threat_analysis

Threat analysis workflow

compliance_check

Compliance assessment

secure_code_review

Code security review

Use Cases

Vulnerability Management

> Triage CVE-2021-44228 and CVE-2023-44487 — show EPSS, CVSS, KEV status

> Show all CISA KEV entries for Microsoft added after 2025-01-01

> Show only KEV vulnerabilities with known ransomware campaign use

> What attack patterns target CWE-502 (deserialization)?

> Map CWE-79 to OWASP Top 10, ASVS requirements, WSTG tests, and remediation guidance

Compliance & Audit

> What NIST SP 800-53 controls and ASVS requirements map to PCI-DSS 8.3?

> Map ASVS V4 to PCI-DSS 4.0, ISO 27001, and NIST 800-53

> Map NIST SP 800-53 AC family to PCI-DSS and ISO 27001

> Show SP 800-53 LOW baseline controls for the IA (Identification and Authentication) family

> Show SP 800-53 AC-1 control with 53A assessment objectives

Threat Modeling & Architecture Review

> Generate a STRIDE threat model: payment API, JWT auth, PostgreSQL, Redis cache

> Assess my stack: React, Node.js, PostgreSQL, REST API, AWS Lambda

> Find CAPEC attack patterns related to SQL injection

> Search all NIST and OWASP sources for "zero trust"

Development Security

> Generate a comprehensive security checklist for a web API project

> Show OWASP Cheat Sheet for Authentication

> Cross-reference CWE-352 (CSRF) to Top 10, ASVS, and WSTG test cases

> Show ASVS V3 (Session Management) level 2 requirements

> Search NVD for critical log4j CVEs

Configuration

Variable

Default

Description

SECURITY_MCP_DATA_DIR

~/.security-framework-mcp

Database directory

SECURITY_MCP_UPDATE_INTERVAL

604800 (7 days)

Refresh interval

NVD_API_KEY

(none)

Optional NVD API key

Architecture

┌─────────────────────────────────┐
│         MCP Client              │
│  (Claude / Cursor / OpenCode)   │
└──────────────┬──────────────────┘
               │ stdio
┌──────────────▼──────────────────┐
│   security-framework-mcp        │
│  41 tools · 4 prompts · 6 rsrc │
├──────────────┬──────────────────┤
│  SQLite FTS5 │  Live APIs       │
│  (~6.2MB)    │  NVD+KEV+EPSS   │
├──────────────┴──────────────────┤
│  NIST Collectors (10)           │
│  OWASP Collectors (12)          │
└──────────────┬──────────────────┘
               │ httpx (retry)
┌──────────────▼──────────────────┐
│  NIST OSCAL/CSRC · OWASP GitHub │
└─────────────────────────────────┘

Development

git clone https://github.com/zer0-kr/security-framework-mcp.git
cd security-framework-mcp
pip install -e ".[dev]"
python -m pytest tests/test_unit_db.py tests/test_unit_collectors.py -v
python tests/test_comprehensive.py

Contributing

  1. Fork → 2. Branch → 3. Test (python -m pytest) → 4. PR

License

MIT


Not affiliated with OWASP Foundation or NIST. Data sourced from public repositories.

Available Tools

41 tools
assess_mcp_securityA
Read-onlyIdempotent

Assess an MCP server deployment against the OWASP MCP Top 10 security risks.

Inputs: description (required). Returns: result

assess_stackA
Read-onlyIdempotent

Given a technology stack, recommend relevant OWASP security guidelines, cheat sheets, and test cases.

Inputs: stack (required). Returns: result

compliance_mapA
Read-onlyIdempotent

Map OWASP ASVS requirements to compliance frameworks (PCI-DSS, ISO 27001, NIST 800-53).

Inputs: framework, asvs_chapter. Returns: result

cross_referenceA
Read-onlyIdempotent

Cross-reference CWE IDs with OWASP Top 10, ASVS, and WSTG entries.

Inputs: cwe, top10_id. Returns: result

database_statusA
Read-onlyIdempotent

Show local database availability, freshness, and path.

Inputs: no named parameters. Returns: result

generate_checklistA
Read-onlyIdempotent

Generate a security testing checklist based on project type and depth level.

Inputs: project_type (required), level. Returns: result

get_api_top10A
Read-onlyIdempotent

Get OWASP API Security Top 10 2023 items with CWE mappings.

Inputs: id. Returns: result

get_asvsA
Read-onlyIdempotent

Get OWASP ASVS 5.0 verification requirements. Filter by chapter, level, or search.

Inputs: chapter, level, query, limit, +1 more. Returns: result

get_attack_patternA
Read-onlyIdempotent

Look up MITRE CAPEC attack patterns by ID, related CWE, or free-text search.

Inputs: id, cwe, query, limit. Returns: result

get_cheatsheetA
Read-onlyIdempotent

Get an OWASP Cheat Sheet by name, or list all available cheat sheets.

Inputs: name. Returns: result

get_cve_detailA
Read-onlyIdempotent

Fetch detailed information for a specific CVE from the live NVD database.

Inputs: cve_id (required). Returns: result

get_cweA
Read-onlyIdempotent

Look up a CWE (Common Weakness Enumeration) by ID with description and OWASP cross-references.

Inputs: id (required). Returns: result

get_llm_top10A
Read-onlyIdempotent

Get OWASP Top 10 for LLM Applications 2025 items with CWE mappings.

Inputs: id. Returns: result

get_masvsC
Read-onlyIdempotent

Get OWASP MASVS (Mobile Application Security Verification Standard) controls.

Inputs: category, query, limit. Returns: result

get_mcp_top10A
Read-onlyIdempotent

Get OWASP Top 10 for MCP Servers 2025 — security risks specific to MCP deployments.

Inputs: id. Returns: result

get_nice_rolesA
Read-onlyIdempotent

Browse NICE Cybersecurity Workforce Framework work roles (SP 800-181).

Inputs: category, query, limit. Returns: result

get_nist_cmvpA
Read-onlyIdempotent

Search NIST CMVP (Cryptographic Module Validation Program) validated modules.

Inputs: query, fips_level, limit. Returns: result

get_nist_controlA
Read-onlyIdempotent

Get NIST SP 800-53 Rev. 5 controls. Filter by ID, baseline (LOW/MODERATE/HIGH), or family.

Inputs: control_id, baseline, family, include_assessment, +1 more. Returns: result

get_nist_csfA
Read-onlyIdempotent

Get NIST Cybersecurity Framework (CSF) 2.0 functions, categories, and subcategories.

Inputs: function_id, level, query, limit. Returns: result

get_nist_glossaryA
Read-onlyIdempotent

Look up NIST cybersecurity terms and definitions.

Inputs: term. Returns: result

get_nist_mappingA
Read-onlyIdempotent

Look up CSF 2.0 ↔ SP 800-53 framework mappings.

Inputs: source_id, target_id. Returns: result

get_nist_pfB
Read-onlyIdempotent

Get NIST Privacy Framework (PF) 1.0 functions, categories, and subcategories.

Inputs: function_id, level, limit. Returns: result

get_nist_publicationA
Read-onlyIdempotent

Search or browse NIST cybersecurity publications (SP 800, FIPS, IR, CSWP series).

Inputs: id, series, query, limit. Returns: result

get_nist_rmfA
Read-onlyIdempotent

Get NIST SP 800-37 Risk Management Framework (RMF) steps, tasks, and key documents.

Inputs: step. Returns: result

get_proactive_controlsA
Read-onlyIdempotent

Get OWASP Proactive Controls 2024 — defensive measures developers should implement.

Inputs: id. Returns: result

get_projectA
Read-onlyIdempotent

Get detailed info for a specific OWASP project.

Inputs: name (required). Returns: result

get_top10A
Read-onlyIdempotent

Get OWASP Top 10 2021 items with CWE mappings.

Inputs: id. Returns: result

get_wstgB
Read-onlyIdempotent

Get OWASP Web Security Testing Guide (WSTG) test cases.

Inputs: category, query, limit, offset. Returns: result

list_projectsA
Read-onlyIdempotent

List OWASP projects. Includes Flagship, Production, Lab, and Incubator levels.

Inputs: level, type, limit, offset. Returns: result

lookup_complianceA
Read-onlyIdempotent

Reverse compliance lookup — find NIST SP 800-53 families, ASVS chapters, and related controls from a PCI-DSS or ISO 27001 requirement.

Inputs: requirement (required), framework. Returns: result

map_findingA
Read-onlyIdempotent

Map a security finding (CWE, CVE, or description) to a complete remediation package: CWE details, OWASP Top 10 / API Top 10 / LLM Top 10 mappings, ASVS requirements, WSTG test cases, cheat sheets, and compliance impact (PCI-DSS 4.0, ISO 27001:2022, NIST 800-53).

Inputs: cwe, cve, description. Returns: result

nist_compliance_mapA
Read-onlyIdempotent

Map NIST SP 800-53 Rev. 5 control families to PCI-DSS 4.0 and ISO 27001:2022.

Inputs: family, target_framework. Returns: result

read_publicationA
Read-onlyIdempotent

Download and read a NIST publication PDF. Returns table of contents or specific pages as Markdown.

Inputs: publication_id (required), pages. Returns: result

search_cveA
Read-onlyIdempotent

Search the live NVD database for CVE vulnerabilities. Requires internet access.

Inputs: keyword, cwe_id, severity, limit. Returns: result

search_kevA
Read-onlyIdempotent

Search CISA Known Exploited Vulnerabilities (KEV) catalog with vendor, product, date, and ransomware filters.

Inputs: cve_id, vendor, product, date_added_after, +4 more. Returns: result

search_nistA
Read-onlyIdempotent

Search NIST data: SP 800-53 controls, CSF 2.0, PF 1.0, RMF, publications, glossary, CMVP, and NICE roles.

Inputs: query (required), source, limit. Returns: result

search_owaspA
Read-onlyIdempotent

Search across ALL OWASP data sources: projects, ASVS, WSTG, Top 10, and Cheat Sheets.

Inputs: query (required), limit. Returns: result

search_projectsA
Read-onlyIdempotent

Full-text search across all OWASP projects (name, title, pitch).

Inputs: query (required), limit, offset. Returns: result

threat_modelA
Read-onlyIdempotent

Generate a STRIDE-based threat model for a system using OWASP data for mitigations.

Inputs: system (required), methodology. Returns: result

triage_cveA
Read-onlyIdempotent

Triage CVEs with EPSS scores, CVSS severity, and KEV status. Note: makes individual NVD API calls per CVE; expect ~6s/CVE without API key.

Inputs: cve_ids (required). Returns: result

update_databaseB

Rebuild the local OWASP database from upstream sources.

Inputs: no named parameters. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 41 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose, targeting specific data sources (e.g., OWASP, NIST, CVE) or actions (e.g., assess, search, map). Even with many similar 'get_' tools, the target differs explicitly (e.g., get_top10 vs get_api_top10 vs get_llm_top10). No two tools appear to do the same thing.

    Naming Consistency4/5

    The majority of tools follow a verb_noun pattern (e.g., get_asvs, search_cve, assess_mcp_security). However, a few tools like 'database_status' (noun_noun) break the pattern. The inconsistency is minor but present.

    Tool Count3/5

    With 41 tools, the server is well beyond the typical 3-15 range. While the comprehensive coverage of multiple security frameworks justifies the count, the number is high and could be streamlined. Some tools are very similar (e.g., multiple 'get_top10' variants), making the set feel oversized.

    Completeness5/5

    The tool set covers an exhaustive range of security frameworks and data sources: OWASP (Top 10, API, LLM, MCP, ASVS, MASVS, WSTG, CheatSheets, Proactive Controls, Projects), NIST (CSF, SP 800-53, RMF, PF, Glossary, Publications, CMVP, NICE), CVE/KEV, compliance mappings, threat modeling, and triage. No obvious gaps for its stated purpose.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      A comprehensive security testing MCP server providing 51 tools for penetration testing, network forensics, memory analysis, and vulnerability assessment. It enables automated security audits and technical investigations across web applications, cloud environments, and network captures.
      51
      27
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      A comprehensive MCP server for structured threat modeling using STRIDE methodology, with automatic code validation and report generation.
      100
      128
      Apache 2.0