Gate402 MCP Server
by pgalyen1987io.github.pgalyen1987/gate402-mcpv0.8.1
MCP server for Gate402: pay-per-call agent APIs over x402. Open-model LLM inference, crypto/finance data, SEC filings and web tools. Free tier, no signup.
context tax
queued
security
queued
cold start
queued
freshness
Active20d ago
Install Gate402 MCP server
Install in Claude Code
claude mcp add gate402 -e GATE402_API_KEY='<gate402-api-key>' -- npx -y gate402-mcpInstall in Cursor
{
"mcpServers": {
"gate402": {
"command": "npx",
"args": [
"-y",
"gate402-mcp"
],
"env": {
"GATE402_API_KEY": "<gate402-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"gate402": {
"command": "npx",
"args": [
"-y",
"gate402-mcp"
],
"env": {
"GATE402_API_KEY": "<gate402-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"gate402": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"gate402-mcp"
],
"env": {
"GATE402_API_KEY": "<gate402-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"gate402": {
"command": "npx",
"args": [
"-y",
"gate402-mcp"
],
"env": {
"GATE402_API_KEY": "<gate402-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| GATE402_API_KEY | — | yes | Optional. A funded Gate402 account key to skip the free tier. |
| GATE402_BASE_URL | — | — | Optional. Override the gateway base URL (default https://gate402.app). |
Freshness
Active — last maintenance signal 20d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-19 · 21d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-09-19 · 20d ago · official registry · v0.8.1
FAQ
›How do I install the Gate402 MCP server in Claude Code?
Run: claude mcp add gate402 -e GATE402_API_KEY='<gate402-api-key>' -- npx -y gate402-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Gate402 require an API key?
Yes. It expects GATE402_API_KEY, of which 1 is a secret.
›Can I use Gate402 as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Gate402 in the official MCP registry?
Yes, as io.github.pgalyen1987/gate402-mcp.
Alternatives to Gate402
Other web search MCP servers.