Steel Brain

io.github.dryow1由 GitHub 帳號 dryow1 發布v1.1.0更新於 Nov 2, 2026

Trade-verified steel grade properties, substitution verdicts, and mill-cert guidance for AI agents.

發布方自己的服務:BrainDog

已驗證Streamable HTTP可網頁執行

概覽

AI 產生的概覽

Steel Brain 為助理提供經業界驗證的鋼材牌號知識:性質、替代判定與品質證明書指引,可透過遠端 HTTP 或本機 stdio 使用。

可以做什麼
  • 查詢鋼材牌號的性質、化學成分、形態、用途與可焊性,並解析別名
  • 判斷一種牌號能否在機加工、焊接結構或承壓應用中替代另一種牌號,給出結論與理由
  • 查詢某牌號與用途適用的品質證明書類型及需核對的欄位
  • 對知識庫中未收錄的牌號明確回覆「未收錄」,而非憑空猜測
適用情境
當助理需要回答鋼材牌號、材料替代或品質證明書相關問題,而憑猜測作答風險較高時使用,例如比較 4140 退火態與預硬態,或船用情境下 316L 與 304L。涵蓋範圍僅限 23 個牌號與 39 條替代規則。
執行需求
遠端方式:將支援 streamable HTTP 的 MCP 用戶端指向公開端點,無需 API 金鑰。本機方式:需安裝 Python 與專案相依套件,以 stdio 模組方式執行。另有 REST API 使用 X-API-Key 標頭。
安裝前請注意
遠端端點設有共用的每日呼叫上限,可用性無法保證。答案來自有限的知識庫(23 個牌號、39 條規則、4 份品質證明書指南),僅供參考,不能取代工程審核。REST API 需要 API 金鑰,MCP 工具則不需要。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Steel Brain,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.dryow1%2Fsteel-brain/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "steel-brain": {
      "type": "http",
      "url": "https://api.steelbrain.dev/mcp"
    }
  }
}

README

Steel Brain

An MCP server providing steel domain knowledge to AI agents — grade properties, substitution verdicts, and mill-cert guidance, delivered as MCP tools your agent can call.

Also available as a REST API at https://api.steelbrain.dev.


MCP server

Steel Brain is a Model Context Protocol server. It exposes three MCP tools, over remote streamable HTTP (no install) or local stdio:

MCP ToolWhat it does
grade_lookupProperties, chemistry, forms, applications, weldability for a steel grade. Aliases resolved (4140 = 42CrMo4 = SCM440; S355 = ST52).
substitution_checkGiven from_grade, to_grade, application, returns a verdict (valid / conditional / invalid) with reasoning on whether one grade can substitute another.
cert_guideWhich mill certificate applies for a grade + use case (EN 10204 3.1/3.2, class certs ABS/DNV/LR/BV/NK) and what to check.

Remote (no install, free)

Point any MCP client that supports streamable HTTP at:

https://api.steelbrain.dev/mcp
{  "mcpServers": {    "steel-brain": { "type": "http", "url": "https://api.steelbrain.dev/mcp" }  }}

Claude Code: claude mcp add --transport http steel-brain https://api.steelbrain.dev/mcp

No API key needed. There is a shared daily cap to keep the server healthy.

Local (stdio)

pip install -r requirements.txtpython -m steel_brain.mcp_server

Starts the MCP server on stdio transport, ready for any MCP client (Claude Desktop, Claude Code, or any MCP-compatible agent).

Example MCP client config

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

Built with the official MCP SDK (mcp package), registering three tools via the standard MCP tool interface.


Why Steel Brain

LLMs guess at steel. They will tell you 4140 annealed can stand in for 4140 pre-hardened, and scrap the job. Steel Brain answers from a human-verified knowledge base built by a working steel trader, and returns an honest "not in knowledge base" rather than a confident guess.

The valuable part is the substitution and cert logic:

  • 4140RB to 4140QT (annealed vs pre-hardened): invalid, same alloy, opposite heat-treat
  • 316L to 304L for marine: invalid, different corrosion class
  • EH36 to S355 structural: valid one way, conditional the other
  • Seamless vs ERW for pressure service: never interchangeable

Coverage

23 grades across carbon, alloy, stainless. Round bar, hollow bar, plate, pipe. 39 substitution rules, 4 cert guides.

REST API (alternative to MCP)

Same knowledge over REST at 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"

Free tier at launch. Contact: [email protected]

Honesty by design

  • Grade properties: published-standard ranges (ASTM/EN/JIS/API/ABS), labelled as such.
  • Substitution + cert logic: trade-verified, dated rulings from a working trader.
  • Unknown grades: honest "not in knowledge base," never fabricated.

Development

One-command local test setup:

make test

or directly:

bash scripts/test.sh

This creates a .venv (via python3 -m venv .venv) if it doesn't exist yet, installs requirements.txt into it, sets SB_SERVE_UNVERIFIED=1 (needed so the test suite can exercise unverified KB entries), and runs pytest. Works on macOS and Linux. Extra arguments are passed through to pytest, e.g. bash scripts/test.sh tests/test_gate2.py -v.

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

License

Code: MIT (see LICENSE). Knowledge base (kb/): proprietary (see NOTICE).

來源:README.md,提交 27598ed

工具

3

grade_lookup

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

輸入參數grade必填

substitution_check

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

輸入參數to_grade必填from_grade必填application必填

cert_guide

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

輸入參數grade必填use_case必填

版本歷史

2
  1. v1.1.0最新Sep 25, 2026
  2. v1.0.0Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Brain 整合