Rulebench for LangChain
com.weightship/rulebench
Test a chatbot's system prompt: find which rules each model breaks, fix the prompt and retest.
client:LangChain
transport:streamable-http
tools:9
Install Rulebench in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"rulebench": {
"transport": "streamable_http",
"url": "https://api.weightship.com/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs