Connect an assistant
Add the DFO to Claude, ChatGPT, Gemini, Mistral Vibe, Claude Code, Codex, or Gemini CLI so your assistant answers from DFO data and gives its sources.
To connect an agent you write in code, follow Build an agent.
The DFO MCP server URL is https://developmentfinance.org/mcp, with no slash at the end. Any assistant can connect without a DFO account or sign-in. The server uses MCP (Model Context Protocol), the standard way assistants call outside tools. Once connected, your assistant can search and fetch DFO data, run calculations, draw charts, and export files. It gives the sources of the numbers. When it exports a dataset, it returns a snapshot link to cite.
Add the DFO
- In Claude, open Customize, then Connectors.
- Click + Add, then Add custom connector.
- Enter DFO as the name, paste the server URL, and click Continue.
- Claude shows the authentication settings it detected. Click Continue.
- Under Authentication, choose No sign in, then click Add.
The connector works in Claude on the web, the desktop app, Cowork, and the mobile apps. To turn it on in a conversation, click the + button below the message box, then Connectors. On a Team or Enterprise plan, an owner adds the connector under Organization settings, then Connectors, and members connect to it.
Check that it works
Ask your assistant:
What is health spending per person in Kenya?
The assistant should show that it is calling a DFO tool, then answer with numbers whose source is World Development Indicators.
When you write a question, name the places, years, and indicator. For example, ask "Rank the ten largest providers of net ODA in 2023" or "Chart Kenya's external debt stock since 2010".
If it does not work
- If the assistant answers without using the DFO, turn the connector on for the conversation. In ChatGPT, type @ and select DFO.
- If the assistant cannot reach the server, check that the URL ends in
/mcpwith no slash after it. - If a request takes too long or fails, ask a narrower question with fewer places or a shorter period, or try again a minute later. A tool call times out after 45 seconds, and the DFO accepts at most 300 requests a minute from one IP address. Claude, ChatGPT, and Gemini call from their providers' IP addresses, so their users share that limit and a request can fail during a busy minute.
When the DFO cannot answer explains the DFO's refusals. The MCP server is the developer reference for the endpoint, its tools, the limits, and the error codes.