EveryDev.ai
Subscribe
Home
Tools

5,179+ AI tools

  • New
  • Trending
  • Featured
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents2651
  • Coding1951
  • Infrastructure911
  • Projects728
  • Research651
  • MCP627
  • Analytics503
  • Marketing497
  • Design426
  • Testing416
  • Data380
  • Security334
  • Integration262
  • Communication252
  • Prompts252
  • Extensions222
  • Voice172
  • Commerce171
  • DevOps171
  • Web123
  • Learning114
  • Finance35
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai ©
    1. Home
    2. Tools
    3. ToolRAG
    ToolRAG icon

    ToolRAG

    MCP Tools
    Featured

    TypeScript library that uses semantic search over MCP tool definitions to give LLMs only the tools relevant to each query.

    Visit Website

    At a Glance

    Pricing
    Open Source

    ToolRAG core library released under the Apache License 2.0; free to use, modify and distribute. Embedding providers (OpenAI, Google) and LLM usage are external costs.

    Engagement

    Available On

    SDK

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    MCP ToolsRetrieval-Augmented GenerationAI Development Libraries

    Alternatives

    Tool Definition Quality Score (TDQS)PencilMCP Inspector
    Developer
    Antonio MouraSoftware Engineer who has founded companies and led engineer…

    Listed Oct 2026

    About ToolRAG

    ToolRAG is an open-source TypeScript library published by the GitHub user antl3x. It connects to Model Context Protocol (MCP) servers, embeds their tool definitions, and returns only the tools relevant to a user query, formatted as OpenAI function definitions. The project is licensed under Apache 2.0.

    What It Is

    ToolRAG applies a retrieval-augmented generation approach to tool selection. Instead of passing every function definition to a language model, it stores tool definitions and their vector embeddings, then retrieves the best matches for each query. The README says this lets developers work with an unlimited number of tools while avoiding context window limits, extra token costs, and the performance drop that comes from overloading a model with definitions.

    How the Workflow Runs

    A developer initializes ToolRAG with a list of MCP server URLs. ToolRAG registers the tools those servers expose and generates embeddings from tool descriptions and parameters, using OpenAI or Google embedding providers. When a query arrives, listTools(query) returns the most relevant tools through cosine similarity search. These can be passed to an LLM call such as the OpenAI Responses API. The function calls the model returns are then run with callTool, which executes them against the matching MCP servers.

    Architecture and Configuration

    Tool definitions and embeddings are stored in a LibSQL database. Configuration options include the embedding provider, customizable relevance thresholds, and database settings for persistence. The README lists multi-tool AI assistants, enterprise systems connecting to internal tools, and unified tool discovery platforms as intended use cases.

    Setup Path

    The package is installed from npm as @antl3x/toolrag with npm, yarn, or pnpm. The quick start initializes ToolRAG with MCP server URLs and passes the retrieved tools to an OpenAI model.

    ToolRAG - 1

    Community Discussions

    Be the first to start a conversation about ToolRAG

    Share your experience with ToolRAG, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    ToolRAG core library released under the Apache License 2.0; free to use, modify and distribute. Embedding providers (OpenAI, Google) and LLM usage are external costs.

    • Licensed under Apache License 2.0
    • Unlimited tool definitions via semantic tool retrieval
    • MCP server integration
    • OpenAI-compatible function definitions
    • LibSQL storage for tool definitions and embeddings

    Capabilities

    Key Features

    • Dynamic selection of relevant tools per query
    • Semantic tool search using vector embeddings
    • Reduced token usage by including only relevant function definitions
    • Works with MCP-compliant servers
    • Formats tools as OpenAI function definitions
    • Executes selected tools against MCP servers
    • LibSQL storage for tool definitions and embeddings
    • Multiple embedding providers (OpenAI, Google)
    • Customizable relevance thresholds
    • Database configuration for persistence

    Integrations

    Model Context Protocol (MCP)
    OpenAI
    Google
    LibSQL
    Pipedream MCP

    Ratings & Reviews

    No ratings yet

    Be the first to rate ToolRAG and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    Antonio Moura

    Software Engineer who has founded companies and led engineering teams. Building software that serve people.

    Read more about Antonio Moura
    WebsiteGitHubLinkedInX / Twitter
    1 tool in directory

    Similar Tools

    Tool Definition Quality Score (TDQS) icon

    Tool Definition Quality Score (TDQS)

    An open framework that scores how well MCP tool definitions communicate to AI agents, grading each definition across six weighted dimensions with a letter tier result.

    Pencil icon

    Pencil

    An agent-driven MCP design canvas that lives in your codebase, letting you design pixel-perfect UIs and ship production-ready code without leaving your IDE.

    MCP Inspector icon

    MCP Inspector

    A developer tool for visually testing and debugging MCP servers, featuring a React-based web UI and a Node.js proxy that bridges browser-based interaction with MCP servers.

    Browse all tools

    Related Topics

    MCP Tools

    Tools built with the Model Context Protocol for specific tasks.

    133 tools

    Retrieval-Augmented Generation

    RAG Systems that enhance LLM outputs by retrieving relevant information from external knowledge bases, combining the power of generative AI with information retrieval for more accurate and contextual responses.

    194 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    487 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions