StructForge
Turn messy text into strict JSON schemas agents can trust (invoice, receipt, contact, resume).
我该使用它吗
质量与安全性
A
发现(1)
- LOW在 extract_table 中
基于对工具定义和协议合规性的自动分析。
上下文开销
~526token 数(工具定义)
~714 B典型响应大小
对注意力的影响极小(占 128k 上下文窗口的 0.41%)
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"structforge": {
"url": "https://structforge.askqa.app/mcp"
}
}
}远程端点
https://structforge.askqa.app/mcpstreamable-http它能做什么
工具清单
工具(6)
🟢 只读🟡 写入🔴 删除⚪ 未知
⚪structure_text(text, schema_name)
Convert messy text to strict JSON schema. Use for emails, chat logs, unstructured input. Schemas: invoice, receipt, contact, resume.
输入模式
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Raw text to structure"
},
"schema_name": {
"type": "string",
"default": "generic",
"description": "Target schema: invoice, receipt, contact, resume"
}
},
"required": [
"text"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢parse_invoice(text)
Parse invoice text into vendor, amount, due_date, line_items (with math_check).
输入模式
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Invoice text or PDF extract"
}
},
"required": [
"text"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢extract_table(html)
Extract HTML or markdown tables into JSON rows.
输入模式
{
"type": "object",
"properties": {
"html": {
"type": "string",
"description": "HTML or table content"
}
},
"required": [
"html"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪normalize_data(data, target_schema)
Normalize data object to a named schema (invoice, receipt, contact, resume).
输入模式
{
"type": "object",
"properties": {
"data": {
"type": "object",
"additionalProperties": {},
"description": "Input data object"
},
"target_schema": {
"type": "string",
"description": "Target schema name"
}
},
"required": [
"data",
"target_schema"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪validate_structure(data, schema_name)
Validate JSON against a schema. Enforces field presence and types (string/number/date/array).
输入模式
{
"type": "object",
"properties": {
"data": {
"type": "object",
"additionalProperties": {}
},
"schema_name": {
"type": "string"
}
},
"required": [
"data",
"schema_name"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_schema(name)
Discover schema shapes. Pass name for one schema, or omit to list all curated schemas.
输入模式
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Schema name; omit to list all"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}推荐提示词
retrieve_data
Get details about [item] from StructForge
预期工具:
get_schemafetch_info
Fetch [information type] using StructForge
预期工具:
get_schema社区
证据
最近观测
已验证未记录版本6 个工具
已验证未记录版本6 个工具