Why would METARs and ATIS both report exactly the same wind direction?
For the US
From the FAA ATC manual:

2−9−3. CONTENT

NOTE− [...] The ASOS Operator Interface Device (OID) displays the magnetic wind as “MAG WND” in the auxiliary data location in the lower left−hand portion of the screen. Other OID displayed winds are true and are not to be used for operational purposes.


Which confirms the ATIS winds are magnetic.
I just listened to KCMA ATIS, the wind reported is 10 degrees more than the METAR.
Make sure you match the ATIS and METAR times. On liveatc.net they were not the same, I had to check the METAR from aviationweather.gov to get the correct reporting time.

For Europe
It's not the same.
Both METAR and ATIS report mean wind information, for the direction, both report in true heading. ATC report is magnetic.

ATIS wind velocity is latest two minute average. The wind direction broadcast is given in degrees true.
[...]
ATC plain language ad hoc wind directions given during final approach or just prior to or during the take off roll are likely to be given in degrees magnetic.
— skybrary.aero