Among the many who have been hoping against hope that Pope John Paul II would pay them some special attention on his October tour through the United States has been Sen. Edward M. Kennedy (D-Mass.).

Writing "on behalf of my family" Aug. 14, Kennedy invited the pontiff to the nearly completed John F. Kennedy Library in Boston.

But the Vatican released a detailed intinerary for the pope yesterday, and the hopes of many would-be papal hosts-- including Kennedy-- were not answered.

The schedule, which is breathtakingly tight, takes the pope from vast metropolises to a tiny rural village, from slums to the spendor of the Mall. The frenetic traveling, the expected massive adulation of the pontiff will reach a crescendo on Sunday, Oct. 7 as he stands on a graceful stage erected before the Smithsonian Castle, celebrating mass for as many as 1 million people.

But the schedule does not take him to the Kennedy Library. (Kennedy's office said yesterday there was disappointment "but also understanding" at the decision.) It does not take him to visit any of the scores of "typical American families" who have invited the pope into their homes. And it does not take him to Cleveland.

Cleveland has not given up. A spokesman for Sen. Howard M. Metzenbaum (D-Ohio) said he still hopes the pope might sandwich the city into his itinerary while flying from Chicago to Washington "if he'd just start 30 minutes earlier" in the morning.

But the pope will definitely not be visiting Pulaski County, Virginia, to honor the Polish hero of the American Revolution, or Maryland, where the roots of Anglo-American Catholicism run deepest.

According to the Vatican itinerary and church officials, Pope John Paul II will arrive in the United States at 3 p.m. Oct. 1 at Boston's Logan airport, where he will be greeted by First. Lady Rosalynn Carter. Within the afternoon, he is expected to ride in a motorcade through the city of Boston to the Cathedral of the holy Cross, and celebrate mass for several hundred thousand people on the Boston Common before retiring for the night.

At 8 a.m. Oct. 2, the pope leaves Boston for New York. U.N. Secretary General Kurt Waldheim will greet him at LaGuardia Airport, and they will go by motorcade to the United Nations, where the pope will address the General Assembly at noon. The pope will spend most of the rest of the day at the U.N., but after he leaves there in the early evening, he is still scheduled to visit St. Patrick's Cathedral and go by motorcade through Harlem and the South Bronx to Yankee Stadium.

The next morning, starting at 8 a.m., the pope will pray at St. Patrick's, go by motorcade to Madison Square Garden for a meeting with young people, deliver a major address on freedom, democracy and religious liberty in Battery Park and drive through Brooklyn to Shea Stadium before leaving for Philadelphia.

By 2 p.m. Oct. 3, the pope is expected to land in Philadelphia, where he will pray and then eat lunch at the Cathedral of Saints Peter and Paul. In the later afternoon, he is scheduled to celebrate another enormous mass at Philadelphia's Logan Circle, and, after dinner at the cardinal's residence, visit the St. Charles Seminary.

The next day, Oct. 4, Pope John Paul will pray-- and much more-- in Philadelphia. Des Moines, and Chicago. In the morning, beginning at 7:50 a.m. He uill visit the grave of St. John Neumann and a Ukrainian cathedral in Philadelphia, celebrate mass before 2,000 seminarians and leave for Iowa before noon.

When the pope arrives in Des Moines at 1 p.m., he will immediately go by helicopter to a small parish church, probably St. Patrick's Church in Irish Settlement, Iowa, which can be reached by car only after traveling several miles on dirt roads, one church official said. There, the pope will pray with the parish's families and meet with them on the church lawn.

From the tiny rural parish, the pontiff will go by helicopter to Living History Farms for the celebration of another huge mass, then head for Chicago, to arrive there at 6 p.m.

The day will not end for the energetic pope until after yet another motorcade to Holy Name Cathedral and an evening address to religious brothers at St. Peter's church in downtown Chicago marking the feast of St. Francis

On Oct. 5 in Chicago, the pope will visit a Catholic development project for the poor, celebrate a Polish mass, meet with the American bishops, then concelebrate with them and visiting foreign bishops another mass before tremendous crowds in Grant Park. Finally, after dinner, the pope will return to the Cathedral of the Holy Name for a special concert by the Chicago Symphony.

Pope John Paul will leave Chicago for Washington at 8 a.m. Oct. 6 and arrive at 10:30 a.m. at Andrews Air Force Base.

He will take a helicopter to the reflecting pool near the Lincoln Memorial, then go by motorcade to St. Matthews Cathedral where he will celebrate mass at about 11 a.m. After lunch, he will drive to the White House where he and President Carter will speak from a platform on the North Lawn at 1:30 p.m.

A private reception, an hour meeting between the pope and the president and an Oval Office picture-taking session follow before the pontiff is to proceed to the South Lawn for more speeches at 3:45 p.m.

The pope is to go to the Organization of American States briefly at 4:35 p.m., then to the apostolic delegate's residence for a diplomatic reception at 6:30.

The morning of Oct. 7 will see the pope at the National Shrine of the Immaculate Conception at 8:30 a.m. where he will address several thousand religious sisters. At 9:30 a.m. he will meet with Catholic educators and theologians at the Catholic University fieldhouse. At 10:30 a.m. the pope will pray with American protestant leaders at the Trinity University chapel nearby in Northeast Washington.

The pope will then return to the apostolic delegation for a rest, possibly a social meeting with the press and lunch, before going to the Mall at 3 p.m. where he will celebrate mass for crowds expected to range from 500,000 to 1 million people, an event expected to climax his tour. By 8 p.m. Pope John Paul is expected to leave Andrews Air Force Base to return to Rome.

The list of participants in the Mall mass includes a wide range of ethnic groups. Page B1.