Skip to main content
Glama

Steel Brain

一个为 AI 代理提供钢铁领域知识的 MCP 服务器 — 牌号属性、替代判定和钢厂证书指导,以 MCP 工具的形式提供,供你的代理调用。

也可通过 REST API 获取,访问 https://api.steelbrain.dev。


MCP 服务器

Steel Brain 是一个 Model Context Protocol 服务器。它通过 stdio 传输暴露三个 MCP 工具:

MCP 工具

功能

grade_lookup

某钢牌号的属性、化学成分、形态、应用和可焊性。支持别名解析(4140 = 42CrMo4 = SCM440;S355 = ST52)。

substitution_check

给定 from_grade、to_grade、application,返回一个判定(valid / conditional / invalid),并说明一个牌号是否可以替代另一个牌号。

cert_guide

针对某牌号和用途,应使用哪种钢厂证书(EN 10204 3.1/3.2,船级社证书 ABS/DNV/LR/BV/NK),以及需要检查什么。

运行 MCP 服务器

pip install -r requirements.txt
python -m steel_brain.mcp_server

通过 stdio 传输启动 MCP 服务器,可被任何 MCP 客户端使用(Claude Desktop、Claude Code 或任何兼容 MCP 的代理)。

MCP 客户端配置示例

{
  "mcpServers": {
    "steel-brain": {
      "command": "python",
      "args": ["-m", "steel_brain.mcp_server"]
    }
  }
}

使用官方 MCP SDK(mcp 包)构建,通过标准 MCP 工具接口注册三个工具。


Related MCP server: simpson-strong-agent

为什么选择 Steel Brain

大语言模型对钢铁只是猜测。它们会告诉你 4140 退火态可以替代 4140 预硬态,然后把活儿搞砸。Steel Brain 基于由一线钢材贸易商构建、经过人工验证的知识库来回答,宁可诚实地返回“不在知识库中”,也不给出有把握的猜测。

有价值的部分在于替代判定和证书逻辑:

  • 4140RB 到 4140QT(退火态与预硬态):不可替代,相同合金,热处理状态相反

  • 316L 到 304L 用于海洋环境:不可替代,耐腐蚀等级不同

  • EH36 到 S355 结构钢:单向有效,反向有条件

  • 无缝管与 ERW 用于承压用途:永远不可互换

覆盖范围

覆盖碳钢、合金钢、不锈钢,共 23 个牌号。圆钢、空心棒材、板材、管材。39 条替代规则,4 份证书指南。

REST API(MCP 的替代方案)

同样的知识可通过 REST 获取,访问 https://api.steelbrain.dev:

curl "https://api.steelbrain.dev/v1/grade/4140QT" -H "X-API-Key: YOUR_KEY"
curl "https://api.steelbrain.dev/v1/substitution?from_grade=316L&to_grade=304L&application=machined" -H "X-API-Key: YOUR_KEY"

上线时提供免费套餐。联系方式:dryow.jt@gmail.com

诚实设计

  • 牌号属性:来自已发布标准(ASTM/EN/JIS/API/ABS)的范围,并明确标注。

  • 替代与证书逻辑:经贸易验证、由一线贸易商出具的带日期判定。

  • 未知牌号:诚实地返回“不在知识库中”,绝不编造。

开发

python -m pytest tests/    # 15 tests (10 acceptance + 5 domain-safety guards)

许可证

代码:MIT(见 LICENSE)。知识库(kb/):专有(见 NOTICE)。

Available Tools

3 tools
cert_guideAInspect

Which mill cert type applies for a grade + use case (e.g. EH36 shipbuilding), and what fields to check on the cert.

Inputs: grade (required), use_case (required).

grade_lookupAInspect

Look up a steel grade: properties, chemistry, forms, applications, weldability. Aliases accepted (e.g. 4140 = 42CrMo4 = SCM440).

Inputs: grade (required).

substitution_checkAInspect

Check if one steel grade can substitute another for a given application (machined / welded-structural / pressure). Returns verdict + reasoning from verified trade rules.

Inputs: to_grade (required), from_grade (required), application (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool addresses a distinct task: looking up material properties, checking substitution compatibility, and guiding certificate selection. There is no functional overlap between them.

    Naming Consistency4/5

    Tool names follow a clear two-part lowercase_with_underscore pattern (grade_lookup, substitution_check, cert_guide). The first two use a noun-verb structure, while cert_guide uses noun-noun, creating a minor inconsistency but still predictable.

    Tool Count4/5

    Three tools is slightly on the low side but appropriate for a focused, niche domain. The set covers the main steel-grade queries without unnecessary redundancy.

    Completeness4/5

    The surface covers lookup, substitution reasoning, and certification guidance, forming a coherent workflow. Minor gaps exist, such as no direct comparison tool or grade listing, but these are not critical for the stated purpose.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Headless MCP server for Simpson Strong-Tie product data. Provides AI agents with structural connector lookups, load calculations, code compliance verification, and engineering specifications.
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      MCP server that exposes CAD geometry reasoning over STEP files to LLMs, allowing natural language queries about parts, assemblies, dimensions, holes, and mass properties.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      A local MCP server that gives AI coding assistants retrieval access to your personal knowledge base of books, standards, and docs, grounding their answers in sources you trust.
      MIT