Skip to content
LangChain

CiviCRM MCP by usefulapi for LangChain

io.usefulapi/civicrm

Work with your own CiviCRM: contacts, contributions, memberships, events; log activities.

client:LangChain transport:streamable-http tools:24

Install CiviCRM MCP by usefulapi in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "civicrm": {
            "transport": "streamable_http",
            "url": "https://civicrm.usefulapi.io/mcp",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

What LangChain can do once it is connected

CiviCRM MCP by usefulapi in other clients