WASHINGTON (AP) _ About 10,000 toy cars and 6,939 dolls are being withdrawn from the market because small parts on them could be detached and cause youngsters to choke, the Consumer Product Safety Commission said Tuesday.

The commission said the companies selling the products agreed to the voluntary recalls after the potential dangers were discovered. It said no children were known to have choked on parts from any of the products.

The announcement said McCrory Corp. of York, Pa., was recalling the approximately 10,000 model 25 ''Play Cars'' because the tires could detach and be a choking hazard. The cars, made in Argentina, were sold between Sept. 1, 1989, and Dec. 12, 1991, in stores operated under various names by McCrory.

Each set of eight yellow, red, green and blue cars sold for about $2.29. The commission said the potential hazard was discovered by the U.S. Public Interest Research Group, a consumer organization.

Jak Pak Inc. of Milwaukee is recalling its Rain or Shine Dolls, model JP 0137, because their movable arms separated when tested by the commission, the announcement said. The dolls, with removable plastic raincoats, were sold nationwide from January 1990 through December 1991 for about $2 to $3 each.

Consumers were urged to return the toys and receive a refund at the stores where the products were purchased.

The commission also said that Graco Children's Products is offering free retrofit kits to purchasers of play trays sold as accessories for Graco walker model 45537. It said Graco determined that some children might be able to remove the soft plastic ''music button'' on the tray and choke on it. Graco received 14 reports of children removing the buttons, and two of the children nearly choked, the commission said. It said there had been no reports of permanent or serious injury.

521EST