Skip to main content
Glama
CloudWaddie

OSINT MCP Server

fandom_user_contributions

Retrieve user contributions from Fandom to analyze editing patterns and activity history for OSINT investigations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usernameYesFandom username
limitNoNumber of contributions to return

Implementation Reference

  • src/index.ts:424-436 (registration)
    Registration of the 'fandom_user_contributions' tool in the MCP server setup.
    server.tool(
      "fandom_user_contributions",
      { 
        username: z.string().describe("Fandom username"),
        limit: z.number().optional().default(50).describe("Number of contributions to return"),
      },
      async ({ username, limit }) => {
        const result = await fandomClient.getUserContributions(username, limit);
        return {
          content: [{ type: "text", text: JSON.stringify(result, null, 2) }],
        };
      }
    );
  • Actual implementation of the 'getUserContributions' method within the FandomApiClient class.
    async getUserContributions(username: string, limit: number = 50): Promise<any[]> {
      try {
        const data = await this.fetch<any>("", {
          method: "GET",
        }, {
          action: "query",
          list: "usercontribs",
          ucuser: username,
          uclimit: limit,
          format: "json",
        });
    
        return data.query?.usercontribs || [];
      } catch (error) {
        if (error instanceof McpError) throw error;
        throw new McpError(ErrorCode.InternalError, `Fandom Contributions error: ${(error as Error).message}`);
      }
    }

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