Skip to content
LangChain

twitterapi io mcp for LangChain

io.github.dorukardahan/twitterapi-io-mcp

Offline access to TwitterAPI.io docs for AI assistants. 67 endpoints, 32 pages, 24 blog posts.

client:LangChain transport:stdio runtime:npm

Install twitterapi io mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "twitterapi-io-mcp": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "twitterapi-io-mcp"],
        }
})

tools = await client.get_tools()

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

twitterapi io mcp in other clients