Skip to content
LangChain

Perception for LangChain

io.github.fernikolic/perception

Real-time digital asset narrative intelligence from 1,000+ curated media sources.

client:LangChain transport:streamable-http

Install Perception in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "perception": {
            "transport": "streamable_http",
            "url": "https://mcp.perception.to/mcp",
        }
})

tools = await client.get_tools()

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

Perception in other clients