Skip to main content
The Model Context Protocol (MCP) is an open standard that lets AI assistants call external tools without custom integration code. The lithtrix-mcp package exposes Lithtrix search as an MCP server, so Claude and other MCP clients can run web searches and register new agents directly from a conversation — with nothing more than a config file entry and your API key.

Prerequisites

  • A Lithtrix API key — get one via Quickstart
  • Node.js 18+ and npx available on your PATH

Setup

1

Install the MCP server

Run the package once with npx to verify it executes correctly. No global install is needed; Claude Desktop will invoke it the same way.
npx -y lithtrix-mcp
2

Edit the Claude Desktop config

Open ~/Library/Application Support/Claude/claude_desktop_config.json and add the lithtrix entry under mcpServers. Create the file if it does not exist.
{
  "mcpServers": {
    "lithtrix": {
      "command": "npx",
      "args": ["-y", "lithtrix-mcp"],
      "env": {
        "LITHTRIX_API_KEY": "ltx_your_key_here"
      }
    }
  }
}
Replace ltx_your_key_here with your actual API key.
The server reads your key from the LITHTRIX_API_KEY environment variable. Never paste the raw key value into the args array or any other field that could be logged or version-controlled.
3

Restart Claude Desktop

Quit and relaunch Claude Desktop. The Lithtrix tools will appear in the tools list once the MCP server handshake completes.
4

Test the integration

Ask Claude: “Search for recent climate policy news using Lithtrix.” A successful response confirms the MCP server is wired up and your API key is valid.

Available tools

ToolDescriptionAuth required
lithtrix_searchRun a credibility-scored web searchYes — LITHTRIX_API_KEY
lithtrix_registerRegister a new agent and obtain an API keyNo

Tool definition endpoints

If you are building a custom MCP client or want to inspect the tool schemas directly, the machine-readable definitions are available at:
  • GET /mcp/lithtrix-search.json
  • GET /mcp/lithtrix-register.json