According to Mycroft Wiki:
Mark Gatiss plays Mycroft in the 2010 BBC television series Sherlock of which he is the co-creator. In this contemporary version, Sherlock and Mycroft exhibit smouldering animosity toward each other (which Dr. Watson characterises as "sibling rivalry" and Mycroft himself refers to as a "childish feud"). Mycroft is part of the Cabinet Office, and is so powerful that he can use mass surveillance to track Sherlock.
In the beginning of the Season 4 Episode 1 (The Six Thatchers), it's shown an image of a classified notice indicating a top secret information, and the addressee: The Cabinet Office
Although in Baker Street Wiki, it's said that he has even a higher level clearence than the Cabinet Office:
Mycroft claims to merely "occupy a minor position in the government." However, according to Sherlock, he functionally is the British Government, acting as the control centre or "clearing house" for all government actions and decisions.There are signs throughout the series that Sherlock Holmes is right about Mycroft's high position in the UK Government, such as his ability to control CCTV cameras at will. He also is shown to have the ability to hack into cash machines and make them display messages he wants the user to see. "The Reichenbach Fall". Sherlock (2010). Series 2. Episode 3. BBC One.
Reflecting his high position is his priority level "Ultra" and clearance level higher than the Cabinet Office or even the Prime Minister: him and a group of peers with certain codenames are the only people to know what really happened at Appledore and doctored the footage that will go public and even managed to clear Sherlock of his crimes. He is also implied to have a great say over certain policies: the fact that the British Government stopped using freelance agents for missions after the incident in Tbilisi is his initiative. With his priority level, he has access to MI5's top secret archives.
Some details about the Cabinet Office:
The Cabinet Office is a department of the Government of the United Kingdom responsible for supporting the Prime Minister and Cabinet of the United Kingdom. It is composed of various units that support Cabinet committees and which co-ordinate the delivery of government objectives via other departments. It currently has just over 2,000 staff, most of whom work in Whitehall. Staff working in the Prime Minister's Office are part of the Cabinet Office.
The Cabinet Office's core functions are:
- Supporting the Prime Minister to define and deliver the Government’s objectives, implement political and constitutional reform, and drive forward from the centre particular cross-departmental priority issues such as public service improvement, social exclusion and the third sector;
- Supporting the Cabinet – to drive the coherence, quality and delivery of policy and operations across departments; and
- Strengthening the civil service – to ensure the civil service is organised effectively and efficiently and has the capability in terms of skills, values and leadership to deliver the Government's objectives, including ensuring value for money to the taxpayer. This also includes working with the Treasury to drive efficiency and reform across the public sector.
Other functions include oversight of the Crown Commercial Service and the accreditation of Social Impact Contractors.