Skip to main content

Claude Code Setup

Add the server with the Claude Code CLI:
The default local scope makes the server available in the current project. Add --scope user to use it in every project.

Authenticate

Alternatively, run /mcp inside Claude Code, select sgai, and choose Authenticate. Either way a browser window opens: choose Continue with Google and sign in with the Google account associated with your ScrapeGraphAI account. Once the browser shows Authentication successful. Connected to sgai., return to Claude Code — the tools are ready.

With an API key instead

A request carrying an API key skips the OAuth flow, so there is no claude mcp login step.

Verify

Then ask Claude Code to run the credits tool. A balance response confirms that authentication and tool execution both work.
See the tool reference for everything the server exposes.