按编、章、条逐级浏览《中华人民共和国民法典》结构,并获取指定条文原文。
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add liuxc1024 -- npx -y @jjfather/civil-code-of-china-mcp~/.codex/config.toml
[mcp_servers.liuxc1024]
command = "npx"
args = ["-y", "@jjfather/civil-code-of-china-mcp"]
# codex mcp add liuxc1024 -- npx -y @jjfather/civil-code-of-china-mcp~/.cursor/mcp.json
{
"mcpServers": {
"liuxc1024": {
"command": "npx",
"args": [
"-y",
"@jjfather/civil-code-of-china-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"liuxc1024": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@jjfather/civil-code-of-china-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"liuxc1024": {
"command": "npx",
"args": [
"-y",
"@jjfather/civil-code-of-china-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"liuxc1024": {
"command": "npx",
"args": [
"-y",
"@jjfather/civil-code-of-china-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"liuxc1024": {
"command": "npx",
"args": [
"-y",
"@jjfather/civil-code-of-china-mcp"
]
}
}
}