Skip to content
LangChain

spainlaw for LangChain

io.github.cloudcorprecords/spainlaw

Spain legal guidance: published articles, visa routes, Beckham checks, residency and tax.

client:LangChain transport:stdio runtime:npm

Install spainlaw in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "spainlaw": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@reneturcios/spainlaw"],
        }
})

tools = await client.get_tools()

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

spainlaw in other clients