SuperAPIAI Directory

ragie-mcp-server

github.com · AI developer platforms

Retrieve context from your Ragie knowledge base, connected to sources like Google Drive, Notion and Jira.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · API

About this tool

Ragie MCP Server is a Model Context Protocol (MCP) server designed to provide AI models with access to Ragie knowledge base retrieval capabilities. It implements the MCP protocol, enabling AI models to retrieve information from the Ragie knowledge base.

Purpose: This server provides a tool named retrieve, which allows querying the knowledge base to obtain relevant information. It is suitable for scenarios that require integrating the Ragie knowledge base into MCP-enabled AI applications (such as Cursor and Claude Desktop).

Main capabilities: The retrieve tool accepts the following parameters: query (string, search query), topK (number, optional, default 8, maximum number of results returned), rerank (boolean, optional, default true, whether to try to find only the most relevant information), recencyBias (boolean, optional, default false, whether to favor newer information). The tool returns an array of content blocks containing matching text from the knowledge base.

Usage: The server requires the environment variable RAGIE_API_KEY (required), which is the Ragie API authentication key. After the server starts, it listens for MCP protocol messages via stdio. It can be installed and run using npx. It supports command-line options: --description or -d <text> to override the default tool description; --partition or -p <id> to specify the Ragie partition ID to query.

Configuration examples:

  • Cursor: You can create an mcp.json file (project-level .cursor/mcp.json or global ~/.cursor/mcp.json), or use the shell script ragie-mcp.sh (requires chmod +x), and then add the MCP server in Cursor settings.
  • Claude Desktop: Create claude_desktop_config.json (MacOS path ~/Library/Application Support/Claude/claude_desktop_config.json, Windows path %APPDATA%/Claude/claude_desktop_config.json), restart Claude Desktop and then you can use the Ragie retrieval tool in conversations.

Development: The project uses TypeScript, with main dependencies on @modelcontextprotocol/sdk, ragie, and zod. It supports running in development mode and building. The license is MIT.

Limitations: This project is no longer needed because Ragie now natively supports MCP (streamable HTTP server), see the official documentation for details. If you want users within your company to access the knowledge base in applications such as Claude or ChatGPT, an MCP Bridge may be needed.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools