← shanhai.dev

INDIVIDUAL MCP TOOL

stats

返回本数据集的现算规模(多少经/条目/实体/关系、各类实体计数、人审背书与待裁数)与开放边界,并附第三方时间戳存证信息。Use this when 用户问「你有多少数据」「覆盖到哪」「可信度怎么核」。

shanhai.devnone authenticationAvailability not checked

LIVE ENDPOINT

https://shanhai.dev/mcp

No auth detected

Connect to this endpoint to inspect the live schema for stats and invoke it with your own arguments.

Indexed input schema

{}

Risk classification

Inferred read-only · medium confidence · heuristic, not a guarantee.

  • No write-capable action terms were found; this is not proof that invocation has no side effects.

Parent server

shanhai.dev

CONNECT WITH APPROVAL

Client installation

Review this server and its permissions before adding it. Secret placeholders must be set locally.

Codex

~/.codex/config.toml

[mcp_servers.shanhai]
url = "https://shanhai.dev/mcp"
enabled = true
Claude Code

.mcp.json

{
  "mcpServers": {
    "shanhai": {
      "type": "http",
      "url": "https://shanhai.dev/mcp"
    }
  }
}
Claude Desktop

Settings → Connectors → Add custom connector

Name: shanhai
Remote MCP URL: https://shanhai.dev/mcp

Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.

Cursor

.cursor/mcp.json

{
  "mcpServers": {
    "shanhai": {
      "url": "https://shanhai.dev/mcp"
    }
  }
}
Visual Studio Code

.vscode/mcp.json

Add to Visual Studio Code
{
  "servers": {
    "shanhai": {
      "type": "http",
      "url": "https://shanhai.dev/mcp"
    }
  }
}
Generic MCP

Client-specific MCP configuration

{
  "name": "shanhai",
  "transport": "streamable-http",
  "url": "https://shanhai.dev/mcp"
}
MCP Inspector

Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.

Related tools

  • search — 按关键词检索《山海经》的实体(山/水/怪/植/神/国/人…)与正文条目,返回可 fetch 的 id 与可引用的 url。Use this when 用户问某个山、兽、水、神、国的出处,或想找原文里提到某物的段落。支持中文名、异体字、经名(如「南山經」)。
  • fetch — 按 id 取一条的完整内容。实体 id(含点,如 shan.nanci1.zhaoyao)返回形貌/功效/征兆/异文/关系/存证;正文条目 id(l1:<经>#<条目>,如 l1:南山經#招搖山)返回原文、郭璞注、异文、待校、五版书影页。Use this after search,或用户已给出明确 id。
  • by_name — 按**确切名字**取实体,把同名异物一次摊开。Use this when 用户给了一个名字而你需要知道它在库中是几条(如「九尾狐」在南山經/海外東經/大荒東經各是一条,各有各的出处与 id,不可合并)。名字不确定时先用 search。
  • neighbors — 取一实体的全部关系边(产/行进/发源/注入/方位/望/临/司掌/居/生/配/葬/化/杀),每条带对方 id、类型与出处。Use this when 用户问「这山出什么」「这水注入哪」「谁镇守此山」「某神的世系」,或你要顺着图谱往下走。
  • jing — 不给参数=列全部 18 经及各经条目数与人审进度;给经名=列该经全部条目(含 id、背书态、首句),据此再 fetch 具体条目。Use this when 用户问「某经讲了什么」「有哪些山」,或你要按顺序读一经——比一次取整经省得多。