A MercurialBase is a large installation on a planet extremely close to a star--so close that direct sunlight would be lethal. As a result, the base is continually moving, to stay in either perpetual twilight or perpetual night.
More plausible versions (relatively speaking--this isn't a particularly plausible idea) often put the MercurialBase on [[CoolTrain train tracks]], and use the thermal expansion and contraction of the tracks to move the base; this only works at sunrise or sunset, which can result in added drama. Less plausible versions might move it in just about any way the author thinks is cool, and are probably more likely to try to stay near midnight, or just after sunset, to give themselves a larger safety margin.
Because of the RuleOfDrama, a MercurialBase inevitably comes along with one of two events. Either:
* some major character will get stranded on the surface, and needs to get back to the base before the sun rises, or
* the base itself will break down.
At least as applied to Mercury itself, the MercurialBase is of necessity a relatively new idea. Astronomers used to think Mercury was [[http://en.wikipedia.org/wiki/Tidal_locking tidally locked]] to the sun, with the day side constantly searing hot and the night side constantly near absolute zero. But in 1965 it was discovered that the planet is only sort-of "locked," in a 3:2 orbital resonance that gives it three days every two years. Thus came the idea that a base would have to move, slowly, in order to stay out of the sun.
This is a subtrope of BaseOnWheels.
* The future arc of ''Comicbook/ElfQuest'' has Cauldron City on the Mercury-like planet Cauldron; it runs on rails that go around the polar region of the planet, and the main characters have to save it from sabotage.
* The Star Wars comics take this UpToEleven with a way to have a base [[http://starwars.wikia.com/wiki/Kerts-Bhrg_generator INSIDE a star.]] Taking a stroll is not an option.
* ''Literature/BlueMars'' by Kim Stanley Robinson has one of these on Mercury, of the "more plausible" variety. The city of Terminator (so called because it always rests on the planet's terminator) is mounted on a pair of planet-encircling tracks. The substantial thermal expansion due to direct solar exposure causes the tracks to continuously "push" the city away from the sunrise. The viewpoint character accidentally gets trapped outside.
** Robinson also wrote a short story, a murder mystery, set on a Mercury with a city on tracks.
** Robinson also wrote a novel called ''2312'' that started on Mercury, with the city on tracks.
* ''Literature/SaturnsChildren'' by Creator/CharlesStross also has a city on tracks, following the terminator; in this case, the protagonist's enemies [[spoiler:[[ChainedToARailway tie her to the tracks]] and leave her for dead]].
* In ''Literature/TheThrawnTrilogy'' of the ''StarWars'' ExpandedUniverse, there's the mining colony of Nomad City on the planet Nkllon. The city is made of huge platforms and grounded ships, sitting on top of 40 AT-AT walkers, and it uses gigantic umbrella-like ships which protected visiting ships on the way to the planet. Without the shade of an umbrella ship, any but the toughest spacecraft would soon be melted to slag. \\
Inevitably, the walkers are damaged (by an Imperial attack), threatening to leave the city stranded until dawn catches it. Somewhat ironically, however, the threatened destruction of the base is a D-plot at best. Everyone aboard is easily evacuated after a minimum of drama, it's just Lando's [[RunningGag latest ill-starred business venture]] that's in danger. [[spoiler:It is not saved. It is quickly forgotten.]]
* In the AlastairReynolds Revelation Space book ''Absolution Gap'', the [[ChurchMilitant theocratic society]] on the ice moon of Hela relies on travelling Cathedrals, which keep pace with the moon's rotation not for environmental but for religious reasons: to keep the vanishing gas giant within sight of their zealots.
* The ''[[http://periodictableofsciencefiction.blogspot.com/ Periodic Table of Science Fiction]]'', a collection of 118 short stories inspired by the elements, includes one of these in its [[http://periodictableofsciencefiction.blogspot.com/2009/09/mercury.html mercury]] story.
* The moving city in Alexander Tjurin's space opera "Final Station is Mercury".
* There's an interesting inversion in the backstory of ''Literature/TheNightLand.'' Before the Sun died completely, there was a point cities used to move west on rails to avoid the freezing night. [[FridgeLogic It's unclear what happened when said cities reached the ocean.]]
* There's a mission in ''VideoGame/StarcraftII'' where the local sun turns into a nova. Playing the Terrans, the player has to move his base and his units to avoid the light of day which destroy units and buildings pretty quickly.
* In ''VideoGame/MassEffect2'' (Specifically, [[DownloadableContent Lair of the Shadow Broker]]), [[spoiler:the Shadow Broker's centre of operations is on a ship constantly traversing a planet at the terminator. The day side is baking hot, the night side freezes solid ten minutes after sunset, and the terminator itself is wracked by storms.]] This is actually a case of [[ShownTheirWork showing their work]], because this is ''exactly'' what would happen along the boundary of such an extreme temperature differential.