# How to connect Alchemy to Grok Bot

```json
{
  "title": "How to connect Alchemy to Grok Bot",
  "toolkit": "Alchemy",
  "toolkit_slug": "alchemy",
  "framework": "Grok Bot",
  "framework_slug": "grok-bot",
  "url": "https://composio.dev/toolkits/alchemy/framework/grok-bot",
  "markdown_url": "https://composio.dev/toolkits/alchemy/framework/grok-bot.md",
  "updated_at": "2026-11-24T06:01:25.502Z"
}
```

## Introduction

Grok is xAI's assistant, and its bot builder lets you create a personal agent that holds context, runs skills, and connects to the apps you already use through plugins.
This guide explains how to connect Alchemy to a Grok bot using Composio Connect, which handles OAuth, token refresh, and reliability so you do not have to. You add Composio as a plugin, authenticate once, then ask your bot to work with Alchemy in plain language.
For exact tool slugs and parameter tables, see the [tool catalog in the Composio docs](https://docs.composio.dev/toolkits/alchemy).

## Also integrate Alchemy with

- [Claude Code](https://composio.dev/toolkits/alchemy/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/alchemy/framework/claude-cowork)
- [OpenAI Agents SDK](https://composio.dev/toolkits/alchemy/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/alchemy/framework/claude-agents-sdk)
- [Codex](https://composio.dev/toolkits/alchemy/framework/codex)
- [OpenClaw](https://composio.dev/toolkits/alchemy/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/alchemy/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/alchemy/framework/atomic-agent)
- [Google ADK](https://composio.dev/toolkits/alchemy/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/alchemy/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/alchemy/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/alchemy/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/alchemy/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/alchemy/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/alchemy/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/alchemy/framework/autogen)

## TL;DR

Composio exposes 1,800+ apps to your Grok bot through a single connection, so you get:
- Connect to 1,800+ apps with on-demand tool loading, so you do not fill your context window with unnecessary tool definitions.
- Use programmatic tool calling through a remote workbench, letting the model write its own code to handle complex tool chaining. This reduces back-and-forth for frequent tool calls.
- Handle large tool responses outside the model context to keep conversations lean.

## Connect Alchemy to Grok Bot

### Connecting Alchemy to Grok Bot
Once Grok Bot is set up, you connect Alchemy entirely from its interface, and the whole flow takes under a minute.
### Set up Grok Bot
Get access. Grok Bot is included with Cursor Ultra, Cursor Premium Teams, and SuperGrok Heavy. Get the desktop app for macOS or Windows from [x.ai/bot](https://x.ai/bot) and sign in. An iPhone companion app is also available, and your bots sync across devices.
Create a bot. Pick a suggested role or define your own, then give it a short name, one primary job, and a short description of how it should work. Focused bots work best, because a clear role gives the bot more useful context over time.
### Connect Alchemy
### 1. Add the Composio plugin
Click the button. The Composio listing on x.ai opens and launches Grok Bot for you. If the app does not open on its own, click Add to Grok Bot.
[Add to Grok Bot](https://x.ai/bot/plugin/32661537)
Grok Bot opens the Composio plugin, showing its connector and skills. Click Add.
### 2. Authenticate
Go to the Installed section and click the Composio entry. You'll see its connector and skills listed.
Click Authenticate. You'll be taken to the Composio consent screen. Review the access it requests and click Authorize. Composio handles the OAuth handshake for you, so you never touch API keys or tokens.
### 3. Connect your Alchemy account
Back in the chat, ask your bot to connect to Alchemy or give it any Alchemy task.
For example, ask it to:
- "Show all NFTs owned by this wallet"
- "Get recent sales for a specific NFT collection"
- "Check ERC20 token balances for your address"
It will prompt you to authenticate and authorize access.
That's it. Composio's tools are now available in your Grok bot, and your Alchemy account is ready to use.

## What is Grok Bot?

Grok is xAI's assistant, available as a chat interface and a bot builder for creating personal agents that run skills and connect to external apps.
With Composio Connect, your Grok bot can securely access apps like Alchemy through MCP without you sharing account credentials directly with the agent.

## What is the Alchemy MCP server, and what's possible with it?

The Alchemy MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Alchemy account. It provides structured and secure access to blockchain portfolio, token, transaction, and NFT data, so your agent can inspect wallet balances, retrieve transaction history, check token prices, analyze NFTs, and identify spam contracts on your behalf.
- Wallet and token tracking: Have your agent fetch native and fungible token holdings for wallet addresses across supported blockchain networks.
- Token pricing and metadata: Let the agent retrieve current or historical token prices and look up details such as names, symbols, decimals, and logos.
- Transaction history: Direct your agent to review transaction activity for wallet addresses across supported networks.
- NFT portfolio and market research: Instruct your agent to inspect owned NFTs, collection and contract metadata, NFT sales, marketplace floor prices, and individual NFT attributes.
- Spam contract detection: Have your agent check whether an NFT contract is marked as spam by Alchemy.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `ALCHEMY_COMPUTE_RARITY_V3` | Compute NFT Rarity | Tool to compute the rarity of each attribute for a specific NFT based on its collection. Returns prevalence data for each trait, indicating how common or rare each attribute is compared to other NFTs in the same collection. Use when analyzing NFT rarity for trading decisions, collection analysis, or valuation purposes. |
| `ALCHEMY_GET_COLLECTION_METADATA` | Get NFT Collection Metadata | Get NFT collection metadata by OpenSea slug on Ethereum mainnet, including available name, description, social links, and floor price, without requiring a contract address. |
| `ALCHEMY_GET_COLLECTIONS_FOR_OWNER` | Get Collections for Owner | Tool to retrieve all NFT collections held by a specified owner address. Use when you need to get a comprehensive view of what NFT collections a wallet owns, including collection metadata, ownership counts, and spam classification. Only supported on Ethereum. Supports pagination for large collections and filtering options to include or exclude spam/airdrops. |
| `ALCHEMY_GET_CONTRACT_METADATA_BATCH_V3` | Get Contract Metadata Batch V3 | Retrieve metadata for multiple Ethereum mainnet NFT contracts in a single batch request. |
| `ALCHEMY_GET_CONTRACT_METADATA_V3` | Get Contract Metadata V3 | Get metadata for an Ethereum mainnet NFT contract, including available name, symbol, total supply, token type, deployer, deployment block, and OpenSea collection details. |
| `ALCHEMY_GET_CONTRACTS_FOR_OWNER_V3` | Get Contracts for Owner (NFT API v3) | Retrieve NFT contracts from which an Ethereum mainnet wallet holds tokens, with available contract metadata, spam classification, and OpenSea metadata. Supports pagination. |
| `ALCHEMY_GET_FLOOR_PRICE_V3` | Get NFT Floor Price | Get Ethereum mainnet NFT collection floor prices from OpenSea and LooksRare, including available price, currency, collection URL, and retrieval timestamp. Prices may be cached. |
| `ALCHEMY_GET_HISTORICAL_PRICES` | Get Historical Token Prices | Retrieves historical price data for a token over a specified time range with configurable intervals. Identify the token either by symbol (e.g., ETH, BTC) or by network and contract address. Use this to build price charts, analyze price trends, calculate historical returns, or display historical price information in your application. Important: Provide either symbol OR both network and address (not both methods simultaneously). Time range is specified with start_time and end_time (Unix timestamps or ISO 8601 strings). The interval parameter controls data point granularity (5m, 1h, or 1d). |
| `ALCHEMY_GET_NFT_CONTRACTS_BY_ADDRESS` | Get NFT Contracts By Address | Tool to retrieve NFT contracts associated with one or more wallet addresses across multiple blockchain networks. Use when you need to discover which NFT collections a wallet owns tokens from, across networks like Ethereum, Base, Polygon, Arbitrum, and Optimism. Returns contract details including metadata, spam classification, and OpenSea data. |
| `ALCHEMY_GET_NFT_METADATA` | Get NFT Metadata | Retrieves metadata for a specific NFT on Ethereum mainnet, including available contract details, media URLs, attributes, and OpenSea data. |
| `ALCHEMY_GET_NFT_METADATA_BATCH` | Get NFT Metadata Batch | Retrieves metadata for up to 100 NFTs on Ethereum mainnet in a single request, including available contract details, media URLs, attributes, and collection data. |
| `ALCHEMY_GET_NFT_SALES_V3` | Get NFT Sales V3 | Retrieves Ethereum mainnet NFT sales through on-chain marketplaces using Alchemy's v3 API, including fees and transaction details. Supports filtering by block range, marketplace, contract, token, buyer, seller, and taker role. |
| `ALCHEMY_GET_NF_TS_FOR_COLLECTION_V3` | Get NFTs for Collection V3 | Retrieves NFTs in an Ethereum mainnet collection using an OpenSea collection slug or contract address. Supports pagination and optional metadata. |
| `ALCHEMY_GET_NF_TS_FOR_CONTRACT` | Get NFTs for Contract | Retrieves NFTs for an Ethereum mainnet NFT contract, supporting ERC721 and ERC1155. Results can include token IDs, metadata, images, and attributes, with pagination for up to 100 NFTs per request. |
| `ALCHEMY_GET_NF_TS_FOR_OWNER` | Get NFTs for Owner | Retrieves NFTs owned by an address on Ethereum mainnet, supporting ERC721 and ERC1155 tokens, optional metadata, filtering, and pagination. |
| `ALCHEMY_GET_OWNERS_FOR_COLLECTION` | Get Owners for Collection | Retrieves owner addresses for an Ethereum mainnet NFT collection contract, with optional token balances per owner and pagination. Supports ownership analysis for ERC721 and ERC1155 contracts. |
| `ALCHEMY_GET_OWNERS_FOR_CONTRACT` | Get Owners for Contract | Retrieves owners of NFTs in an Ethereum mainnet contract, with optional token balances and pagination. Use for NFT holder distribution and ownership analysis. |
| `ALCHEMY_GET_OWNERS_FOR_NFTV3` | Get NFT Owners (v3) | Retrieves owner addresses for a specific Ethereum mainnet NFT using Alchemy's v3 API. |
| `ALCHEMY_GET_PORTFOLIO_NF_TS_BY_ADDRESS` | Get Portfolio NFTs By Address | Tool to fetch NFTs owned by multiple wallet addresses across different blockchain networks. Returns comprehensive NFT metadata including contract details, images, attributes, and ownership information. Use when you need to retrieve NFT portfolio data for wallets across multiple chains. |
| `ALCHEMY_GET_PRICES_BY_SYMBOL` | Get Token Prices By Symbol | Tool to get current token prices by symbol (e.g., ETH, USDC, BTC) using aggregated CEX and DEX data. Use when you need real-time cryptocurrency prices in USD or other currencies. Supports up to 25 symbols per request. Note: Response succeeds even if some tokens are missing - check the error field in each result item. |
| `ALCHEMY_GET_TOKEN_BALANCES` | Get Token Balances | This tool retrieves ERC20 token balances for a specified Ethereum address. It can either return balances for all tokens an address has ever interacted with or for a specific set of token contract addresses. It is useful for checking token balances for wallets, monitoring ERC20 token holdings, portfolio tracking, and DeFi applications. |
| `ALCHEMY_GET_TOKEN_BALANCES_BY_ADDRESS` | Get Token Balances By Address | Tool to get token balances for wallet addresses across multiple networks using Alchemy's Portfolio API. Use when you need lightweight balance checks for one or more addresses without full token metadata. Supports up to 3 address/network pairs per request with pagination for large result sets. |
| `ALCHEMY_GET_TOKEN_METADATA` | Get Token Metadata | Retrieves Ethereum mainnet ERC-20 token metadata, including available name, symbol, decimals, and logo URL, for display and token amount conversion. |
| `ALCHEMY_GET_TOKEN_PRICES_BY_ADDRESS` | Get Token Prices By Address | Retrieves current token prices by contract address and network from decentralized exchanges (DEXes). Use when you need real-time token price data for specific contract addresses across multiple networks. Price data is aggregated from DEXes only (not CEXes) and weighted by total volume. Supports up to 25 addresses per request across maximum 3 different networks. Returns price in USD by default with timestamp. Response succeeds even if some prices are unavailable. |
| `ALCHEMY_GET_TOKENS_BY_ADDRESS` | Get Tokens By Address | Tool to fetch fungible tokens (native, ERC-20, SPL) for multiple wallet addresses across networks. Returns comprehensive token information including balances, metadata (name, symbol, decimals, logo), and current prices. Use when you need complete token portfolio data for wallets across multiple chains (Ethereum, Polygon, Arbitrum, Base, Optimism, Solana, and 30+ EVM chains). Supports up to 2 addresses with 5 networks each per request, with pagination for large result sets. |
| `ALCHEMY_GET_TRANSACTION_COUNT` | Get Transaction Count | Retrieves an Ethereum mainnet address's transaction count (nonce) at a specified block tag or hexadecimal block number using eth_getTransactionCount. The count is returned in hexadecimal. |
| `ALCHEMY_GET_TRANSACTIONS_HISTORY_BY_ADDRESS` | Get Transactions History By Address | Retrieves transaction history for one wallet address across up to two networks using Alchemy's Data API. Results can include logs and internal transactions, and support pagination with a maximum of 50 transactions per request. |
| `ALCHEMY_INVALIDATE_CONTRACT_V3` | Invalidate NFT Contract Cache | Tool to invalidate the cached metadata for an NFT contract. Use when you need to force a refresh of stale or outdated NFT metadata on the next request. This is useful after contract updates or when metadata changes are expected. |
| `ALCHEMY_IS_AIRDROP` | Check If NFT Is Airdrop | Tool to check if a specific NFT token is marked as an airdrop. Use when you need to determine whether an NFT was distributed via airdrop mechanism. Returns true if the token is identified as an airdrop, false otherwise. |
| `ALCHEMY_IS_AIRDROP_NFT` | Check If NFT Is Airdrop | Check whether a specified NFT is marked as an airdrop using its contract address and token ID on Ethereum mainnet. |
| `ALCHEMY_IS_HOLDER_OF_COLLECTION` | Check Collection Ownership | Tool to check if a wallet address owns any token from a specific NFT collection. Use this when you need to verify collection ownership without retrieving full NFT details, supporting both ERC721 and ERC1155 standards. |
| `ALCHEMY_IS_HOLDER_OF_CONTRACT` | Check NFT Holder Status | Tool to check if a wallet address holds any NFTs from a specific contract. Use when you need to verify NFT ownership for access control, membership verification, or token-gating features. Supports both ERC721 and ERC1155 contracts. |
| `ALCHEMY_IS_SPAM_CONTRACT` | Check if Contract is Spam | Tool to check if an NFT contract is marked as spam by Alchemy. Use when you need to verify the legitimacy of an NFT contract before interacting with it or displaying its assets. Returns true if the contract is flagged as spam, false if it's valid or hasn't been evaluated yet. |
| `ALCHEMY_IS_SPAM_CONTRACT_V3` | Check if Contract is Spam (V3) | Tool to determine if a specific NFT contract is marked as spam by Alchemy. Use when you need to verify the legitimacy of an NFT contract address before interacting with it. Available on paid Alchemy tiers only. |
| `ALCHEMY_SEARCH_CONTRACT_METADATA_V3` | Search NFT Contract Metadata | Search Ethereum mainnet NFT contract metadata by keywords to find collections. Results may include contract addresses, names, symbols, token types, deployer information, and OpenSea metadata. |
| `ALCHEMY_SUMMARIZE_NFT_ATTRIBUTES` | Summarize NFT Attributes | Retrieves a summary of NFT attributes for an Ethereum mainnet collection, including trait value counts. Use it to analyze collection composition and build trait filters. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

Once connected, your Grok bot can access the Alchemy MCP server through Composio to run the actions you authorize, using plain language in the chat.

## Complete Code

None listed.

## Conclusion

### Way Forward
Now that Alchemy is connected, extend your setup by connecting the other apps you already use every day, so your Grok bot can run true cross-app workflows end to end.
- Connect Calendar to turn threads into scheduled meetings automatically.
- Connect Slack or Teams to post summaries, approvals, and alerts where your team works.
- Connect Notion, Linear, Jira, or Asana to convert requests into tickets, tasks, and docs.
- Connect Drive, Dropbox, or OneDrive to fetch, file, and share attachments without manual steps.
Start with one workflow you do repeatedly, then keep adding apps as you find new handoffs. With everything behind a single connection, your bot can coordinate multiple tools safely and reliably in one conversation.

## How to build Alchemy MCP Agent with another framework

- [Claude Code](https://composio.dev/toolkits/alchemy/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/alchemy/framework/claude-cowork)
- [OpenAI Agents SDK](https://composio.dev/toolkits/alchemy/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/alchemy/framework/claude-agents-sdk)
- [Codex](https://composio.dev/toolkits/alchemy/framework/codex)
- [OpenClaw](https://composio.dev/toolkits/alchemy/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/alchemy/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/alchemy/framework/atomic-agent)
- [Google ADK](https://composio.dev/toolkits/alchemy/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/alchemy/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/alchemy/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/alchemy/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/alchemy/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/alchemy/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/alchemy/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/alchemy/framework/autogen)

## Related Toolkits

- [Supabase](https://composio.dev/toolkits/supabase) - Supabase is an open-source backend platform offering scalable Postgres databases, authentication, storage, and real-time APIs. It lets developers build modern apps without managing infrastructure.
- [Codeinterpreter](https://composio.dev/toolkits/codeinterpreter) - Codeinterpreter is a Python-based coding environment with built-in data analysis and visualization. It lets you instantly run scripts, plot results, and prototype solutions inside supported platforms.
- [GitHub](https://composio.dev/toolkits/github) - GitHub is a code hosting platform for version control and collaborative software development. It streamlines project management, code review, and team workflows in one place.
- [1password](https://composio.dev/toolkits/_1password) - 1Password is a password manager and digital vault for storing logins, secrets, notes, and secure documents. It helps individuals and teams protect credentials, share access safely, and reduce password risk.
- [Ably](https://composio.dev/toolkits/ably) - Ably is a real-time messaging platform for live chat and data sync in modern apps. It offers global scale and rock-solid reliability for seamless, instant experiences.
- [Abuselpdb](https://composio.dev/toolkits/abuselpdb) - Abuselpdb is a central database for reporting and checking IPs linked to malicious online activity. Use it to quickly identify and report suspicious or abusive IP addresses.
- [Agent37](https://composio.dev/toolkits/agent37) - Agent37 is a control API for managed agent sandboxes, templates, networking, and execution. It gives teams built-in scheduling, observability, budgets, and workspace administration.
- [Algolia](https://composio.dev/toolkits/algolia) - Algolia is a hosted search API that powers lightning-fast, relevant search experiences for web and mobile apps. It helps developers deliver instant, typo-tolerant, and scalable search without complex infrastructure.
- [Anakin](https://composio.dev/toolkits/anakin_io) - Anakin is a web automation platform offering scraping, crawling, search, and browser automation. Use it to extract structured data, automate site tasks, and monitor web changes reliably.
- [Anchor browser](https://composio.dev/toolkits/anchor_browser) - Anchor browser is a developer platform for AI-powered web automation. It transforms complex browser actions into easy API endpoints for streamlined web interaction.
- [AnyAPI](https://composio.dev/toolkits/anyapi) - AnyAPI is a marketplace of utility APIs for validation, currency conversion, holidays, documents, and web data. It brings common application workflows together through one practical API platform.
- [Apiflash](https://composio.dev/toolkits/apiflash) - Apiflash is a website screenshot API for programmatically capturing web pages. It delivers high-quality screenshots on demand for automation, monitoring, or reporting.
- [Apiverve](https://composio.dev/toolkits/apiverve) - Apiverve delivers a suite of powerful APIs that simplify integration for developers. It's designed for reliability and scalability so you can build faster, smarter applications without the integration headache.
- [Appcircle](https://composio.dev/toolkits/appcircle) - Appcircle is an enterprise-grade mobile CI/CD platform for building, testing, and publishing mobile apps. It streamlines mobile DevOps so teams ship faster and with more confidence.
- [Appdrag](https://composio.dev/toolkits/appdrag) - Appdrag is a cloud platform for building websites, APIs, and databases with drag-and-drop tools and code editing. It accelerates development and iteration by combining hosting, database management, and low-code features in one place.
- [Appveyor](https://composio.dev/toolkits/appveyor) - AppVeyor is a cloud-based continuous integration service for building, testing, and deploying applications. It helps developers automate and streamline their software delivery pipelines.
- [Authyo](https://composio.dev/toolkits/authyo) - Authyo is a REST API service for passwordless authentication, OTP verification, session management, and transactional notifications. Use it to add secure login flows and user verification without building auth infrastructure from scratch.
- [AWS Marketplace MCP](https://composio.dev/toolkits/aws_marketplace_mcp) - AWS Marketplace MCP provides MCP access to AWS Marketplace's cloud software, data, and services catalog. Use it to discover, compare, and evaluate 30K+ AWS Marketplace listings faster.
- [Azure DevOps](https://composio.dev/toolkits/azure_devops) - Azure DevOps is Microsoft's platform for planning work, managing code, and delivering software. It helps development teams collaborate and ship applications with connected tools.
- [Azure Monitor Activity Log](https://composio.dev/toolkits/azure_monitor_activity_log) - Azure Monitor Activity Log is Azure's service that records management and control-plane events for a subscription. Use it to audit changes, troubleshoot issues, and track resource operations across your Azure resources.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Alchemy MCP?

With a standalone Alchemy MCP server, the agents and LLMs can only access a fixed set of Alchemy tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Alchemy and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Grok Bot?

Yes, you can. Grok Bot fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Alchemy tools.

### Can I manage the permissions and scopes for Alchemy while using Tool Router?

Yes, absolutely. You can configure which Alchemy scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Alchemy data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
