Skip to main content
Glama
CloudWaddie

OSINT MCP Server

github_user_info

Retrieve GitHub user information for OSINT investigations by providing a username to analyze profiles, repositories, and activity data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usernameYesGitHub username

Implementation Reference

  • The handler implementation for the `github_user_info` tool.
    async getUserInfo(username: string): Promise<any> {
      try {
        return await this.fetch<any>(`users/${username}`, {
          method: "GET",
          headers: this.getHeaders(),
        });
      } catch (error) {
        if (error instanceof McpError) throw error;
        throw new McpError(ErrorCode.InternalError, `GitHub User Info error: ${(error as Error).message}`);
      }
    }
  • src/index.ts:353-360 (registration)
    Registration of the `github_user_info` tool in the main server file.
    server.tool(
      "github_user_info",
      { username: z.string().describe("GitHub username") },
      async ({ username }) => {
        const result = await ghClient.getUserInfo(username);
        return {
          content: [{ type: "text", text: JSON.stringify(result, null, 2) }],
        };

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CloudWaddie/osint-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server