Onchain Diary
Search and read Web3 security education articles and a 230-term glossary from Onchain Diary.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"onchain-diary": {
"url": "https://theonchaindiary.com/api/mcp"
}
}
}Remote endpoints
https://theonchaindiary.com/api/mcpstreamable-httpWhat it can do
Tool inventory
Tools (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.
Input Schema
{
"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/...).
Input Schema
{
"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.
Input Schema
{
"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).
Input Schema
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"articles",
"glossary"
],
"description": "Which catalog to list (default: articles)"
}
}
}Community
Evidence