mcp sam gov for LangChain
io.github.cliwant/mcp-sam-gov
Keyless-first MCP: 152 tools for US federal + state/local (SLED) contracting, spending & regulation
client:LangChain
transport:stdio
runtime:npm
Install mcp sam gov in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"mcp-sam-gov": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@cliwant/mcp-sam-gov"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs