It’s wonky. It’s a bunch of data and names. And it will most likely save a lot of homeless people’s lives.

For the past two years, program managers in San Francisco have been quietly crafting a system to closely track every homeless man, woman and child. The purpose is two-fold: to tailor housing, rehab and other services to them, but also to eliminate wasteful — and costly — duplication of efforts.

The idea is that by punching in a homeless client’s name, information about every health, housing, jail and counseling program that person has ever tried will come up instantly. It would give homelessness counselors and people running shelters a complete picture of whatever didn’t work, allowing them to avoid repeating those failures and figure out the next, best step.

That system’s time has finally come.

The rollout began last month for logging individuals into what’s been dubbed the One System, and counselors hope to have the entire system up and running by early 2019. So far, more than 1,000 homeless people are logged in, putting the teams well on the way toward meeting their goal of registering 2,000 by the end of October.

If all goes as planned, the city will see a drop next year in the point-in-time homeless count, which currently sits at 7,499. That drop would mean less mess in the streets, and less anguish in the lives of the people who leave them as they get routed more efficiently into housing, rehab and mental health treatment.

No one is sure how much money can be saved by eliminating wasteful efforts, and calculations will be difficult since it will involve preventing money from being spent inefficiently. But everyone involved estimates the savings will be noticeable.

“I’m really excited about this,” said Mayor London Breed, who has advocated for a better tracking system since being elected to the Board of Supervisors in 2012. “People say we need to fix the problem, get people off the street — well, it’s not that simple.”

In addition to those who became homeless after losing jobs or due to terrible luck, “people are struggling with drug addiction and mental illness, and that is a huge challenge,” she said. “This new system is important because it gives us an understanding of the big picture for what’s going on with each person.

“The trouble has always been that one person would be in one system, and another would go to get help somewhere else. And then they’d have to do a lot of different interviews with different places. Some people would give up, or not get sent to the right places. This new system addresses that.”

Tightly coordinated tracking systems have helped reduce the homeless counts in recent years in Salt Lake City, Chicago, Houston and other cities, and the top homeless policy manager in the U.S. believes it will work in San Francisco.

“It’s one of the best things you can do to use your resources in the best way possible,” said Matthew Doherty, head of the U.S. Interagency Council on Homelessness. “I am very encouraged by what San Francisco is doing, and it is long overdue. I do believe it will make a difference.”

Every homeless policy manager in San Francisco over the past 20 years has been frustrated by the lack of such a tracking system. As recently as 2016, a grand jury and San Francisco’s budget and legislative analyst both excoriated the city for not having one that worked. The challenge is immense: A system has to tie together information from 15 different databases involving departments like health, human services and others, and they have to be confidential enough to maintain client privacy.

In the early 2000s, much of what passed for the city’s tracking system was piled into sagging cardboard boxes. In 2006, the then-director of the Community Housing Partnership supportive housing program railed to The Chronicle about not having a good way to assess the most acute needs of people on the streets.

Today, that former director — Jeff Kositsky — is head of the city’s Department of Homelessness and Supportive Housing, and when he took the job two years ago creating the One System was one of his first priorities.

He started the system rollout for families late last year, and it has already helped cut families’ typical wait time for shelter spots from a week to about two days. Kositsky expects similar success for the individuals component.

That component, the biggest element of the system, by far, includes the costly and tough-to-treat contingent of a couple thousand longtime chronically homeless people. A separate log-in specifically for youth is planned for later.

“It’s really exciting to see this system coming to life,” he said. “I know it’s going to make a difference. Maybe not right away, but it will happen.”

The work of registering individuals is being conducted by Episcopal Community Services, and so far it is based at two walk-in offices called Access Points — one at 123 10th St., the other at 2111 Jennings St. Counselors are also registering clients at shelters and other locations.

After taking down identification information, they ask 17 questions designed to assess history and needs. The questions seek to find out how much violence a person has experienced, how he or she will react to shelter environments, how many mental health services the person has used in the past five years, and so on.

For people like 53-year-old James Taylor, screening could have staved off the misery that being a longtime homeless crack addict seared into him.

Taylor bounced through six different drug rehabilitation programs, each not quite calibrated to what he needed, before hitting the right one nearly two years ago. That helped him into the right living situation. Today, the former Marine lives in a supportive housing complex on Treasure Island run by Swords to Plowshares for formerly homeless military veterans like himself.

“A higher spiritual power kept me going and, finally, he put the right people into my life,” Taylor said. “I know that, in the end, it was up to me to change, but it would have been nice to not have to go through so many programs. You want people to look at you and know you are somebody, that you want to climb to a higher peak. And that’s what I finally found. It just took a while.”

One of the keys for Taylor was having counselors at Swords who more intimately understood the dynamics of a despairing veteran.

“Many veterans just give up after getting ping-ponged around,” said Janice Yee, one of Taylor’s counselors at Swords. “If they could just go to one place to get logged in and assessed, they would know what to expect and have a better chance of succeeding.”

During the log-in process for the One System, a lot of what’s done is figuring out whether problems can be solved quickly. But, mostly, having a detailed history of past efforts and a person’s frailties will allow counselors to serve those most in need, rather than those who showed up first.

“In a perfect world, there would be enough housing to immediately place everybody inside, but unfortunately there is a finite amount,” said Holly Aversano, a manager at the 10th Street Access Point. “So we need to use good listening skills, figuring out what resources you (the homeless person) already have and can use to quickly exit from homelessness.”

For now, the emphasis is on logging people in. The more vigorous placement process happens next year once the database is sufficiently filled. That can’t happen soon enough for Mickey May.

May, 34, came to the 10th Street Access Point the other day to get logged in, and as she left with her pit bull, Sassy, she shivered at the prospect of bedding down that night at a nearby gas station.

“I’ve already been in and out of a navigation center (a service-enhanced shelter), done all kinds of paperwork before, but this sounded like it might actually lead somewhere,” she said. “I hope it helps. I can’t take any more of this horrible life out here.”

Kevin Fagan is a San Francisco Chronicle staff writer. Email: kfagan@sfchronicle.com Twitter: @KevinChron