Sign Up For Our Newsletter
Thank you for signing up!
Something went wrong! Please try again.
© 2026 AnChain.AI. All Rights Reserved | Privacy Policy

OpenClaw, (formerly Clawdbot) an open-source personal AI agent, has gone viral—growing from 0 to 140k+ GitHub stars in months and putting agentic AI at the center of the global industry conversation. AnChain.AI team has managed to integrate the AI native AnChain.AI/Data MCP with OpenClaw, on AWS EC2 to assure reliability. This tutorial will demonstrate how to build your OpenClaw AI Agent that can serve as your expensive Anti Money Laundering compliance officer, available 24x7, Even better: start for free! Let's build! 🚀
Build an autonomous AI agent that helps AML (Anti–Money Laundering) compliance teams, cryptocurrency investigators, policy makers, and fraud-detection teams automate their workflows, like this:

FAQ:
1, Should I still read this if I’m not in AML or cryptocurrency?
Yes. Even if you’re outside financial compliance, this tutorial walks through the end-to-end process of setting up OpenClaw on AWS—the same foundational steps you’d use to build a personal AI agent for any domain or use case. And this tutorial starts free!
2, Why deploy OpenClaw on AWS EC2, not Mac Mini ?
AWS EC2 offers high reliability, secure isolation, and fintech-friendly infrastructure—and while most OpenClaw setups run on Mac minis, far fewer tutorials show how to deploy it properly on EC2 for production-style use.
https://github.com/openclaw/openclaw

In short: OpenClaw centers on a Gateway-driven Agent Runtime, where plugins like AnChain.AI Data MCP turn external intelligence into real-time, agent-native capabilities, accessible via web, CLI, and chat platforms such as Telegram.
It provides real‑time, explainable crypto‑payment intelligence that powers AML, fraud detection and sanctions screening across blockchains[1]. The API supports major blockchains and offers low‑latency responses. It also exposes a Model Context Protocol (MCP) so AI agents can ingest structured risk signals. Copy and save the API key.

Note : micro instances are extremely slow to run OpenClaw.

ssh -i path/to/key.pem ubuntu@<ec2-public-ip>
curl -fsSL https://openclaw.ai/install.sh | bash
Or, git clone the code repo and run:
npm install -g openclaw@latest
openclaw onboard --install-daemon
The installer automatically detects your OS and sets up dependencies. After installation, OpenClaw launches a Text based UI (TUI) for onboarding.
Peter Steinberger, the creator of OpenClaw, has crafted a remarkably smooth installation experience. After setup, you’ll see the following OpenClaw TUI screen in your terminal, after a few minutes:


The server exposes agent‑ready endpoints that wrap AnChain’s risk, sanctions and tracing APIs. AnChain’s Data platform provides structured wallet‑risk scores, transaction flows and sanctions exposure, and uses MCP to deliver explainable data to LLMs.
2, Enable MCPorter Skill on OpenClaw Dashboard:
MCPorter (often referred to as mcporter or moltbot/mcporter) is a TypeScript runtime, command-line interface (CLI), and code-generation toolkit designed for the Model Context Protocol (MCP).

3. Config the Anchain.ai Data MCP in OpenClaw.
The old way is the manually install via CLI, but thanks to OpenClaw and LLM, you can chat with OpenClaw dashboard in browser:
“Install https://github.com/AnChainAI/anchain-data-mcp into MCPorter using my AnChain.AI Data API key.”
OpenClaw will clone the repo, configure MCPorter, inject the API key, and bring the MCP service online automatically.
Just in case you would like to manually install it, or need to troubleshoot if OpenClaw Dashboard couldn’t install it. (happens to other tools), in appendix.
OpenClaw can be managed via the TUI or a browser‑based Control UI. The TUI is recommended for initial setup, but the Control web UI is more convenient once running.
To access the Control UI from your laptop:
On your local machine, create an SSH tunnel to the EC2 instance (adjust ports as needed):
ssh -N -L 18789:127.0.0.1:18789 ubuntu@<ec2-public-ip>
In your browser, navigate to https://localhost:18789 (or other configured port)
You should see the OpenClaw Control UI in Chrome browser on your personal computer, via SSH tunnelled to the EC2 cloud instance running OpenClaw!

Congrats 🎉 You have made it !
Now, let’s give some tasks for your 24x7 AI agent to do!
Assume you are running a fintech payment company, and you need to check if it’s safe to transact with this Bitcoin wallet address:
“Use Anchain MCP to investigation this bitcoin address: 1QJUiNsNfji6mR1FjAwf6Eg9NxxHPoxpWL”
There are 2 ways you can interact with your Ai agent. As shown, they are powered the exact same backend : OpenAI GPT5 LLM, and AnChain.AI MCP:
1, Telegram chat:

2, Web browser (via SSH tunneling)

OpenClaw AI agent answer:
“I queried AnChain’s API for the address 1QJUiNsNfji6mR1FjAwf6Eg9NxxHPoxpWL and got a risk result from AnChain.ai.
Quick summary (AnChain.ai)
Recommended next steps
”
Question: Why is this Bitcoin1QJUiNsNfji6mR1FjAwf6Eg9NxxHPoxpWL dangerous to transact with?

In case you are curious,
1QJUiNsNfji6mR1FjAwf6Eg9NxxHPoxpWL is a sanctioned bitcoin wallet address by OFAC (Office of Foreign Assets Control ), a US government agency, among one of many global intelligence databases that AnChain.AI has full integration.
https://ofac.treasury.gov/
View the transaction graph:
https://ciso.anchainai.com/s/5s1KgY4CUGr
With the AnChain.AI Data platform integrated with your OpenClaw, you can do more tasks such as:
By combining OpenClaw AI agent with institution‑grade risk signals from AnChain.AI Data, investigators and compliance teams gain a powerful assistant. OpenClaw’s conversation‑first TUI and browser UI make onboarding straightforward, while AnChain’s modular APIs and MCP feed the agent with explainable risk information in real time[3]. Running the agent on an EC2 M7i‑flex instance ensures adequate performance and stays within the free tier. Always heed security best practices—store secrets securely and isolate the agent—to reap the benefits of autonomous crypto investigation without exposing yourself to unnecessary risks.
Manually install the Anchain MCP in MCPorter:
git clone https://github.com/AnChainAI/anchain-data-mcp.git
cd anchain-data-mcp
./install.sh # install dependencies
cp .env.sample .env
ANCHAIN_DATA_API_KEY=<your-key>
PORT=8787
python main.py
Congratulations on building your OpenClaw AI agent that can conduct serious business functions! If you like this tutorial, please share on your social media!
Need help build your AML stack? Schedule a call with our experts! anchain.ai/demo
