The United States has announced a record cash grant to an African country--a $30 million economic-assistance package for Kenya.

A statement issued by the U.S. Embassy here said the money had been granted following a special appeal by Kenyan President Daniel arap Moi to President Reagan.

The bulk of the grant will be used to help meet Kenya's balance of payments requirements and to finance development projects, the statement said.

The country's foreign exchange reserves have declined steadily over the past four years. Last year the International Monetary Fund granted Kenya a standby credit of 175.95 million special drawing rights to help ease payment problems.

Recent agreements by international lending and financial institutions: World Bank

* A $7 million loan from the International Bank for Reconstruction and Development and a $22 million credit from the International Development Association to Kenya. The funds will be used to build or upgrade markets, schools, and other community facilities in five towns, as well as provide construction loans for residential and small enterprises.

* Two credits from the IDA totaling $130 million to Sudan to begin a follow-up program to the nation's first Agricultural Rehabilitation Program, which will provide supplies such as fertilizer and insecticides, and spare parts for equipment and machinery used in two irrigation projects, and to rehabilitate a third irrigation system.

* A $30.1 million IBRD loan to Jamaica to promote export development by supplying exporters of nontraditional goods and producers of domestic goods needed by exporters with foreign exchange and credit. Inter-American Development Bank

* A $16.8 million loan to Guatemala to finance the fourth stage of a water supply program which will expand coverage in rural areas. This includes building 110 new rural water supply systems and rehabilitating 93 others.

* A $500,000 financing to the Dominican Republic to provide small producers engaged in agriculture, handicrafts, and running small businesses with credit needed to expand and increase production.