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 ''Franchise/StarWars'' [[ComicBook/MarvelStarWars 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'' 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 ''Literature/TwentyThreeTwelve'' 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 ''Franchise/StarWarsLegends'', 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. In the first novel, Thrawn does manage to use an Imperial Star Destroyer in direct sunlight there, but it's heavily implied to take a great deal of effort to prepare the ISD for this operation, and it needs a great deal of repair afterwards.
** Inevitably, the walkers are damaged (by an Imperial attack in the third novel, which uses smaller Dreadnaught cruisers capturing the umbrella ships), threatening to leave the city stranded until dawn catches it. Contrary to most versions of the trope, however, the threatened destruction of the base is a D-plot at best. Everyone aboard is easily evacuated after a minimum of drama (though Lando does have a few hours to worry about it before a ''New Republic'' Dreadnaught arrives behind a freshly-repaired umbrella ship), it's just Lando's [[RunningGag latest ill-starred business venture]] that's in danger. A later book revealed that the city was successfully rebuilt. [[RunningGag And then Lando lost it in a sabacc game]].
* In the Creator/AlastairReynolds [[Literature/RevelationSpaceSeries 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.]]
* Tais Teng's ''400 Graden In De Schaduw'' (400 degrees in the shade) features multiple 'walking cities' on Mercury, used to house vat-grown miners.
* ''Literature/ToTheStars'' trilogy. ''Wheelworld'' features a planet with very extreme seasons where the entire population of the colony escapes the brutal summers twice each (longer-than-Earth-normal) year by picking up and moving from one of the planet's poles to the other. This is done by jacking up the colony's main buildings on wheels, forming them up behind the colony's nuclear power plants (now transformed into enormous locomotives) and making the 12,000-mile trek to the other side of the planet.
* In ''TabletopGame/BuckRogersXXVC'' there are cities on the surface of Mercury which keep on the move to stay at the edge between day and night where the temperature is tolerable.
* There's a mission in ''VideoGame/StarcraftII'' where the local sun suddenly increases its output by 500% as a prelude to going supernova. 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.