Peptide Library
Peptide research profiles, evidence by tier, comparisons and educational content. No dosing.
我该使用它吗
质量与安全性
发现(1)
- LOW在 solution_concentration 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"peptide-library": {
"url": "https://peptidelibrary.app/mcp"
}
}
}远程端点
https://peptidelibrary.app/mcpstreamable-http它能做什么
工具清单
工具(10)
🟢search_peptides(query, category, research_area, limit, offset)
Search the Peptide Library research database by name, synonym or alias (fuzzy), optionally filtered by research category or research area. Returns short educational profiles with evidence level and the canonical Peptide Library URL. Use get_peptide_details for the full profile. No dosing information.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$",
"description": "Name, synonym, alias or partial name to search for (fuzzy; e.g. \"bpc\", \"semaglutide\", \"PT-141\")."
},
"category": {
"description": "Limit to one Peptide Library research category (see get_peptide_categories).",
"type": "string",
"enum": [
"fat-loss",
"cognitive",
"muscle-recovery",
"longevity",
"glp1-metabolic",
"cosmetic",
"experimental"
]
},
"research_area": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$",
"description": "Limit to peptides studied for this research area, e.g. \"tissue repair\", \"cognition\"."
},
"limit": {
"default": 10,
"description": "Results per page (1-25).",
"type": "integer",
"minimum": 1,
"maximum": 25
},
"offset": {
"default": 0,
"description": "Results to skip, for pagination (use next_offset from the previous page).",
"type": "integer",
"minimum": 0,
"maximum": 500
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"filters": {
"type": "object",
"properties": {
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"research_area": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"category",
"research_area"
],
"additionalProperties": false
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"also_known_as": {
"type": "array",
"items": {
"type": "string"
}
},
"categories": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
}
},
"required": [
"id",
"label"
],
"additionalProperties": false
}
},
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"research_topics": {
"type": "array",
"items": {
"type": "string"
}
},
"classification": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"fda_status": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"evidence": {
"type": "object",
"properties": {
"reviewed": {
"type": "boolean",
"description": "Whether the evidence has been checked against primary sources."
},
"level": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"level_label": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
}
},
"required": [
"reviewed",
"level",
"level_label"
],
"additionalProperties": false
},
"url": {
"type": "string"
}
},
"required": [
"id",
"name",
"also_known_as",
"categories",
"summary",
"research_topics",
"classification",
"fda_status",
"evidence",
"url"
],
"additionalProperties": false
}
},
"page": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"offset": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"next_offset": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"limit",
"offset",
"total",
"next_offset"
],
"additionalProperties": false
},
"library_url": {
"type": "string"
},
"source": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"name",
"url"
],
"additionalProperties": false
},
"disclaimer": {
"type": "string"
},
"retrieved_at": {
"type": "string"
}
},
"required": [
"query",
"filters",
"results",
"page",
"library_url",
"source",
"disclaimer",
"retrieved_at"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢get_peptide_details(peptide)
Full educational research profile for one peptide: classification, mechanism and targets, research areas, evidence by tier (regulatory label, controlled human trials, other human studies, secondary reports, animal and in-vitro research) with cited sources, safety and side effects, regulatory status (FDA, WADA), review dates and the canonical Peptide Library URL. Fields the profile lacks are "not_documented". Dose figures and administration instructions are never included.
输入模式
{
"type": "object",
"properties": {
"peptide": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$",
"description": "A peptide id (e.g. \"bpc-157\"), name, synonym or alias (e.g. \"PT-141\", \"Ozempic\")."
}
},
"required": [
"peptide"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"also_known_as": {
"type": "array",
"items": {
"type": "string"
}
},
"url": {
"type": "string"
},
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"research_areas": {
"type": "array",
"items": {
"type": "string"
}
},
"categories": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
}
},
"required": [
"id",
"label"
],
"additionalProperties": false
}
},
"classification": {
"type": "object",
"properties": {
"library_classification": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"mechanism_class": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"development_stage": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"regulatory_class": {
"type": "string"
}
},
"required": [
"library_classification",
"type",
"mechanism_class",
"development_stage",
"regulatory_class"
],
"additionalProperties": false
},
"mechanism": {
"type": "object",
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"targets": {
"type": "array",
"items": {
"type": "string"
}
},
"origin": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
}
},
"required": [
"description",
"targets",
"origin"
],
"additionalProperties": false
},
"properties": {
"type": "object",
"properties": {
"sequence": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"amino_acid_length": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"molecular_formula": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"molecular_weight": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"cas_number": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"half_life": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"studied_routes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"sequence",
"amino_acid_length",
"molecular_formula",
"molecular_weight",
"cas_number",
"half_life",
"studied_routes"
],
"additionalProperties": false
},
"evidence": {
"type": "object",
"properties": {
"reviewed": {
"type": "boolean"
},
"level": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"level_label": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"highest_documented": {
"type": "string"
},
"human_dosing_established": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"counts": {
"type": "object",
"properties": {
"human_trials": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"controlled_human_trials": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"secondary_reports": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"preclinical_sources": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"registered_trials_without_results": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"const": "not_documented"
}
]
}
},
"required": [
"human_trials",
"controlled_human_trials",
"secondary_reports",
"preclinical_sources",
"registered_trials_without_results"
],
"additionalProperties": false
},
"ladder": {
"type": "array",
"items": {
"type": "object",
"properties": {
"step": {
"type": "string"
},
"status": {
"type": "string"
},
"reviewed_sources": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"const": "not_documented"
}
]
}
},
"required": [
"step",
"status",
"reviewed_sources"
],
"additionalProperties": false
}
},
"latest_source_year": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"studies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"citation": {
"type": "string"
},
"tier": {
"type": "string",
"enum": [
"regulatory_label",
"human_controlled_trial",
"human_study",
"secondary_report",
"animal_or_lab",
"in_vitro"
]
},
"tier_label": {
"type": "string"
},
"study_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"population": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"sample_size": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"year": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"finding": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"analog_compound": {
"type": "boolean"
},
"limitations": {
"type": "array",
"items": {
"type": "string"
}
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
}
},
"required": [
"citation",
"tier",
"tier_label",
"study_type",
"population",
"sample_size",
"year",
"finding",
"analog_compound",
"limitations",
"url"
],
"additionalProperties": false
}
},
"registered_trials": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"id",
"url"
],
"additionalProperties": false
}
},
"how_to_read": {
"type": "string"
}
},
"required": [
"reviewed",
"level",
"level_label",
"highest_documented",
"human_dosing_established",
"counts",
"ladder",
"latest_source_year",
"studies",
"registered_trials",
"how_to_read"
],
"additionalProperties": false
},
"safety": {
"type": "object",
"properties": {
"side_effects": {
"type": "array",
"items": {
"type": "string"
}
},
"risks": {
"type": "array",
"items": {
"type": "string"
}
},
"contraindications": {
"type": "array",
"items": {
"type": "string"
}
},
"human_safety_basis": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"key_limitations": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"side_effects",
"risks",
"contraindications",
"human_safety_basis",
"key_limitations"
],
"additionalProperties": false
},
"regulatory": {
"type": "object",
"properties": {
"fda_status": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"wada_status": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"availability": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"statement": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"conflict": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
}
},
"required": [
"fda_status",
"wada_status",
"availability",
"statement",
"conflict"
],
"additionalProperties": false
},
"references": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"label",
"url"
],
"additionalProperties": false
}
},
"review": {
"type": "object",
"properties": {
"content_reviewed_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"evidence_last_reviewed": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
},
"last_updated": {
"anyOf": [
{
"type": "string"
},
{
"type": "string",
"const": "not_documented"
}
]
}
},
"required": [
"content_reviewed_at",
"evidence_last_reviewed",
"last_updated"
],
"additionalProperties": false
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"source": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"name",
"url"
],
"additionalProperties": false
},
"disclaimer": {
"type": "string"
},
"retrieved_at": {
"type": "string"
}
},
"required": [
"id",
"name",
"also_known_as",
"url",
"summary",
"research_areas",
"categories",
"classification",
"mechanism",
"properties",
"evidence",
"safety",
"regulatory",
"references",
"review",
"notes",
"source",
"disclaimer",
"retrieved_at"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢compare_peptides(peptides, dimensions)
Side-by-side research comparison of 2-3 peptides on structured profile fields: mechanism and targets, research areas, evidence level and human-trial availability, safety and side effects, FDA/WADA status, half-life and studied routes, with references. Each row says whether the values are the same, different, partial, not comparable or incomplete; missing data is never filled in and the comparison never ranks peptides. Suitable for tables. No dosing information.
输入模式
{
"type": "object",
"properties": {
"peptides": {
"minItems": 2,
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$",
"description": "A peptide id (e.g. \"bpc-157\"), name, synonym or alias (e.g. \"PT-141\", \"Ozempic\")."
},
"description": "2 or 3 peptide ids, names or aliases to compare."
},
"dimensions": {
"description": "Which comparison sections to return (default: all).",
"minItems": 1,
"maxItems": 5,
"type": "array",
"items": {
"type": "string",
"enum": [
"overview",
"mechanism",
"research",
"safety",
"pk_and_routes"
]
}
}
},
"required": [
"peptides"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"peptides": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"id",
"name",
"url"
],
"additionalProperties": false
}
},
"dimensions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"rows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"same",
"partial",
"different",
"not-comparable",
"incomplete",
"empty"
]
},
"shared": {
"type": "array",
"items": {
"type": "string"
}
},
"values": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "string"
}
},
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"label",
"url"
],
"additionalProperties": false
}
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"missing_label": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"key",
"label",
"status",
"shared",
"values",
"missing_label"
],
"additionalProperties": false
}
}
},
"required": [
"id",
"label",
"rows"
],
"additionalProperties": false
}
},
"insights": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string"
},
"title": {
"type": "string"
},
"body": {
"type": "string"
}
},
"required": [
"kind",
"title",
"body"
],
"additionalProperties": false
}
},
"how_to_read": {
"type": "string"
},
"compare_url": {
"type": "string"
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"source": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"name",
"url"
],
"additionalProperties": false
},
"disclaimer": {
"type": "string"
},
"retrieved_at": {
"type": "string"
}
},
"required": [
"peptides",
"dimensions",
"insights",
"how_to_read",
"compare_url",
"notes",
"source",
"disclaimer",
"retrieved_at"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢search_research(query, types, limit)
Search Peptide Library's own educational content: the site FAQ, per-peptide FAQs, published articles and free courses. Returns titles, short snippets and links with source attribution (no full text, no third-party articles). Dosing, reconstitution and injection guides, and content about buying, vendors or prices, are excluded.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$",
"description": "What to look for in Peptide Library's educational content, e.g. \"GLP-1 mechanism\", \"what is a half-life\"."
},
"types": {
"description": "Content types to search (default: all): site FAQ, per-peptide FAQ, articles, courses.",
"minItems": 1,
"maxItems": 4,
"type": "array",
"items": {
"type": "string",
"enum": [
"faq",
"peptide_faq",
"article",
"course"
]
}
},
"limit": {
"default": 5,
"description": "Results to return (1-10).",
"type": "integer",
"minimum": 1,
"maximum": 10
}
},
"required": [
"query"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"query": {
"type": "string"
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"faq",
"peptide_faq",
"article",
"course"
]
},
"source_label": {
"type": "string"
},
"title": {
"type": "string"
},
"snippet": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"type": "string"
},
"peptide_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"updated_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"type",
"source_label",
"title",
"snippet",
"url",
"peptide_id",
"updated_at"
],
"additionalProperties": false
}
},
"total_matches": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"unavailable_sources": {
"type": "array",
"items": {
"type": "string",
"enum": [
"faq",
"peptide_faq",
"article",
"course"
]
}
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"source": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"name",
"url"
],
"additionalProperties": false
},
"disclaimer": {
"type": "string"
},
"retrieved_at": {
"type": "string"
}
},
"required": [
"query",
"results",
"total_matches",
"unavailable_sources",
"notes",
"source",
"disclaimer",
"retrieved_at"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢get_peptide_categories
List the Peptide Library research categories (e.g. GLP-1/Metabolic, Cognitive, Longevity) with a description, the number of profiles and every profile in each, with links. Use a category id with search_peptides to filter.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"categories": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"description": {
"type": "string"
},
"peptide_count": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"url": {
"type": "string"
},
"peptides": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"id",
"name",
"url"
],
"additionalProperties": false
}
}
},
"required": [
"id",
"label",
"description",
"peptide_count",
"url",
"peptides"
],
"additionalProperties": false
}
},
"note": {
"type": "string"
},
"source": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"name",
"url"
],
"additionalProperties": false
},
"disclaimer": {
"type": "string"
},
"retrieved_at": {
"type": "string"
}
},
"required": [
"categories",
"note",
"source",
"disclaimer",
"retrieved_at"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢get_research_trends
This week's most-researched peptides in the Peptide Library community (Trending Now, last 7 days): rank, share of researchers and growth as percentages, with what moved. Aggregate and privacy-preserving: no head counts, no individual activity, small cohorts suppressed. Popularity is not evidence of safety or effectiveness.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"ready",
"not_enough_data"
]
},
"board": {
"type": "string"
},
"period": {
"type": "string"
},
"window": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"share_means": {
"type": "string"
},
"rows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rank": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"peptide_id": {
"type": "string"
},
"name": {
"type": "string"
},
"full_name": {
"type": "string"
},
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"share": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"growth": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"movement": {
"type": "string"
},
"description": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"rank",
"peptide_id",
"name",
"full_name",
"category",
"share",
"growth",
"movement",
"description",
"url"
],
"additionalProperties": false
}
},
"methodology": {
"type": "array",
"items": {
"type": "object",
"properties": {
"heading": {
"type": "string"
},
"body": {
"type": "string"
}
},
"required": [
"heading",
"body"
],
"additionalProperties": false
}
},
"more": {
"type": "string"
},
"trends_url": {
"type": "string"
},
"source": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"name",
"url"
],
"additionalProperties": false
},
"disclaimer": {
"type": "string"
},
"retrieved_at": {
"type": "string"
}
},
"required": [
"status",
"board",
"period",
"window",
"as_of",
"share_means",
"rows",
"methodology",
"more",
"trends_url",
"source",
"disclaimer",
"retrieved_at"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢convert_units(amount, from, to, peptide)
Convert an amount between mg and mcg exactly. IU ↔ mass conversion only works with a peptide whose profile documents an IU-per-mg factor (pass `peptide`); otherwise the result is an iu_factor_missing issue, never an assumed factor. Pure arithmetic: not a dosing recommendation.
输入模式
{
"type": "object",
"properties": {
"amount": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 32
}
],
"description": "The amount to convert. A number; \"2,5\" and \"2.5\" both work."
},
"from": {
"type": "string",
"enum": [
"mg",
"mcg",
"IU"
],
"description": "Unit of the amount (mg, mcg or IU)."
},
"to": {
"type": "string",
"enum": [
"mg",
"mcg",
"IU"
],
"description": "Unit to convert to (mg, mcg or IU)."
},
"peptide": {
"description": "Peptide whose documented IU factor to use (only needed for IU).",
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$"
}
},
"required": [
"amount",
"from",
"to"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"ok",
"incomplete",
"error"
]
},
"input": {
"type": "object",
"properties": {
"amount": {
"type": "string"
},
"unit": {
"type": "string",
"enum": [
"mg",
"mcg",
"IU"
]
}
},
"required": [
"amount",
"unit"
],
"additionalProperties": false
},
"result": {
"anyOf": [
{
"type": "object",
"properties": {
"amount": {
"type": "string"
},
"unit": {
"type": "string",
"enum": [
"mg",
"mcg",
"IU"
]
},
"display": {
"type": "string"
}
},
"required": [
"amount",
"unit",
"display"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"iu_factor": {
"anyOf": [
{
"type": "object",
"properties": {
"iu_per_mg": {
"type": "number"
},
"peptide_id": {
"type": "string"
},
"peptide_name": {
"type": "string"
},
"source_url": {
"type": "string"
}
},
"required": [
"iu_per_mg",
"peptide_id",
"peptide_name",
"source_url"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"issues": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"severity": {
"type": "string",
"enum": [
"error",
"warning",
"info"
]
},
"field": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"message": {
"type": "string"
}
},
"required": [
"code",
"severity",
"field",
"message"
],
"additionalProperties": false
}
},
"note": {
"type": "string"
},
"source": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"name",
"url"
],
"additionalProperties": false
},
"disclaimer": {
"type": "string"
},
"retrieved_at": {
"type": "string"
}
},
"required": [
"status",
"input",
"result",
"iu_factor",
"issues",
"note",
"source",
"disclaimer",
"retrieved_at"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢solution_concentration(amount, unit, volume_ml, peptide)
Concentration of an amount dissolved in a volume of liquid (amount ÷ volume), as mg/mL, mcg/mL and, with a peptide's documented factor, IU/mL. Pure arithmetic on the given numbers: it does not suggest amounts, volumes or how to prepare anything.
输入模式
{
"type": "object",
"properties": {
"amount": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 32
}
],
"description": "Amount of substance. A number; \"2,5\" and \"2.5\" both work."
},
"unit": {
"type": "string",
"enum": [
"mg",
"mcg",
"IU"
],
"description": "Unit of the amount (mg, mcg or IU)."
},
"volume_ml": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 32
}
],
"description": "Volume of liquid, in mL. A number; \"2,5\" and \"2.5\" both work."
},
"peptide": {
"description": "Optional: peptide whose documented IU factor to use for IU/mL.",
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$"
}
},
"required": [
"amount",
"unit",
"volume_ml"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"ok",
"incomplete",
"error"
]
},
"concentration": {
"anyOf": [
{
"type": "object",
"properties": {
"amount_per_ml": {
"type": "string"
},
"unit": {
"type": "string"
},
"display": {
"type": "string"
},
"alternates": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"amount_per_ml",
"unit",
"display",
"alternates"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"iu_factor": {
"anyOf": [
{
"type": "object",
"properties": {
"iu_per_mg": {
"type": "number"
},
"peptide_id": {
"type": "string"
},
"peptide_name": {
"type": "string"
},
"source_url": {
"type": "string"
}
},
"required": [
"iu_per_mg",
"peptide_id",
"peptide_name",
"source_url"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"issues": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"severity": {
"type": "string",
"enum": [
"error",
"warning",
"info"
]
},
"field": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"message": {
"type": "string"
}
},
"required": [
"code",
"severity",
"field",
"message"
],
"additionalProperties": false
}
},
"missing": {
"type": "array",
"items": {
"type": "string"
}
},
"note": {
"type": "string"
},
"source": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"name",
"url"
],
"additionalProperties": false
},
"disclaimer": {
"type": "string"
},
"retrieved_at": {
"type": "string"
}
},
"required": [
"status",
"concentration",
"iu_factor",
"issues",
"missing",
"note",
"source",
"disclaimer",
"retrieved_at"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢blend_concentrations(volume_ml, components)
For several components dissolved together in one volume: each component's concentration and its share of the blend by amount. Arithmetic only; it says nothing about whether components can or should be combined.
输入模式
{
"type": "object",
"properties": {
"volume_ml": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 32
}
],
"description": "Total volume of liquid, in mL. A number; \"2,5\" and \"2.5\" both work."
},
"components": {
"minItems": 1,
"maxItems": 8,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"description": "Component label, e.g. a peptide name."
},
"amount": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 32
}
],
"description": "Amount of this component. A number; \"2,5\" and \"2.5\" both work."
},
"unit": {
"type": "string",
"enum": [
"mg",
"mcg",
"IU"
],
"description": "Unit of the amount (mg, mcg or IU)."
},
"peptide": {
"description": "Optional: peptide whose documented IU factor to use.",
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$"
}
},
"required": [
"name",
"amount",
"unit"
],
"additionalProperties": false
}
}
},
"required": [
"volume_ml",
"components"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"ok",
"incomplete",
"error"
]
},
"volume_ml": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"share_unit": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"components": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"amount": {
"type": "string"
},
"unit": {
"type": "string",
"enum": [
"mg",
"mcg",
"IU"
]
},
"concentration": {
"type": "string"
},
"alternates": {
"type": "array",
"items": {
"type": "string"
}
},
"share_of_blend": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"name",
"amount",
"unit",
"concentration",
"alternates",
"share_of_blend"
],
"additionalProperties": false
}
},
"issues": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"severity": {
"type": "string",
"enum": [
"error",
"warning",
"info"
]
},
"field": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"message": {
"type": "string"
}
},
"required": [
"code",
"severity",
"field",
"message"
],
"additionalProperties": false
}
},
"missing": {
"type": "array",
"items": {
"type": "string"
}
},
"note": {
"type": "string"
},
"source": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"name",
"url"
],
"additionalProperties": false
},
"disclaimer": {
"type": "string"
},
"retrieved_at": {
"type": "string"
}
},
"required": [
"status",
"volume_ml",
"share_unit",
"components",
"issues",
"missing",
"note",
"source",
"disclaimer",
"retrieved_at"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢cost_per_amount(price, currency, package_count, amount_per_package, amount_unit, ...)
Price arithmetic for a purchase: total cost (price plus optional shipping) and cost per mg, per mcg and (with a peptide's documented factor) per IU. Uses only the numbers given; it never estimates prices or shipping and converts no currencies.
输入模式
{
"type": "object",
"properties": {
"price": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 32
}
],
"description": "Price paid for the product, in major units (e.g. 49.99). A number; \"2,5\" and \"2.5\" both work."
},
"currency": {
"default": "USD",
"description": "ISO currency code of the price (no conversion is done).",
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"package_count": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 32
}
],
"description": "Number of vials or packages bought for that price. A number; \"2,5\" and \"2.5\" both work."
},
"amount_per_package": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 32
}
],
"description": "Amount in each vial or package. A number; \"2,5\" and \"2.5\" both work."
},
"amount_unit": {
"type": "string",
"enum": [
"mg",
"mcg",
"IU"
],
"description": "Unit of the amount per package (mg, mcg or IU)."
},
"shipping": {
"anyOf": [
{
"type": "number"
},
{
"type": "string",
"maxLength": 32
}
],
"description": "Optional one-time shipping cost, same currency. A number; \"2,5\" and \"2.5\" both work."
},
"peptide": {
"description": "Optional: peptide whose documented IU factor to use for cost per IU.",
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[^\\u0000-\\u001f\\u007f]*$"
}
},
"required": [
"price",
"amount_per_package",
"amount_unit"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"ok",
"incomplete",
"error"
]
},
"currency": {
"type": "string"
},
"total_cost": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"total_amount": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"cost_per_amount_unit": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"cost_per_unit": {
"type": "object",
"properties": {
"mg": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mcg": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"IU": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"mg",
"mcg",
"IU"
],
"additionalProperties": false
},
"iu_factor": {
"anyOf": [
{
"type": "object",
"properties": {
"iu_per_mg": {
"type": "number"
},
"peptide_id": {
"type": "string"
},
"peptide_name": {
"type": "string"
},
"source_url": {
"type": "string"
}
},
"required": [
"iu_per_mg",
"peptide_id",
"peptide_name",
"source_url"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"issues": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"severity": {
"type": "string",
"enum": [
"error",
"warning",
"info"
]
},
"field": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"message": {
"type": "string"
}
},
"required": [
"code",
"severity",
"field",
"message"
],
"additionalProperties": false
}
},
"missing": {
"type": "array",
"items": {
"type": "string"
}
},
"note": {
"type": "string"
},
"source": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"name",
"url"
],
"additionalProperties": false
},
"disclaimer": {
"type": "string"
},
"retrieved_at": {
"type": "string"
}
},
"required": [
"status",
"currency",
"total_cost",
"total_amount",
"cost_per_amount_unit",
"cost_per_unit",
"iu_factor",
"issues",
"missing",
"note",
"source",
"disclaimer",
"retrieved_at"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}社区
证据