http://wiki.kolmafia.us/index.php?title=Main_Page should have your answer
What I am imagining is a system whereby mafia creates local map files of your entire clan, then changes those files according to what it finds having changed in your Clan Activity Log. That would remove hitting the server more than once per session (or once every set time period) and would also speed up any checks you run for the individual's name.
//rebuild the map
record
{
int ID;
string Type;
int Muscle;
int Myst;
int Moxie;
int TotalStats;
int Ascentions;
int HCAscentions;
int PVPscore;
string Rank;
int Karma;
} [string] CurrentRoster;
File_To_Map("ClanRoster.txt", ClanRoster);
//Test
print(ClanRoster[my_name()].ID);