# Give LibreChat access to your knowledge base

LibreChat can connect to external tools and data through [MCP servers](https://www.knowman.io/guides/mcp-server-knowledge-base) in chats and agents, and KnowMan provides a hosted MCP server at https://api.knowman.io/mcp. [LibreChat’s MCP documentation](https://www.librechat.ai/docs/features/mcp) explains how to attach servers; [KnowMan’s MCP setup](https://github.com/Essatt/knowman-mcp) supports OAuth or an API key.

## What LibreChat does with MCP

LibreChat connects to external tools and data through [Model Context Protocol](https://www.knowman.io/guides/what-is-an-mcp-server) (MCP) servers in chats and agents. MCP is an open standard for exposing tools to a model, and a server can provide access to a filesystem, browser, database, or company API.

LibreChat can use any server that speaks MCP. In a regular chat, users can open the composer’s Attach and tools palette, find MCP Servers, and enable servers for the conversation. LibreChat makes each enabled server’s tools available to the model.

## Connect a knowledge base through KnowMan MCP

KnowMan provides a hosted remote MCP server at https://api.knowman.io/mcp. It supports OAuth sign-in through a KnowMan consent page or an API key sent as an Authorization bearer header.

For OAuth-capable MCP clients, the documented setup is to add the server URL, [sign in](https://www.knowman.io/guides/personal-knowledge-base), and approve access. The KnowMan MCP setup documents these connection methods; consult [the MCP server guide](https://www.knowman.io/guides/mcp-server-knowledge-base) for more about connecting a knowledge base to an [AI client](https://www.knowman.io/guides/connect-any-ai-to-your-notes).

## What KnowMan makes available

KnowMan’s MCP server exposes tools to search [saved items](https://www.knowman.io/guides/how-to-save-articles), [ask questions](https://www.knowman.io/guides/ai-knowledge-base), retrieve an item, save a link, view recent items, and read saved memories. The tool list is documented in the KnowMan MCP project.

KnowMan saves articles and links, reads and tags them, answers questions with citations, and keeps memories such as claims, decisions, and playbooks. Its MCP tools include search, question, and memory tools.

## Use the tools in a chat or agent

In a regular LibreChat conversation, enable KnowMan from the composer’s MCP Servers palette. LibreChat allows several MCP servers to be enabled for one conversation.

In Agent Builder, add an MCP server and choose which of its exposed tools the agent receives. LibreChat documents this tool selection for agents. Choose a model that supports tool calls, because LibreChat says models without tool-call support will not call MCP tools.

## Where KnowMan fits

LibreChat provides the chat and agent surface; KnowMan provides access to your personal [saved reading](https://www.knowman.io/guides/ai-article-saver) and memories through MCP. KnowMan’s tools cover searching, asking, reading, saving, recent items, and memories.

KnowMan is built for one person’s library today. For more on personal knowledge bases and AI context, see [personal knowledge bases](https://www.knowman.io/guides/personal-knowledge-base) and [connecting an AI to your notes](https://www.knowman.io/guides/connect-any-ai-to-your-notes).

## Questions

### How does LibreChat connect to a knowledge base?

LibreChat connects to external tools and data through MCP servers. Add a compatible server, then enable it in a chat or select its tools for an agent. LibreChat documents both paths.

### How can I connect KnowMan to LibreChat?

KnowMan’s hosted MCP server is at https://api.knowman.io/mcp. For clients with MCP OAuth, add the URL, sign in, and approve access; KnowMan also accepts an API key as a bearer header. KnowMan documents these setup options.

### What can KnowMan do through MCP?

KnowMan exposes tools for searching saved items, asking questions, retrieving and saving items, viewing recent items, and reading memories. These tools are listed in the KnowMan MCP project.

### Why might an MCP tool not be called?

The model used with MCP servers must support tool calls. LibreChat notes that a model without tool-call support will not call the server’s tools.

## Related guides

- [Connect your knowledge base through KnowMan's MCP server](https://www.knowman.io/guides/mcp-server-knowledge-base)

- [What is a personal knowledge base, and how do you build one?](https://www.knowman.io/guides/personal-knowledge-base)

- [How Do You Connect AI to Your Notes?](https://www.knowman.io/guides/connect-any-ai-to-your-notes)

- [What Is a Knowledge Base for AI Agents?](https://www.knowman.io/guides/knowledge-base-for-ai-agents)

## More in this topic

- [Company brain vs knowledge base vs enterprise search](https://www.knowman.io/guides/company-brain-vs-knowledge-base-vs-enterprise-search)
- [Add a personal knowledge base to LM Studio](https://www.knowman.io/guides/lm-studio-knowledge-base)
- [Open WebUI and your knowledge base](https://www.knowman.io/guides/open-webui-knowledge-base)

## More for LibreChat

- [Add the KnowMan MCP server to LibreChat](https://www.knowman.io/integrations/librechat)
- [How to give LibreChat better memory](https://www.knowman.io/guides/librechat-memory)
- [How to teach LibreChat your knowledge](https://www.knowman.io/guides/teach-librechat-your-knowledge)

## Give your chats a personal library

Try KnowMan Pro for 14 days with no credit card. [Create your account](https://app.knowman.io/signup)

[Start free](https://app.knowman.io/signup)

Every new account starts with 14 days of Pro. No credit card.

Source: https://www.knowman.io/guides/librechat-knowledge-base
