MCP.so
登录

MCP Knowledge Base Reader

@fmicalizzi

关于 MCP Knowledge Base Reader

MCP server for reading JSON knowledge bases without modifications

基本信息

分类

记忆与知识

运行时

node

传输方式

stdio

发布者

fmicalizzi

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

工具是从 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

FAQ from MCP Knowledge Base Reader

What are the runtime requirements?

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

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.

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.

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.

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 服务器