MCP server
Gate402 MCP
x402 pay-per-call agent APIs: LLM inference, Base trading data, SEC filings & scraping
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.8.1
- Listing updated
- 6 days ago
About Gate402 MCP
Gate402 MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add gate402-mcp --env GATE402_API_KEY='<GATE402_API_KEY>' -- npx -y gate402-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"gate402-mcp": {
"command": "npx",
"args": [
"-y",
"gate402-mcp"
],
"env": {
"GATE402_API_KEY": "<GATE402_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"gate402-mcp": {
"command": "npx",
"args": [
"-y",
"gate402-mcp"
],
"env": {
"GATE402_API_KEY": "<GATE402_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"gate402-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"gate402-mcp"
],
"env": {
"GATE402_API_KEY": "<GATE402_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"gate402-mcp": {
"command": "npx",
"args": [
"-y",
"gate402-mcp"
],
"env": {
"GATE402_API_KEY": "<GATE402_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"gate402-mcp": {
"command": "npx",
"args": [
"-y",
"gate402-mcp"
],
"env": {
"GATE402_API_KEY": "<GATE402_API_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
GATE402_API_KEYOptional. A funded Gate402 account key to skip the free tier.GATE402_BASE_URLOptional. Override the gateway base URL (default https://gate402.app).
Pricing
Open source
Gate402 MCP FAQ
Is Gate402 MCP free?
Yes. Gate402 MCP is open source, so you can use and self-host it for free.
How do I add Gate402 MCP to Claude Code?
Run this command in your terminal: claude mcp add gate402-mcp --env GATE402_API_KEY='<GATE402_API_KEY>' -- npx -y gate402-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.