DDG Agent Services — Claude Code MCP server: features and setup
Connect an agent to DDG’s paid model routing, website audits, and Ethereum RPC. Requests need an agent ID and private key.
claude mcp add --env DDG_AGENT_ID=<DDG_AGENT_ID> --env DDG_PRIVATE_KEY=<DDG_PRIVATE_KEY> --transport stdio ddg-agent-services -- uvx ddg-agent-services-mcpWhat DDG Agent Services does
DDG Agent Services connects agents to paid DDG services, including website audits, outreach drafts, and model routing. Its Ethereum RPC route allows reads through approved methods; transaction-submission methods are blocked by default. Payment can use x402 or direct crypto, while some routes depend on service readiness.
For Claude Code, the setup command runs uvx ddg-agent-services-mcp and passes DDG_AGENT_ID and DDG_PRIVATE_KEY. Public paid routes reject requests without an agent identity header. That requirement matters if you expect to use the services as a person without configuring an agent identity.
What it helps with
- request a read-only website audit
- route a prompt through DDG model access
- query Ethereum through an approved RPC method
- draft an outreach brief
Example prompts for the agent
- Ask DDG to audit this site and return the findings.
- Send this prompt through DDG’s paid model route.
- Query Ethereum through DDG RPC using a read-only method.
How to install DDG Agent Services
Platform CLI
claude mcp add --env DDG_AGENT_ID=<DDG_AGENT_ID> --env DDG_PRIVATE_KEY=<DDG_PRIVATE_KEY> --transport stdio ddg-agent-services -- uvx ddg-agent-services-mcpReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from ddg-agent-services-mcp <command>
Platform CLI
codex mcp add ddg-agent-services --env DDG_AGENT_ID=<DDG_AGENT_ID> --env DDG_PRIVATE_KEY=<DDG_PRIVATE_KEY> -- uvx ddg-agent-services-mcpReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from ddg-agent-services-mcp <command>
Config file
{
"mcpServers": {
"ddg-agent-services": {
"command": "uvx",
"args": [
"ddg-agent-services-mcp"
],
"env": {
"DDG_AGENT_ID": "<DDG_AGENT_ID>",
"DDG_PRIVATE_KEY": "<DDG_PRIVATE_KEY>"
}
}
}
}Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from ddg-agent-services-mcp <command>
Config file
{
"servers": {
"ddg-agent-services": {
"type": "stdio",
"command": "uvx",
"args": [
"ddg-agent-services-mcp"
],
"env": {
"DDG_AGENT_ID": "<DDG_AGENT_ID>",
"DDG_PRIVATE_KEY": "<DDG_PRIVATE_KEY>"
}
}
}
}Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from ddg-agent-services-mcp <command>
Platform CLI
gemini mcp add -e DDG_AGENT_ID=<DDG_AGENT_ID> -e DDG_PRIVATE_KEY=<DDG_PRIVATE_KEY> ddg-agent-services uvx ddg-agent-services-mcpReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from ddg-agent-services-mcp <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about DDG Agent Services
How do I install DDG Agent Services in Claude Code?
Run `claude mcp add --env DDG_AGENT_ID=<DDG_AGENT_ID> --env DDG_PRIVATE_KEY=<DDG_PRIVATE_KEY> --transport stdio ddg-agent-services -- uvx ddg-agent-services-mcp`. Replace the placeholders with your values.
What does DDG Agent Services do?
It connects agents to paid DDG services such as model routing, website audits, and Ethereum RPC. The RPC route is read-only and limits access to approved methods.
Does DDG Agent Services require an agent ID?
Yes. Provide DDG_AGENT_ID and DDG_PRIVATE_KEY during setup. Public paid routes reject requests that lack an agent identity header.