Skip to content
LangChain

Codeforces for LangChain

io.github.pipeworx-io/codeforces

Codeforces competitive programming users, contests, problems

client:LangChain transport:streamable-http tools:44

Install Codeforces in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "codeforces": {
            "transport": "streamable_http",
            "url": "https://gateway.pipeworx.io/codeforces/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

All 44 tools →

Codeforces in other clients