# Table of Contents - [OpenTools | The API for LLM tool use](#opentools-the-api-for-llm-tool-use) --- # OpenTools | The API for LLM tool use ![Background gradient](/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fbg.bbd23e6b.avif&w=3840&q=100&dpl=dpl_HPnjzBsxBhuD3r97s27hyJa27UnQ) The API for tool use ==================== Access the open ecosystem of [MCP](https://modelcontextprotocol.io/introduction) tools with one line of code using our completions API that supports every LLM. Get early access curlpythontypescript `1curl -X POST https://api.opentools.com/v1/chat/completions 2-H "Authorization: Bearer " 3{ 4 "model": "google/gemini-2.0-flash-lite-001", 5 "messages": [ 6 { 7 "role": "user", 8 "content": "Help me book a 5-star hotel in the next 2 hours" 9 } 10 ], 11 "tools": [ 12 { "type": "mcp", "ref": "google-maps" } 13 ] 14}` ![OpenTools integration](/request-lifecycle.svg) One API, every tool ------------------- Browse our registry of MCP servers to augment your LLM with capabilities like web search, real-time location data, and web scraping. No personal API keys needed. [See supported MCPs](/registry?category=api) ![Exa](/exa.svg) ![Brave](/brave.svg) ![Google Maps](/google-maps.svg) ![Firecrawl](/firecrawl.svg) ![Switch LLMs seamlessly](/multi-model.svg) Switch LLMs seamlessly ---------------------- Use any LLM you want — your application stays resilient against outages. Our API is OpenAI-compatible and backwards compatible with traditional function calling. [See supported LLMs](https://opentools.com/docs/supported-models) ![Transparent pricing](/transparent-pricing.svg) Transparent pricing ------------------- You only pay for tool execution because we charge tokens at-cost, all in one unified billing portal. No more juggling multiple LLM and external service accounts. [See pricing](https://opentools.com/docs/tools-and-pricing) Frequently asked questions ### What is MCP? ### What tools can I use with this API? ### Can I add my MCP server to be one your API supports? Ready to build? --------------- Join the beta [Talk to the team](https://calendly.com/andy-opentools/15-mins-with-opentools) ---