This is one of the most beloved works of Rudyard Kipling. The title character is a street urchin named Kimball O'Hara (called Kim throughout the novel) who has been befriended by the Pathanhorse trader and spy Mahbub Ali. He wanders around the streets of the city of Lahore happily, mingling with all the many races, and occasionally running secret errands for Mahbub. He meets Teshoo Lama (usually called the Lama) who is Walking the Earthseeking enlightenment. Kim follows him and has adventures over a long period leading all the way to the Himalayas, where he foils a Russian and a French agent. It is left with an open ending as Kim must decide whether to continue as the Lama's disciple or become a full time spy.This novel is a formless one in plot and depends primarily on character and setting which is not unknown for Rudyard Kipling (Kipling's greatest talent was arguably in setting rather than plot). It is one of the first spy novels ever told though it was in fact something of a Genre Buster because it's focus went beyond espionage. Interestingly it captures the feel of Real Life espionage quite well. The actual nature of given missions is seldom revealed, nor is the identity of the enemy they are facing at a given time(with the exception of a Russian expedition in Shamgri-La at the end) and at first Kim doesn't even know who his own side is; which is of course what things would be like for a real spy. One of the books strengths is its beautiful cross section of life in British India.—-
The Champion: the Lama's inexperience causes Kim to be this for him.
There is a bit of calculation to this as being the disciple of a wandering seeker makes for good cover in India, a fact that Kim is well aware of. However Kim does have affection and a considerable protective instinct for the unworldly Lama. And the calculation is mainly on the part of Kim's superiors. The boy had voluntarily been the Lama's disciple before being officially involved in the spying, and to him, playing the "Great Game" and being a disciple are just different parts of himself.
Character Development: The novel is mostly about Kim's coming of age story, but the Lama also changes, becoming much more comfortable with crowded India and modern transport, travelling all over India with trains and steamships while Kim is stuck in school.
Canon Welding: the "Woman of Shamlegh" who gives Kim and the Lama sanctuary in her village is the central character of Kipling's early short-story Lispeth. (It's not very important to the plot, though if you've read the story you will get a whole new insight into the way she behaves around Kim, and why.)
It also is an example of Canon Discontinuity, as the Downer Ending to Lispeth ("in a little time, she married a woodcutter who beat her after the manner of paharis, and her beauty faded soon") is ignored and as the Woman of Shamlegh she is a woman of substance who lords it over her two husbands and would not mind making Kim her third.
Strickland, the police officer who "arrests" E23, appeared in several earlier short stories, starting with "Miss Youghal's Sais", which like "Lispeth" was collected in Plain Tales from the Hills.
Mahbub Ali(or at least a character with the same name) appears in Ballad of the Kings Jest.
Cool Gun : An ancient cannon in front of the "wonder-house" at Lahore, around which the Street Urchins play. Apparently there is a real cannon at Lahore called "Kim's Gun" for the benefit of tourists, on which Kipling based it on. According to The Quest For Kim by Peter Hopkirk this gun had a romantic history being sort of an Ancestral Weapon of the armies of several Rajahs, and had gone on a number of campaigns before it had become a museum piece.
Fish out of Water: the reaction of some British like Reverend Bennett and Father Victor when coming to the unfamiliar environment of India. On the other hand, Colonel Creighton, Strickland and Lurgan Sahib have almost gone native.
The Lama, as a Tibetan Buddhist and someone more accustomed to using Chinese than e. g. Punjabi, also is very much this, at least at the beginning of the novel, but things change, especially after he meets up with the Sahiba, a fellow Buddhist, if a lapsed one.
Getting Crap Past the Radar: Isn't Kim a child street vagrant raised by a father who is a drug addicted Shell-Shocked Veteran? If he lived today he would be taken in by child services (as he would have in the novel, if he had not been so good at avoiding the 19th century Indian version).
Also Kim does associate with prostitutes etc., at one point getting one of them to help him dye his skin by pretending to plan to seduce a very young girl, and at another point it is hinted that his fellow pupils at the school think that Creighton has a more than fatherly interest in him.
Going Native: Kim can effortlessly go native as both a Hindu and a Muslim in India.
Honey Trap : A prostitute secretly working for some unnamed Rebel Leader tries to do this to Mahbub Ali. He is too smart for them and hides the message he is carrying before she can steal it, and recount gleefully later that he could sense how frustrated she was.
Indian Political Service: It is not actually said that Kim worked for this, and it did not officially maintain large spy rings in India at the time. However he was doing the sort of work that it did.
The Espionage profession is called The Great Game, especially when the phrase is said to be inspired by chess and the main opponent is Russia.
Mighty Whitey: Subverted in that Kim, who is of British parentage, learns a lot from his European schooling, but also from his adopted homeland and the Lama, and he feels more at home being a native rather than a "Sahib" (word used to call British in India). Kim himself puts it rather snarkily while referring to a British priest.
Kim: The thin fool who looks like a camel says that I am the son of a Sahib...he thinks that once a Sahib is always a Sahib.
MultiTribal team: Played straight and quite well. Aside from the major characters which come from diverse castes people from all over India are met randomly along the road, or what not. There are no major villains and most characters come off as more or less likeable. The feeling is that India is a rainbow of castes and the British while the ruling class, are treated by the locals and perhaps even by themselves as just another caste. To a large degree this is Truth in Television, though presented in something of a Lighter and Softer manner.
The Prophecy: There are two prophecies in the novel about Kim in the book, one handed down from his father and garbled by the people who raised him, and another uttered by a Hindu priest in a village he and the Lama pass through. Both turn out to be true.
Shamgri-La: Subverted. Teshoo Lama as a former abbot of a Tibetan monastery arguably comes from there, but Kipling deals with Lamaism pretty much realistically. Towards the end of the book he and Kim travel into a different part of the Himalayas (further to the West) which does not fit the "mystical place in the mountains" stereotype. There is no Deathtrap or Tome of Eldritch Lore, it is simply another country. And the Lama receives his enlightenment only after he leaves the mountains and returns to the plains.
Teen Superspy: Kim is a moderate example. He starts off in a plausible non-super way as a Street Urchin who is used by a passing spy to carry messages for him. The only thing super about him is his ability to flawlessly enter every culture in India.
Very Loosely Based on a True Story: In the years before the book was written, a young, light-skinned, blue-eyed Indian man was charged with murder. Around his neck, the police found a leather bag which the man claimed was a charm. When the bag was opened, it proved to contain a birth certificate proving his father was an Irish soldier. The case received a fair bit of publicity, and too many details add up for it not to have been Kipling's source of inspiration.
Walking the Earth: Much of the book is about just travelling around like any other traveller.