Onchain Diary
Search and read Web3 security education articles and a 230-term glossary from Onchain Diary.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"onchain-diary": {
"url": "https://theonchaindiary.com/api/mcp"
}
}
}远程端点
https://theonchaindiary.com/api/mcpstreamable-http它能做什么
工具清单
工具(4)
🟢search(query, lang, type)
Search Onchain Diary articles and glossary terms (Web3 security education, EN/ZH). Returns the top matches with title, URL and short description. Use this first to discover relevant content.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search keywords, e.g. \"wallet drainer\", \"地址投毒\", \"permit2 phishing\""
},
"lang": {
"type": "string",
"enum": [
"en",
"zh"
],
"description": "Optional: restrict results to one language"
},
"type": {
"type": "string",
"enum": [
"article",
"glossary"
],
"description": "Optional: restrict results to one content type"
}
},
"required": [
"query"
]
}🟢read_article(slug)
Read the full markdown text of one article. Accepts the article slug (e.g. "wallet-drainer-anatomy") or its site path (/articles/... or /zh/articles/...).
输入模式
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "Article slug or path"
}
},
"required": [
"slug"
]
}🟢read_glossary(slug)
Read one glossary term: full English definition plus the Chinese translation (译名 + 中文定义). Accepts the term slug (e.g. "address-poisoning") or its site path.
输入模式
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "Glossary term slug or path"
}
},
"required": [
"slug"
]
}🟢list_content(type)
List the table of contents: all articles (grouped by language, newest first) or all glossary terms (grouped by category).
输入模式
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"articles",
"glossary"
],
"description": "Which catalog to list (default: articles)"
}
}
}社区
证据