Mary Hansen, MD
Mary Hansen, MD is a Psychiatry Physician in San Francisco, CA, registered under NPI 1003035007. NPPES records them as a sole proprietor, meaning the practice is not incorporated as a separate legal entity.
Getting there
Here is what surrounds this office in San Francisco, based on OpenStreetMap data collected Aug 29, 2026. Parking is available about 0.30 mi away. There is EV charging 0.48 mi from the office (EVgo) — useful if you are driving in from out of town. The nearest transit stop is 380 ft away, served by Oak Street & Franklin Street. If you arrive early, there is a coffee shop 498 ft away.
Getting here and what is nearby
Restaurant Dumpling Home 31 ft ~1 min
298 Gough Street, San Francisco 94102
Tu-Th 11:30-14:15, 17:00-20:15; Fr, Sa 11:30-14:15, 17:00-20:45
Coffee Planet Cafe 90 ft ~1 min
242 Gough Street
Transit Fell Street & Gough Street 189 ft ~1 min
Coffee Blue Bottle Coffee 251 ft ~1 min
315 Linden Street, San Francisco
Restaurant Nightbird 258 ft ~1 min
330 Gough Street, San Francisco 94102
Tu-Sa 17:00-22:00; Su-Mo off
Transit Big Bus Tours Stop 8, Fulton Street 311 ft ~2 min
Restaurant Andina 308 ft ~2 min
Transit Oak Street & Franklin Street 380 ft ~2 min
Coffee Ritual Coffee Roasters 498 ft ~2 min
Hotel Inn at Gough 460 ft ~2 min
Hotel Hayes Valley Inn 470 ft ~2 min
Convenience Nick's Super Market 674 ft ~3 min
Hotel Inn on Grove 722 ft ~3 min
Parking Performing Arts Garage 839 ft ~4 min
360 Grove Street
Convenience Grove St Market 967 ft ~4 min
Convenience Food Basket Market 986 ft ~4 min
475 Fell Street
Grocery Trader Joe's 0.26 mi ~6 min
Parking Impark 0.29 mi ~6 min
1390 Market Street, San Francisco 94102
Mo-Fr 06:00-18:00
Parking 0.30 mi ~7 min
Gas station Chevron 0.35 mi ~7 min
EV charging Tesla Supercharger 0.38 mi ~8 min
Gas station Poppy 0.41 mi ~9 min
Grocery Chef'Store 0.43 mi ~9 min
170 South Van Ness Avenue, San Francisco 94103
Mo-Sa 06:00-18:00; Su 08:00-17:00
EV charging EVgo 0.48 mi ~10 min
EV charging EVgo 0.48 mi ~10 min
Distances are straight‑line estimates — walking routes may be longer. Hours and phone numbers can change; call ahead to confirm.
Credentials and Medicare
| Licence | State | Specialty |
|---|---|---|
| G058615 | CA | Psychiatry Physician primary |
This provider holds licence G058615 issued in CA. A licence number in NPPES reflects what was filed at registration — it does not confirm the licence is still active today.
This NPI does not appear in the PECOS Medicare enrolment file. Providers who do not bill Medicare — or who bill only through a group's enrolment — will not appear here. It is not a sign of any problem with the registration.
What Psychiatry covers
A Psychiatrist specializes in the prevention, diagnosis, and treatment of mental disorders, emotional disorders, psychotic disorders, mood disorders, anxiety disorders, substance-related disorders, sexual and gender identity disorders and adjustment disorders. Biologic, psychological, and social components of illnesses are explored and understood in treatment of the whole person. Tools used may include diagnostic laboratory tests, prescribed medications, evaluation and treatment of psychological and interpersonal problems with individuals and families, and intervention for coping with stress, crises, and other problems. NUCC Health Care Provider Taxonomy, code 2084P0800X
The taxonomy records how the provider classifies their own practice. It does not confirm which conditions they currently treat, whether they are accepting new patients, or which insurance they take — call the office for that.
Full NPPES record
An NPI-1 identifies a single person. It stays with the clinician for life, even if they move practice or change state, which is why the address on file can lag behind where they actually work today.
| NPI | 1003035007 valid check digit |
|---|---|
| Entity type | Individual (NPI-1) |
| Enumeration date | Apr 25, 2007 |
| Last updated | Jul 8, 2007 |
| Status | Active |
| Sole proprietor | Yes |
| Gender | Female |
| Credential | MD |
| Practice address |
295 FELL ST SUITE A San Francisco, CA 94102 (415) 648-3291 |
Number check
How the check works, step by step
Every NPI carries a Luhn check digit — the same scheme used on credit cards. CMS prefixes the number with 80840 before computing it, which marks it as a US health identifier.
| Digit | 8 | 0 | 8 | 4 | 0 | 1 | 0 | 0 | 3 | 0 | 3 | 5 | 0 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Doubled? | — | ×2 | — | ×2 | — | ×2 | — | ×2 | — | ×2 | — | ×2 | — | ×2 |
| Value | 8 | 0 | 8 | 8 | 0 | 2 | 0 | 0 | 3 | 0 | 3 | 1 | 0 | 0 |
Sum = 33 · next multiple of 10 = 40 · check digit = 7 · actual last digit = 7
A valid check digit only means the number is well-formed. It does not mean the provider is licensed, active, or in good standing — those are separate questions answered by the sections above.