Magic Insights for LangChain
ai.magicinsights/insights
Query your customer feedback: studies, themes, suggestions, tags, and sentiment trends.
client:LangChain
transport:streamable-http
Install Magic Insights in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"insights": {
"transport": "streamable_http",
"url": "https://app.magicinsights.ai/api/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs