nist-mcp

nist-mcp

Provides structured access to the full NIST cybersecurity catalog, including SP 800/1800 publications, security controls, CSF 2.0, and the NVD database. It enables AI assistants to search and retrieve cybersecurity standards, CVEs, and compliance guidance directly from a local SQLite index.

Category
访问服务器

README

nist-mcp

A Model Context Protocol (MCP) server that gives AI assistants structured access to the full NIST cybersecurity catalog: SP 800 and SP 1800 publications, SP 800-53 Rev 5 security controls, NIST CSF 2.0, the NVD vulnerability database (CVEs and CPEs), FIPS 140-2/3 validated cryptographic modules (CMVP), NCP security checklists, the NIST glossary, and NICE Framework work roles — all served from a local SQLite index that builds automatically on first use (~2 seconds) by downloading structured data directly from NIST.

Installation

pipx install nist-mcp
# or
pip install nist-mcp

Configuration

Environment Variables

Variable Default Description
NIST_MCP_DATA_DIR ~/.nist-mcp Directory for the local database and cached documents
NIST_MCP_NVD_API_KEY (none) Optional NVD API key for higher rate limits (recommended)
NIST_MCP_UPDATE_INTERVAL 604800 Seconds between background database rebuilds (default: 7 days)

config.toml

Create ~/.nist-mcp/config.toml (or $NIST_MCP_DATA_DIR/config.toml) for persistent settings:

nvd_api_key = "your-api-key-here"
update_interval = 43200   # 12 hours

Environment variables take precedence over the config file.

MCP Client Config

Add to your MCP client's server list (e.g. Claude Desktop claude_desktop_config.json):

{
  "mcpServers": {
    "nist": {
      "command": "nist-mcp",
      "env": {
        "NIST_MCP_NVD_API_KEY": "your-api-key-here"
      }
    }
  }
}

On first run, the server builds a local database by downloading structured data from NIST (~2 seconds). The database is cached and rebuilt automatically when stale (default: every 7 days).

Available Tools

Tool Description
search_nist Meta-search across all 7 NIST data sources at once — use as starting point
update_database Rebuild the local NIST index by downloading fresh data from NIST sources
database_status Show database version, size, last update check, and file path
search_publications Full-text search across all NIST publication series (SP 800, SP 1800, FIPS, IR, CSWP, AI)
get_publication Full metadata for a specific publication: abstract, authors, supplemental materials
get_document_content Read publication content as Markdown (PDF, XLSX, CSV, JSON, XML); returns TOC by default
download_document Download a publication PDF or supplemental file to local cache
get_latest_revision Resolve any publication ID to its newest available revision
search_controls Search SP 800-53 Rev 5 controls by keyword, control family, or baseline level
get_control Full detail for a specific control: statement, guidance, parameters, baselines, CSF mappings
get_csf_data Browse/search the NIST CSF 2.0 hierarchy (functions, categories, subcategories)
get_framework_mappings Cross-reference between SP 800-53 controls and CSF subcategories, bidirectionally
lookup_glossary Look up NIST cybersecurity/privacy term definitions with authoritative source
search_cmvp Search FIPS 140-2/3 validated cryptographic modules by vendor, algorithm, or validation level
search_checklists Search NCP security configuration checklists by product, format, or authority
search_nice_roles Search NICE Framework work roles by keyword or category
search_cves Search the NVD CVE database by keyword, severity, CPE product, CWE, date range, or KEV status
get_cve Full CVE details: CVSS scores, affected products, CWE, references, and CISA KEV status
search_cpes Search the NVD CPE product dictionary by keyword or CPE name prefix
get_cve_history Audit trail of changes to a CVE (score updates, CPE additions, CWE remaps)

Available Resources

URI Description
nist://about Server version, database freshness, and quick-start tool guide
nist://controls/families All 20 SP 800-53 Rev 5 control families with one-line descriptions
nist://controls/baselines LOW, MODERATE, HIGH, and PRIVACY baselines with control counts and descriptions
nist://csf/overview CSF 2.0 structure: the 6 core Functions with descriptions
nist://glossary/common ~30 most commonly referenced NIST cybersecurity terms and definitions

Available Prompts

Prompt Parameters Description
compliance_assessment system_description, baseline (default: MODERATE) Step-by-step workflow to assess a system against an SP 800-53 baseline
vulnerability_analysis cve_id, system_description (optional) Analyze a CVE's impact, affected components, and applicable NIST controls
policy_draft control_family Draft a security policy document grounded in SP 800-53 Rev 5
incident_response_guide incident_type NIST-based guidance for detecting, containing, and recovering from a security incident

Quick Examples

Find NIST guidance on zero trust

search_nist("zero trust architecture")

Look up the SP 800-207 publication

search_publications("zero trust")
get_publication("SP.800-207")

Review access control requirements for a MODERATE system

search_controls(family="ac", baseline="MODERATE", detail_level="standard")
get_control("AC-2", include_enhancements=True)

Analyze Log4Shell

get_cve("CVE-2021-44228")

Check if your cryptographic library is FIPS validated

search_cmvp(vendor="OpenSSL", fips_level=1)

Find CSF guidance on incident response

get_csf_data(function="RS")
get_csf_data(function="RC")

Use a workflow prompt

compliance_assessment(
    system_description="Web application processing PII, hosted on AWS, with MFA for admin access",
    baseline="MODERATE"
)

License

MIT license. Note that the optional pymupdf4llm dependency (used for PDF-to-Markdown conversion) is licensed under AGPL-3.0. If AGPL is not acceptable for your use case, the server functions fully without it for all non-document-content tools; remove pymupdf4llm from your installation and get_document_content will fall back to pdfplumber for PDF parsing.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选