.mc
3 claimants
2 primary
1 secondary
shared primary (2)
SWH popularity
Distinct files in the full Software Heritage archive (2026-06-04 export), dated by first appearance, following Desmazières, Di Cosmo, Lorentz (MSR 2025). Case-aggregated. citation.
158.6K
total files
74.4K
first seen 2021–2025 (46.9%)
2020
median year (half its files since)
Case variants in archive: .mc (156.4K), .MC (1.3K), .mC (827), .Mc (36) — aggregated above.
Attribution status
This extension is attributed to Monkey C; Win32 Message File as primary by 2 authoritative claims.
Authoritative sources: ✓ Linguist △ Pygments · secondary ✗ Wikidata · no claim ✗ Wikipedia · no claim
Claimants (6)
Languages that list
.mc among their extensions. Strength reflects whether the upstream source treated it as their primary extension.| Language | Source | Strength |
|---|---|---|
| Monkey C | linguist | primary |
| Win32 Message File | linguist | primary |
| m4 | linguist | secondary |
| m4 | pygments | secondary |
| Monkey C | pygments | secondary |
| Win32 Message File | pygments | secondary |
Wikidata says… (2)
File formats, image formats, audio codecs and other non-PL
entities that claim
.mc on Wikidata
(property P1195) or in the Wikipedia infobox.
Source: data/derived/external_extension_index.csv.
Click Use as new PL on any row to open the
Add-PL form pre-filled with that entry's name, Wikipedia/Wikidata
URL, and this extension — one submission creates the PL + claim.
| Format | Class (Wikidata P31) | Suggested label | MIME | Notes | Action |
|---|---|---|---|---|---|
| Macrocell format Q105863854 file format | file format | — | text/plain | — | Use as new PL ↗ |
| Revolution MetaCard stack (legacy) Q105860738 file format | file format | — | — | — | Use as new PL ↗ |
Disambiguation rules (3)
Linguist heuristics that decide, by content, which language a
.mc file actually is.| Rule | Predicts | Kind | Predicates (truncated) | Measured on SWH |
|---|---|---|---|---|
h/linguist/.mc/0 | Win32 Message File | predicates | [{"kind": "any", "regexes": ["(?i)^[ \\t]*(\\/\\*\\s*)?MessageId=|^\\.$"]}] | |
h/linguist/.mc/1 | m4 | predicates | [{"kind": "any", "regexes": ["^dnl|^divert\\((?:-?\\d+)?\\)|^\\w+\\(`[^\\r\\n]*?'[),]"]}] | |
h/linguist/.mc/2 | Monkey C | predicates | [{"kind": "any", "regexes": ["\\b(?:using|module|function|class|var)\\s+\\w"]}] |
SWH-mined examples (0)
No archived examples for .mc in our local mirror yet.