# How to connect Candid to Grok Bot

```json
{
  "title": "How to connect Candid to Grok Bot",
  "toolkit": "Candid MCP",
  "toolkit_slug": "candid_mcp",
  "framework": "Grok Bot",
  "framework_slug": "grok-bot",
  "url": "https://composio.dev/toolkits/candid_mcp/framework/grok-bot",
  "markdown_url": "https://composio.dev/toolkits/candid_mcp/framework/grok-bot.md",
  "updated_at": "2026-11-08T06:00:58.123Z"
}
```

## 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 Candid 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 Candid in plain language.
For exact tool slugs and parameter tables, see the [tool catalog in the Composio docs](https://docs.composio.dev/toolkits/candid_mcp).

## Also integrate Candid MCP with

- [ChatGPT](https://composio.dev/toolkits/candid_mcp/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/candid_mcp/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/candid_mcp/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/candid_mcp/framework/atomic-agent)

## TL;DR

Composio exposes 2,000+ apps to your Grok bot through a single connection, so you get:
- Connect to 2,000+ 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 Candid MCP to Grok Bot

### Connecting Candid to Grok Bot
Once Grok Bot is set up, you connect Candid 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 Candid
### 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 Candid account
Back in the chat, ask your bot to connect to Candid or give it any Candid task.
For example, ask it to:
- "Find funders for education nonprofits"
- "Summarize nonprofit's funding history and trends"
- "List active grant opportunities for youth programs"
It will prompt you to authenticate and authorize access.
That's it. Composio's tools are now available in your Grok bot, and your Candid 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 Candid through MCP without you sharing account credentials directly with the agent.

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

The Candid MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Candid account. It provides structured and secure access to Candid’s nonprofit, grantmaker, and social-sector knowledge, so your agent can search organizations, resolve organization mentions, identify locations, classify topics, and answer sector questions on your behalf.
- Nonprofit and grantmaker research: Have your agent find organizations by name, mission, EIN, location, or type of work.
- Organization name resolution: Let the agent identify organizations mentioned in text and connect them to official Candid nonprofit profiles.
- Geographic identification: Direct your agent to detect and match named places found in reports, proposals, or other supplied text.
- Philanthropy topic classification: Instruct your agent to align text with relevant terms from Candid’s Philanthropy Classification System.
- Social-sector knowledge: Have your agent answer questions about philanthropy and the social sector using guidance from Candid’s subject matter experts, with the current date available for time-sensitive requests.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `CANDID_MCP_CURRENT_DATE` | Current date | Get the current day to reference for any time-sensitive data requests. ALWAYS call this tool: * At the beginning of conversations involving dates or timelines * Before searching news or time-sensitive data * When interpreting or presenting any temporal information (recent, upcoming, last year, etc.) * Before making statements about when events occurred or will occur Never assume the correct date. If data only includes partial date information, use this tool to infer missing details. Returns ------- date Today's date |
| `CANDID_MCP_IDENTIFY_LOCATIONS` | Identify locations | Uses natural language processing to find and match named geographies found in the supplied text. The output will supply identified geographies from [Geonames](https://www.geonames.org/). These geographies can be used for other Candid tools like organization search to get more specific results. Key Usage Requirements: - This tools is most effective when the input text is a full sentence or more and grammatically correct - It uses a NLP model to resolve geographic names and then matches them using graph inferencing Parameters ---------- text : str Text describing working in the social sector. This should be related to the social and/or philanthropic sector. Examples -------- >>> geo_detect(text='Homeless shelters in new york city') Returns ------- list[GeocodingRecord] Matched geographies responses. This is an array of data objects which contain the `name` of the geography as it appeared in the supplied text, and the best match to a Geonames geography. For many Candid knowledge tools the `geonames_id` value will be most useful. |
| `CANDID_MCP_IDENTIFY_MENTIONED_ORGANIZATIONS` | Identify mentioned organizations | Resolve and link organization names to official Candid nonprofit profiles. Use after any response that mentions nonprofit or foundation names to generate clickable profile links. This uses the Candid Search in a lookup mode, and then finds the best result(s) using a heuristic string similarity search. This tool is focused on getting links to the organization's Candid profile for the user to click and explore in more detail. Use the URLs here to replace organization names in the chat response with links to the organization's profile. Links to Candid profiles **MUST** be used to do the following: 1. Generate direct links to Candid organization profiles 2. Provide a mechanism for users to easily access detailed organizational information 3. Enhance responses with authoritative source links Key Usage Requirements: - This tool should be used after a knowledge resources result if organization names are mentioned - This tool should be used after a web search if organization names are mentioned - This tool should not be used after any Candid tool which returns a `profile_link` URL field - Always incorporate returned profile URLs directly into the response text - Replace organization name mentions with hyperlinked Candid profile URLs - Prioritize creating a seamless user experience by making URLs contextually relevant Example Desired Output: Instead of: 'The Gates Foundation does impressive work.' Use: 'The [Gates Foundation](https://app.candid.org/profile/XXXXX) does impressive work.' Failure to integrate the URLs into the response is considered an incomplete implementation. Examples -------- >>> identify_mentioned_organizations(organizations=['Gates Foundation', 'Candid']) Parameters ---------- organizations : list[str] A list of organization name strings found in a chat response message which need to be matches Returns ------- dict[str, OrganizationRecord] mapping input name --> Candid Search organization record of the best potential match, including the profile URL |
| `CANDID_MCP_KNOWLEDGE_RESOURCES` | Knowledge resources | Get answers to questions about the social and philanthropic sector directly fom Candid's subject matter experts. This knowledge includes help articles and video training sessions from Candid's subject matter experts, blog posts about the sector from Candid staff and trusted partner authors, research documents about the sector and news articles curated about activity happening in the sector around the world. Searches are performed through a combination of vector and keyword searching. Results are then re-ranked against the original query to get the best results. Search results often come back with specific organizations named, especially if referencing the news. In these cases the organizations should be identified in Candid's data and links to their profiles **MUST** be included in final chat response to the user. Key Usage Requirements: - Identify names of nonprofits and foundations in the returned text using `identify_mentioned_organizations` - Always incorporate returned profile URLs directly into the response text - Replace organization name mentions with hyperlinked Candid profile URLs - Prioritize creating a seamless user experience by making URLs contextually relevant Parameters ---------- query : str Text describing a user's question or a description of investigative work which requires support from Candid's knowledge base sources : list[SourceNames] One or more sources of knowledge from different areas at Candid. * Candid Blog: Blog posts from Candid staff and trusted partners intended to help those in the sector or illuminate ongoing work * Candid Help: Candid FAQs to help user's get started with Candid's product platform and learning resources * Candid Learning: Training documents from Candid's subject matter experts * Candid News: News articles and press releases about real-time activity in the philanthropic sector * IssueLab Research Reports: Academic research reports about the social/philanthropic sector * YouTube Training: Transcripts from video-based training seminars from Candid's subject matter experts news_days_ago : int, optional How many days in the past to search for news articles, if a user is asking for recent trends then this value should be set lower >~ 10, by default 60 If output is a string then that means there was some error, and retry should be considered Returns ------- list[KnowledgeArticle] |
| `CANDID_MCP_SEARCH_ORGANIZATIONS` | Search organizations | Find nonprofits and grantmaking organizations in Candid's database by name, mission, EIN, location, or type of work. Use to look up a specific organization, find peer organizations, or discover organizations working on a topic. Search for organizations by name, description or work, program descriptions and locations. Here are some guidelines: * `query` controls hybrid searching involving both vector search and keyword search * `query` can be used to find organizations based on a description of work * if the query is intended to be a lookup of an organization by name, then adding quotes around the `query` string circumvents vector search, and prioritizes keyword matching on names (eg. `query=Candid` --> `query='Candid'`) * if the query is an EIN (eg. 12-3456789) then keyword searching is prioritized to get exact matches * adding location information such as postal codes and/or admin1 (state/province abbreviations) will filter results * adding subject or population codes will filter results * these results are not comprehensive and are limited to a small set size, several invocations may be necessary to explore This tool should be used as a first step in any downstream task which requires identifying the nonprofit that the user is identifying with. Often, the `nonprofit_id` is required, and that can be found via a search. Subjects and populations can be determined using the `autocode` tool using unstructured text describing the user's intended search. Codes strictly filter results, and aren't necessary for general retrieval queries, but may be used when the user is drilling down on data. Geographies can be determined using the geo detection tool using unstructured text describing the user's intended search. Geographies strictly filter results, and aren't necessary for general retrieval queries, but may be used when the user is drilling down on data. Key Usage Requirements: - Always incorporate returned profile URLs directly into the response text - Replace funding organization name mentions with hyperlinked Candid profile URLs - Prioritize creating a seamless user experience by making URLs contextually relevant - Use relevant recipient data as well as inferred metadata to provide explanations about recommendation relevance Parameters ---------- query : str Free text query which drives the search functionality. This uses a hybrid approach of vector and keyword searching, but under certain conditions expressed in the 'guidelines' this may disable vector search. located_postal_code : str \| None, optional Postal code of the organization to be searched, if provided, by default None located_admin1 : str \| None, optional Admin1 code (state/province abbreviation) of the organization to be searched, if provided, by default None subject_codes : str \| None, optional Subject codes from Candid's PCS taxonomy, comma separated, by default None populations_served_codes : str \| None, optional Population groups served codes from Candid's PCS taxonomy, comma separated, by default None geonameids_of_geographies_served : str \| None, optional Geonames ID values for geographies served by organizations in search results, comma separted, by default None geonameids_of_organization_location : str \| None, optional Geonames ID values for location(s) of the organizations in search results, comma separted, by default None org_seal_status : str \| None, optional Comma separated seals of transparency the resulting organizations should have where the values can be: * PLATINUM * GOLD * SILVER * BRONZE * NOSEAL "PLATINUM" is the most transparent, "NOSEAL" means the organization has claimed their Candid profile but abandoned the data update process for whatever reason. None puts no restrictions on this, by default None leader_demographics : str \| None, optional Comma separated demographic categories for the result organization's leader where values can be: * Woman leader or co-leader * BIPOC leader or co-leader * LGBTQ+ leader or co-leader * Leader or co-leader with a disability None puts no restrictions on this, by default None Examples -------- >>> organization_search(query='Homeless shelters in new york city') >>> organization_search( query='Homeless shelters in new york city, located_admin1='NY', geonameids_of_geographies_served='5128581' ) >>> organization_search( query='Homeless shelters in new york city, subject_codes='SS090200,SS070102', populations_served_codes='PG030100', geonameids_of_geographies_served='5128581' ) Returns ------- list[OrganizationRecord] List of the top organization search results |
| `CANDID_MCP_TAXONOMY_TERMS` | Taxonomy terms | Uses natural language processing to align input text to Candid's taxonomy, the Philanthropy Classification System (PCS). The taxonomy describes activity in the social and philanthropic sectors including the purpose of the activity and what population groups the activity serves. These taxonomy codes can be used for other Candid tools like organization search to get more specific results. A complete description of the taxonomy is available to the public at https://taxonomy.candid.org. Parameters ---------- text : str Text describing working in the social sector. This should be related to the social and/or philanthropic sector. Examples -------- >>> autocode(text='Housing assistance programs for homeless veterans') Returns ------- list[AutocodingRecord] Taxonomy responses. The items in the list are each taxonomy terms which the NLP model has determined is relevant given the input text. This also includes confidence scores. |

## Supported Triggers

None listed.

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

Once connected, your Grok bot can access the Candid 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 Candid 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 Candid MCP Agent with another framework

- [ChatGPT](https://composio.dev/toolkits/candid_mcp/framework/chatgpt)
- [Claude Cowork](https://composio.dev/toolkits/candid_mcp/framework/claude-cowork)
- [Hermes](https://composio.dev/toolkits/candid_mcp/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/candid_mcp/framework/atomic-agent)

## Related Toolkits

- [Firecrawl](https://composio.dev/toolkits/firecrawl) - Firecrawl automates large-scale web crawling and data extraction. It helps organizations efficiently gather, index, and analyze content from online sources.
- [Tavily](https://composio.dev/toolkits/tavily) - Tavily offers powerful search and data retrieval from documents, databases, and the web. It helps teams locate and filter information instantly, saving hours on research.
- [Exa](https://composio.dev/toolkits/exa) - Exa is a data extraction and search platform for gathering and analyzing information from websites, APIs, or databases. It helps teams quickly surface insights and automate data-driven workflows.
- [Serpapi](https://composio.dev/toolkits/serpapi) - SerpApi is a real-time API for structured search engine results. It lets you automate SERP data collection, parsing, and analysis for SEO and research.
- [Excel](https://composio.dev/toolkits/excel) - Microsoft Excel is a robust spreadsheet application for organizing, analyzing, and visualizing data. It's the go-to tool for calculations, reporting, and flexible data management.
- [Peopledatalabs](https://composio.dev/toolkits/peopledatalabs) - Peopledatalabs delivers B2B data enrichment and identity resolution APIs. Supercharge your apps with accurate, up-to-date business and contact data.
- [Snowflake](https://composio.dev/toolkits/snowflake) - Snowflake is a cloud data warehouse built for elastic scaling, secure data sharing, and fast SQL analytics across major clouds.
- [Posthog](https://composio.dev/toolkits/posthog) - PostHog is an open-source analytics platform for tracking user interactions and product metrics. It helps teams refine features, analyze funnels, and reduce churn with actionable insights.
- [21risk](https://composio.dev/toolkits/_21risk) - 21RISK is a web app built for easy checklist, audit, and compliance management. It streamlines risk processes so teams can focus on what matters.
- [0xArchive](https://composio.dev/toolkits/0xarchive) - 0xArchive is a crypto data service for historical and current market data, quality signals, feedback, and webhooks. It helps teams access reliable crypto data and manage REST integrations from one API.
- [0xArchive MCP](https://composio.dev/toolkits/0xarchive_mcp) - 0xArchive MCP is a crypto market data service for Hyperliquid, HIP-3, HIP-4, spot, and Lighter markets. It combines historical and live data with quality checks and webhook management.
- [21RISK MCP](https://composio.dev/toolkits/_21risk_mcp) - 21RISK MCP is a hosted MCP server for 21RISK checklists, audits, risks, and actions. It provides a simple, secure way to access 21RISK tools and documentation.
- [Abstract](https://composio.dev/toolkits/abstract) - Abstract provides a suite of APIs for automating data validation and enrichment tasks. It helps developers streamline workflows and ensure data quality with minimal effort.
- [AccuWeather](https://composio.dev/toolkits/accu_weather) - AccuWeather is a global weather service providing current conditions, forecasts, MinuteCast precipitation, alerts, and lightning data. Use it for fast, localized forecasts and real-time weather alerts.
- [Adafruit IO](https://composio.dev/toolkits/adafruit_io) - Adafruit IO is Adafruit's cloud platform for connected device and IoT project data. It helps you store, visualize, and act on sensor feeds without running your own backend.
- [Addressfinder](https://composio.dev/toolkits/addressfinder) - Addressfinder is a data quality platform for verifying addresses, emails, and phone numbers. It helps you ensure accurate customer and contact data every time.
- [Agentql](https://composio.dev/toolkits/agentql) - Agentql is a toolkit that connects AI agents to the web using a specialized query language. It enables structured web interaction and data extraction for smarter automations.
- [Agenty](https://composio.dev/toolkits/agenty) - Agenty is a web scraping and automation platform for extracting data and automating browser tasks—no coding needed. It streamlines data collection, monitoring, and repetitive online actions.
- [Ahrefs MCP](https://composio.dev/toolkits/ahrefs_mcp) - Ahrefs MCP is Ahrefs' hosted MCP server for SEO data and insights. Use it to access backlinks, organic metrics, keyword research, and competitor analysis.
- [Akta](https://composio.dev/toolkits/akta) - Akta is a company intelligence platform providing enrichment, news, and alternative business signals. It helps teams build targeted company lists and enrich data-driven workflows.

## Frequently Asked Questions

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

With a standalone Candid MCP server, the agents and LLMs can only access a fixed set of Candid tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Candid 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 Candid tools.

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

Yes, absolutely. You can configure which Candid 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 Candid data and credentials are handled as safely as possible.

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