MCP.so
登录

MCP Knowledge Base Reader

@fmicalizzi

基本信息

分类

记忆与知识

传输方式

stdio

作者

fmicalizzi

关于 MCP Knowledge Base Reader

MCP server for reading JSON knowledge bases without modifications

MCP Knowledge Base Reader 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

MCP Knowledge Base Reader 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Knowledge Base Reader?

It is a Model Context Protocol (MCP) server that reads a structured JSON knowledge base and makes its information available to Claude or other LLMs. It is designed for users who want to provide a curated, static knowledge base to an AI assistant without modifying the underlying data.

How to use MCP Knowledge Base Reader?

Install Node.js 18 or higher, clone the repository, install dependencies, and compile the TypeScript code (npm run build). Then configure it in your MCP client (e.g., Claude Desktop) by adding an entry to claude_desktop_config.json with the compiled script path and the KNOWLEDGE_BASE_PATH environment variable set to the absolute path of your JSON file. After configuration, the server’s tools become available for the LLM to call.

Key features of MCP Knowledge Base Reader

  • Reads structured JSON knowledge bases
  • Searches entries by keyword in title, content, and tags
  • Retrieves a specific entry by its ID
  • Filters entries by category or tags
  • Finds related entries for a given entry
  • Provides statistics on the knowledge base
  • Purely read-only; never modifies the JSON file

Use cases of MCP Knowledge Base Reader

  • A Claude assistant that answers questions using a curated company knowledge base
  • Searching for definitions or procedures by keyword in a reference database
  • Exploring entries within a specific category (e.g., “introduction to MCP”)
  • Finding related topics after reviewing an entry
  • Getting an overview of the knowledge base structure and content

常见问题

1

What are the runtime requirements?

Node.js 18 or higher and npm or yarn are required.

2

How do I configure the server for Claude Desktop?

Add an entry to `claude_desktop_config.json` with the command set to `node`, args pointing to the absolute path of the compiled `dist/index.js`, and the environment variable `KNOWLEDGE_BASE_PATH` set to the absolute path of your JSON knowledge base file.

3

Why do I get a “Server disconnected” error?

This usually happens when paths are not absolute or incorrect, the compiled JavaScript file doesn’t exist at the specified location, or the user lacks execution permissions. Verify all paths and permissions.

4

Does the server modify my JSON knowledge base?

No. The server operates in read-only mode. It only retrieves information and never writes to the JSON file.

5

What tools does the server expose?

It exposes seven tools: `read_knowledge_base`, `search_entries`, `get_entry_by_id`, `get_entries_by_category`, `get_entries_by_tags`, `get_related_entries`, and `get_knowledge_stats`.

评论

记忆与知识 分类下的更多 MCP 服务器