Enterprise DNA
M MCP Servers Developer low

SonAIengine/graph-tool-call

by Various

Graph-based tool retrieval for LLM agents — 248 tools → 82% accuracy, 79% fewer tokens. Zero dependencies. OpenAPI / MCP / LangChain.

S

MCP

SonAIengine/graph-tool-call

Added 1 June 2026

#agent #agentic #ai #anthropic #function-calling #hybrid-search #langchain #llm

Overview

A Python library for graph-based tool retrieval in LLM agents. It selects relevant tools from a set of up to 248 tools using a graph structure, achieving 82% accuracy while consuming 79% fewer tokens than baseline approaches. The library has zero external dependencies and supports OpenAPI, MCP, and LangChain integrations.

Best for

Best for
Developers building LLM agents that need efficient tool selection from a large tool set

Use cases

  • Selecting tools for LLM agents with minimal token overhead
  • Integrating graph-based tool retrieval into agent workflows via OpenAPI or MCP
  • Reducing context lengths when managing large tool inventories

How to use

Install

uvx graph-tool-call search "user authentication" \

Tools exposed

  • embedding-local

Tested with

Claude Code, Cursor, Windsurf, ChatGPT

Notes

A Python library for graph-based tool retrieval in LLM agents. It selects relevant tools from a set of up to 248 tools using a graph structure, achieving 82% accuracy while consuming 79% fewer tokens than baseline approaches. The library has zero external dependencies and supports OpenAPI, MCP, and LangChain integrations.

7 stars on GitHub. Last updated 2026-05-06. Licensed MIT.

Use cases

  • Selecting tools for LLM agents with minimal token overhead
  • Integrating graph-based tool retrieval into agent workflows via OpenAPI or MCP
  • Reducing context lengths when managing large tool inventories

Pros

  • Zero dependencies, lightweight and easy to embed
  • Substantial token savings (79%) without major accuracy tradeoff
  • Supports multiple standard interfaces (OpenAPI, MCP, LangChain)

Cons

  • Limited community adoption (7 GitHub stars)
  • Python-only, not available for other languages
  • 82% accuracy on 248 tools may degrade with much larger tool sets

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Zero dependencies, lightweight and easy to embed
  • Substantial token savings (79%) without major accuracy tradeoff
  • Supports multiple standard interfaces (OpenAPI, MCP, LangChain)

Cons

  • Limited community adoption (7 GitHub stars)
  • Python-only, not available for other languages
  • 82% accuracy on 248 tools may degrade with much larger tool sets

Pairs with

Other entries in the index that connect to this one. Click through to see the chain.

Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks