Skip to content
LangChain

Hacker News Mcp for LangChain

io.github.varvararatta/hacker_news_mcp

Dive into the latest and greatest from the tech world with our Hacker News MCP server.

client:LangChain transport:streamable-http

Install Hacker News Mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "hacker_news_mcp": {
            "transport": "streamable_http",
            "url": "https://hacker-news-mcp.mcpize.run/mcp",
        }
})

tools = await client.get_tools()

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

Hacker News Mcp in other clients