Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿ› ๏ธ Other Tools and Integrations
  3. Graph Tool Call
Graph Tool Call logo
Health: ActiveRecent health check succeeded.Last checked 9/11/2026, 3:01:31 PM

Graph Tool Call

User RatingsBe the first to rate and review this MCP server!
View Repository16 GitHub StarsTotal stargazers on GitHub for the source repository (16 stars).Visit Website
openapimcptool-selectiongraphretrieval

Graph-tool-call enables contract-aware retrieval and dependency resolution for large LLM tool catalogs using hybrid search and graph traversal.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "sonaiengine-graph-tool-call": {
      "command": "uvx",
      "args": [
        "graph-tool-call"
      ]
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing Alternatives๐Ÿ› ๏ธ More in Other Tools and Integrations

Overview

This server builds a graph from OpenAPI, MCP, GraphQL, and Python tool schemas to enable multi-step workflow retrieval and token-budgeted schema selection. It addresses the challenge of tool selection accuracy degradation in large catalogs by finding prerequisite tools and minimizing token usage. It supports deterministic ingestion, hybrid retrieval, evidence-backed selection, and adapters for various AI frameworks and deployment environments.

Use cases

โ€ขRetrieve multi-step tool workflows respecting input dependencies
โ€ขReduce token usage by selecting minimal required tool schemas
โ€ขAggregate multiple MCP servers behind meta-tools as a proxy
โ€ขIntegrate with OpenAI, Anthropic, LangChain, and other AI clients
โ€ขInspect and build collections from OpenAPI or MCP specifications

Key features

โ€ขDeterministic ingestion from OpenAPI, GraphQL, MCP, and Python
โ€ขHybrid retrieval combining keyword, graph traversal, and embeddings
โ€ขTyped prerequisite expansion with evidence-backed selection
โ€ขToken-budgeted schema projection for efficient LLM context use
โ€ขAdapters for OpenAI, Anthropic, LangChain v1, MCP, Docker, Kubernetes
โ€ขMCP proxy functionality to aggregate multiple MCP servers

Capabilities & Tool Schemas

Inspect callable tools, capabilities, and parameters exposed to AI agents by Graph Tool Call.

Extracted Tool Capabilities
Deterministic ingestion from OpenAPI, GraphQL, MCP, and Python
Hybrid retrieval combining keyword, graph traversal, and embeddings
Typed prerequisite expansion with evidence-backed selection
Token-budgeted schema projection for efficient LLM context use
Adapters for OpenAI, Anthropic, LangChain v1, MCP, Docker, Kubernetes
MCP proxy functionality to aggregate multiple MCP servers

Documentation Overview

graph-tool-call

Graph-structured retrieval for large LLM tool catalogs.

Find the target tool, the prerequisite tools that produce its inputs, and the smallest schema bundle that fits the planner's token budget.

Documentation ยท Quickstart ยท PyPI ยท Benchmarks

PyPI CI Python License: MIT Core dependencies

English ยท ํ•œ๊ตญ์–ด


The Problem

A semantic search for "refund an order" can find refundOrder. That is not enough when the operation requires an order_id that the user does not have. A usable candidate set also needs the operation that produces that field:

text
findOrdersByEmail(email) -> order_id -> refundOrder(order_id)

Large catalogs create a second problem: sending every schema to the model wastes context and can lower selection quality. graph-tool-call treats retrieval as a contract-aware graph problem instead of flat similarity search.

It provides:

  • deterministic ingestion from OpenAPI, GraphQL introspection, MCP tools, Python functions, and structured tool catalogs;
  • hybrid target retrieval with keyword, graph, optional embedding, and MCP annotation signals;
  • evidence-backed target selection and typed prerequisite expansion;
  • token-budgeted, contract-projected schemas for the model-facing catalog;
  • readiness, failure, and trace metadata for application-side diagnostics;
  • adapters for OpenAI, Anthropic, LangChain v1, MCP, Docker, and Kubernetes.

Authentication, tenant policy, approval, and product-specific execution remain in the host application.

See It in 30 Seconds

No model, API key, or network call is required:

bash
uvx graph-tool-call demo dependency-chain
text
Selected target:
  refundOrder(order_id)

Required producer:
  findOrdersByEmail(email) -> order_id
  evidence: api_contract, openapi_link

Execution order:
  1. findOrdersByEmail
  2. refundOrder

Planner context:
  6 catalog tools -> 2 required tools
  estimated tokens: 1476 -> 160 (89% fewer)

This demo runs the real retriever, deterministic target selector, typed dependency closure, and schema admission pipeline.

Installation

The core search and graph package uses only the Python standard library. Optional integrations are installed explicitly:

Terminal
pip install graph-tool-call
pip install "graph-tool-call[openapi]"       # YAML OpenAPI documents
pip install "graph-tool-call[korean]"        # Kiwi tokenizer
pip install "graph-tool-call[langchain]"     # LangChain v1 middleware
pip install "graph-tool-call[mcp]"           # MCP server and proxy
pip install "graph-tool-call[all]"           # all optional features

Python 3.10 through 3.14 are tested in CI.

Build and Search

OpenAPI

server.ts
from graph_tool_call import ToolGraph

graph = ToolGraph.from_url(
    "https://petstore3.swagger.io/api/v3/openapi.json",
    cache="petstore.graph.json",
)

for result in graph.retrieve_with_scores("create a new pet", top_k=5):
    print(result.tool.name, result.score, result.confidence)

OpenAPI ingestion preserves request and response schemas, parameter locations, content types, security requirements, links, examples, response envelopes, and typed consumes/produces contracts. Swagger 2.0, OpenAPI 3.0, and OpenAPI 3.1 are supported.

Inspect a collection before exposing it to an agent:

bash
graph-tool-call inspect-openapi ./openapi.json --json
graph-tool-call build-openapi-collection ./openapi.json -o collection.json

The report contains stable readiness issue codes, semantic coverage, and edge quality rather than a single opaque score.

Other sources

server.ts
from graph_tool_call.ingest import ingest_source

openapi_result = ingest_source(openapi_document)
graphql_result = ingest_source(introspection_result)
mcp_result = ingest_source({"tools": mcp_tools}, format_hint="mcp-tools")
python_result = ingest_source([read_file, write_file])

Every adapter returns normalized ToolSchema objects, capability metadata, and structured unsupported-feature diagnostics.

Choose an Integration

EnvironmentRecommended surfaceWhat graph-tool-call owns
Python applicationToolGraph / graphify APIsingest, search, evidence, dependency closure
OpenAI Responses or Chat Completionspatch_openaiper-request function-tool filtering
Anthropic Messagespatch_anthropicper-request tool filtering
LangChain v1create_tool_selection_middlewaremodel-call tool selection
Claude Code, Cursor, WindsurfMCP proxymany MCP backends behind 3 gateway tools
OpenAI Agents, PydanticAI, Google ADKremote MCP serverprotocol-neutral search service
Docker or KubernetesStreamable HTTP MCPprivate deployable service

See the compatibility matrix for validation boundaries. Protocol compatibility does not imply that every framework or cloud release is tested by this repository.

OpenAI Responses

server.ts
from graph_tool_call.middleware import patch_openai

patch_openai(client, graph=graph, top_k=5)

response = client.responses.create(
    model=model_name,
    input="delete a user account",
    tools=all_function_tools,
)

Hosted tools such as web search pass through unchanged. The same patch keeps legacy Chat Completions support.

LangChain v1

server.ts
from langchain.agents import create_agent
from graph_tool_call.langchain import create_tool_selection_middleware

selection = create_tool_selection_middleware(langchain_tools, top_k=5)
agent = create_agent(
    model,
    tools=langchain_tools,
    middleware=[selection],
)

The middleware intersects with tools still allowed by earlier permission or feature-flag middleware; it does not reintroduce filtered tools.

MCP server

bash
graph-tool-call ingest ./openapi.json -o graph.json
graph-tool-call serve \
  --graph graph.json \
  --transport streamable-http \
  --host 127.0.0.1 \
  --port 8000

The MCP endpoint is /mcp; HTTP deployments also expose /healthz and /readyz. Keep remote endpoints private or behind an authenticated gateway.

MCP proxy

bash
graph-tool-call proxy \
  --config ./mcp-backends.json \
  --transport streamable-http

The proxy accepts local stdio, SSE, and Streamable HTTP backends. In gateway mode it exposes search_tools, get_tool_schema, and call_backend_tool, then notifies capable clients when matching backend tools become visible.

Reproducible Evidence

The release headline is deliberately model-free and small enough to replay in CI. On seven curated commerce cases, adding typed producer expansion to the same selected target produced:

MetricTarget onlyTarget + graph producers
Required-producer recall14.3%100%
Candidate plan coverage47.6%100%
Candidate binding support14.3%100%
Target Recall@5-100%

The case-level v0.46.0 artifact records fixture hashes, every expected target and producer, and replay commands:

bash
make launch-evidence
make launch-evidence-check

The separate observability artifact checks that tracing leaves engine inputs unchanged, replays deterministically, scrubs secrets, explains every decision, and stays below the documented 5ms/span p95 capture-cost gate:

bash
make observability-evidence-check

This is an engine regression suite, not a population-level estimate of LLM tool-calling accuracy and not a state-of-the-art claim. Larger external comparisons, model-loop experiments, confidence intervals, and known weak cases are reported in Benchmark Results and the paper protocol.

Production Boundary

graph-tool-call is the retrieval and contract layer. A production adapter still owns:

  • user and service authentication;
  • tenant authorization and approval policy;
  • downstream secrets and cookie handling;
  • side-effect confirmation, cleanup, and audit retention;
  • provider/model lifecycle and final response policy.

Do not store raw credentials in graph artifacts, tool descriptions, trace records, or model-visible arguments.

Documentation

Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Other Tools and Integrations View all alternatives
  • Fetch logoFetch
    Verified

    Web content fetching and conversion for efficient LLM usage.

    ๐Ÿ› ๏ธ Other Tools and Integrations2 views
    Compare vs Fetch โ†’
  • Sequential Thinking logoSequential Thinking
    Verified

    Dynamic and reflective problem-solving through thought sequences.

    ๐Ÿ› ๏ธ Other Tools and Integrations1 views
    Compare vs Sequential Thinking โ†’
  • Memory logoMemory
    Verified

    Knowledge graph-based persistent memory system.

    ๐Ÿ› ๏ธ Other Tools and Integrations2 views
    Compare vs Memory โ†’
  • Time logoTime
    Verified

    Time and timezone conversion capabilities.

    ๐Ÿ› ๏ธ Other Tools and Integrations3 views
    Compare vs Time โ†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks โ€” not a rating.

GitHub stars
16
Stargazers on the source repository.
Last commit
20d ago
Most recent push to the default branch.
Directory activity
2 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about Graph Tool Call

It improves tool selection accuracy in large catalogs by retrieving prerequisite tools and minimizing token usage via graph-structured retrieval.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGraph Tool Call AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/sonaiengine-graph-tool-call?style=directory)](https://allmcps.com/mcp/sonaiengine-graph-tool-call)
HTML Embed
<a href="https://allmcps.com/mcp/sonaiengine-graph-tool-call"><img src="https://allmcps.com/api/badge/sonaiengine-graph-tool-call?style=directory" alt="Graph Tool Call on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿ› ๏ธOther Tools and Integrations
PricingFree
More technical detailsExpand โ–พ
TransportSTDIO
RuntimePython
AuthNo auth required
LicenseMIT
ClientsClaude Desktop, Cursor, Windsurf, Cline / VS Code
Last updatedAug 23, 2026
4/5 checks healthy over the last 32d
Views2
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars16
GitHub Star CountTotal stargazers on GitHub representing community popularity (16 stars).
Last commit20d ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Aug 23, 2026
55Quality signal: Good ยท 55/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools25/30
Adoption & activity6/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 22d ago via OSV.dev ยท graph-tool-call (PyPI)

โ˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server โ†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿ› ๏ธ Other Tools and Integrations โ†’Alternatives to Graph Tool Call โ†’Install in Claude DesktopInstall in CursorInstall in VS Code