How to Use the Inform Direct MCP in LangChain
Run multi-step UK corporate compliance chains in LangChain with live Companies House filings.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Inform Direct MCP to LangChain
Create your Vinkius account to connect Inform Direct to LangChain and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Chain compliance checks in LangChain
LangChain agents can coordinate multi-step workflows to keep your UK entities compliant via Inform Direct. Your agent triggers `get_filing_status` to pull upcoming deadlines, evaluates the results, and then calls `list_filings` to verify what actually went through. This LangChain compliance sequence runs autonomously without you needing to log into the Companies House portal manually. Every tool execution, from `list_companies` to `get_company`, is tracked in LangSmith so you can audit the exact inputs and outputs.
Automated onboarding pipelines with this MCP Server
Build ingestion pipelines that add new UK entities to your Inform Direct dashboard instantly using LangChain. The agent uses `add_company` to register the firm, then immediately invokes `list_directors` to pull the active leadership team into your local database. Using the LangChain MCP adapter means these actions happen in a single, observable execution graph. You don't write custom integration code for each endpoint, as the LangChain agent resolves dependencies between the Inform Direct tools on the fly.
Offboard entities and clean up records
Manage your entity list dynamically when clients offboard from your LangChain-driven compliance service. The agent runs `remove_company` to clean up the local Inform Direct dashboard, which keeps your active list focused on current clients. Because this action does not affect the official records at Companies House, your LangChain workflow remains safe from accidental legal deletions. The agent checks the status using `check_informdirect_status` before running any MCP commands in your LangChain pipeline.
Set up Inform Direct MCP in LangChain
Prerequisites
- Python 3.10+ installed
-
langchain-mcp-adapters+langgraphpackages - Active Vinkius subscription with a valid endpoint token
- 1
Install dependencies
Run
pip install langchain-mcp-adapters langgraph langchain-openai. The MCP adapters package converts MCP tools into native LangChainBaseToolobjects. - 2
Connect via HTTP transport
Use
MultiServerMCPClientwith"transport": "http"pointing to your Vinkius endpoint. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. - 3
Create a ReAct agent
Pass the discovered tools to
create_react_agent()from LangGraph. The agent automatically routes Inform Direct tool calls through the MCP protocol. - 4
Run with any LLM
Swap
ChatOpenAIforChatAnthropic,ChatGoogleGenerativeAI, or any LangChain-compatible model. The MCP tools work identically across all providers.
from langchain_mcp_adapters.client import MultiServerMCPClient
from langgraph.prebuilt import create_react_agent
from langchain_openai import ChatOpenAI
async with MultiServerMCPClient({
"inform-direct-mcp": {
"transport": "http",
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
}
}) as client:
tools = client.get_tools()
agent = create_react_agent(
ChatOpenAI(model="gpt-4o"),
tools,
)
result = await agent.ainvoke({
"messages": "List recent Inform Direct transactions"
})
print(result["messages"][-1].content) Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Inform Direct. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Inform Direct MCP in LangChain
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Inform Direct MCP today
We host it, we monitor it, we maintain it. You just paste one token.